/* ==========================================================================
   Haven — "warm editorial" church template. Recreated 1:1 from the Church
   Studio design handoff (Newsreader serif + Hanken Grotesk, warm off-white
   canvas, charcoal dark bands). Accent is tokenized (default teal #1F4E5F,
   swappable per-tenant via brandStyle). Everything scoped to .tpl-haven so it
   never leaks into the admin, the legacy .church-site, or other templates.
   ========================================================================== */
.tpl-haven {
  /* Brand-mappable tokens (defaults = handoff values; accent overridden per-tenant). */
  --hv-accent: #1F4E5F;            /* teal (non-red starting accent) */
  --hv-accent-hover: #29657a;      /* derived; brandStyle recomputes when set */
  --hv-on-accent: #ffffff;         /* ink on the accent fill (Shell recomputes per WCAG) */
  --hv-rose: #A9CBD0;              /* soft teal — eyebrows/labels on dark (handoff's E8B4B0 role) */

  /* Fixed canvas + ink (light-canvas template — canvas never maps to brand). */
  --hv-canvas: #F6F4EF;
  --hv-alt: #EFEBE3;
  --hv-dark: #201D1A;
  --hv-ink: #201D1A;
  --hv-body: #4A443C;
  --hv-muted: #6B655C;
  --hv-faint: #7E766B;
  --hv-card: #FFFFFF;
  --hv-hair: #E6E1D8;
  --hv-cardborder: #E0DACF;
  --hv-chip-bg: #EAF1F2;
  --hv-chip-border: #D3E3E5;

  /* REQUIRED font indirection — a picked pairing overrides these three. */
  --font-disp: var(--hv-font-disp), 'Newsreader', Georgia, serif;
  --font-body: var(--hv-font-body), 'Hanken Grotesk', system-ui, sans-serif;
  --font-label: var(--hv-font-body), 'Hanken Grotesk', system-ui, sans-serif;

  background: var(--hv-canvas);
  color: var(--hv-body);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.tpl-haven *, .tpl-haven *::before, .tpl-haven *::after { box-sizing: border-box; }
.tpl-haven img { max-width: 100%; display: block; }
.tpl-haven h1, .tpl-haven h2, .tpl-haven h3, .tpl-haven h4, .tpl-haven h5 { font-weight: 400; margin: 0; }
.tpl-haven p { margin: 0; }
.tpl-haven a { text-decoration: none; }
/* Card/content anchors inherit ink; button + link classes keep their own color
   (excluded here so this rule can't out-specify the hv-btn / hv-link classes). */
.tpl-haven a:not(.hv-btn):not(.hv-link) { color: inherit; }
.tpl-haven main { display: block; }

/* Layout */
.hv-wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.hv-section { padding: 96px 0; }
.hv-band { background: var(--hv-alt); }
.hv-center { text-align: center; margin-top: 40px; }
.hv-empty { text-align: center; color: var(--hv-muted); padding: 60px 0; font-size: 18px; }
/* Designed empty state — a bordered panel so a page with no content yet still
   reads as intentional, never a bare line floating in an open band. */
.hv-emptypanel { max-width: 560px; margin: 8px auto 0; background: var(--hv-card); border: 1px solid var(--hv-cardborder); border-radius: 16px; padding: 44px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hv-emptypanel__line { font-family: var(--font-disp); font-size: 24px; line-height: 1.25; color: var(--hv-ink); max-width: 24ch; }

/* Type */
.hv-disp { font-family: var(--font-disp); font-weight: 500; letter-spacing: -0.02em; color: var(--hv-ink); line-height: 1.1; }
.hv-eyebrow { display: inline-block; font-family: var(--font-label); font-weight: 600; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--hv-accent); margin-bottom: 16px; }
.hv-eyebrow--rose { color: var(--hv-rose); }
.hv-lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.6; color: var(--hv-muted); }
.hv-body { font-size: 18px; line-height: 1.75; color: var(--hv-body); }
.hv-meta { font-size: 14px; color: var(--hv-faint); }
.hv-accentword { color: var(--hv-accent); font-weight: 500; }
.hv-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--hv-accent); transition: gap 160ms ease; }
.hv-link:hover { gap: 12px; }
.hv-link svg { width: 16px; height: 16px; }
.hv-link--sm { font-size: 14px; margin-top: 4px; }

/* Section heads */
.hv-sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.hv-sechead--stack { display: block; margin-bottom: 36px; }
.hv-sechead h2, .hv-welcome__h { font-size: clamp(30px, 4vw, 46px); }

/* Pills / chips */
.hv-pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-label); font-weight: 600; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hv-accent); background: var(--hv-chip-bg); border: 1px solid var(--hv-chip-border); padding: 7px 15px; border-radius: 999px; }
.hv-pill .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--hv-accent); }
.hv-pill--sm { font-size: 11.5px; padding: 5px 12px; margin-bottom: 12px; }
.hv-pill--clay { color: var(--hv-rose); background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); }
.hv-chip { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--hv-chip-bg); color: var(--hv-accent); margin-bottom: 18px; }
.hv-chip svg { width: 22px; height: 22px; }

/* Buttons — pill; primary accent, secondary bordered. */
.hv-btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-label); font-weight: 600; font-size: 15px; padding: 14px 28px; border-radius: 999px; cursor: pointer; border: 1.5px solid transparent; transition: opacity 160ms ease, background 160ms ease, border-color 160ms ease; }
.hv-btn svg { width: 17px; height: 17px; }
.hv-btn--solid { background: var(--hv-accent); color: var(--hv-on-accent); }
.hv-btn--solid:hover { opacity: 0.9; }
.hv-btn--ghost { border-color: #C9C1B4; color: var(--hv-ink); background: transparent; }
.hv-btn--ghost:hover { background: rgba(32,29,26,0.04); }
.hv-btn--ghost-light { border-color: rgba(255,255,255,0.55); color: #fff; background: transparent; }
.hv-btn--ghost-light:hover { background: rgba(255,255,255,0.1); }
.hv-btn--onaccent { background: #fff; color: var(--hv-accent); }
.hv-btn--onaccent:hover { opacity: 0.92; }

/* Striped media placeholders */
.hv-slot { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 220px; background: repeating-linear-gradient(45deg,#E9E5DD 0 12px,#F1EEE7 12px 24px); border: 1px solid var(--hv-cardborder); border-radius: 16px; color: #A89F90; }
.hv-slot svg { width: 34px; height: 34px; opacity: 0.5; }
.hv-dark .hv-slot { background: repeating-linear-gradient(45deg,#2b2723 0 14px,#332e29 14px 28px); border-color: rgba(255,255,255,0.08); }

/* ============================ NAV ======================================== */
.hv-nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; height: 74px; padding: 0 28px; background: rgba(246,244,239,0.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--hv-hair); }
.hv-brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.hv-brand__mono { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: var(--hv-accent); color: var(--hv-on-accent); font-family: var(--font-disp); font-weight: 600; font-size: 20px; }
.hv-brand__name { font-family: var(--font-disp); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; color: var(--hv-ink); }
.hv-brand .hv-brand__logo { height: 52px; width: auto; max-width: min(360px, 42vw); object-fit: contain; }
@media (max-width: 640px) { .hv-brand .hv-brand__logo { height: 40px; } }
.hv-navtoggle { display: none; background: none; border: 0; color: var(--hv-ink); cursor: pointer; padding: 6px; }
.hv-navlinks { display: flex; align-items: center; gap: 30px; }
.hv-navlinks a:not(.hv-btn) { font-weight: 500; font-size: 15px; color: var(--hv-body); transition: color 140ms; }
.hv-navlinks a:not(.hv-btn):hover { color: var(--hv-ink); }
.hv-navlinks a.active { color: var(--hv-accent); font-weight: 700; }
.hv-live { display: inline-flex; align-items: center; gap: 7px; }
.hv-live__dot { width: 8px; height: 8px; border-radius: 999px; background: var(--hv-accent); box-shadow: 0 0 0 4px rgba(31,78,95,0.16); }
.hv-navcta { padding: 10px 22px !important; }

/* ============================ FOOTER ===================================== */
.hv-footer { background: #1B1815; color: #CFC9BF; padding: 72px 0 108px; }
.hv-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.hv-footer__brand { max-width: 320px; }
.hv-footer__mono { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9px; background: var(--hv-accent); color: var(--hv-on-accent); font-family: var(--font-disp); font-weight: 600; font-size: 19px; margin-bottom: 16px; }
.hv-footer__name { display: block; font-family: var(--font-disp); font-weight: 600; font-size: 22px; color: #F3EFE8; }
.hv-footer__brand p { margin-top: 12px; font-size: 14.5px; line-height: 1.7; color: #9A9285; }
.hv-footer__sundays { margin-top: 14px; font-size: 14px; line-height: 1.9; color: #9A9285; }
.hv-footer__social { display: flex; gap: 10px; margin-top: 18px; }
.hv-footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.16); color: #CFC9BF; }
.hv-footer__social a:hover { border-color: var(--hv-accent); color: #fff; }
.hv-footer__social svg { width: 17px; height: 17px; }
.hv-footer__col h5 { font-family: var(--font-label); font-weight: 600; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #7E766B; margin-bottom: 16px; }
.hv-footer__col a:not(.hv-btn) { display: block; font-size: 14.5px; color: #CFC9BF; padding: 5px 0; }
.hv-footer__col a:not(.hv-btn):hover { color: #fff; }
.hv-footer__give { font-size: 14px; color: #9A9285; line-height: 1.7; margin-bottom: 16px; }
.hv-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px; color: #7E766B; }
.hv-footer__bottom a { color: #9A9285; }
.hv-footer__links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ============================ ANNOUNCE =================================== */
/* Pinned group: bar + nav ride together so the message survives a scroll. */
.hv-topstick { position: sticky; top: 0; z-index: 50; }
.hv-annbar { background: var(--hv-accent); color: var(--hv-on-accent); }
.hv-annbar__inner { display: flex; align-items: center; justify-content: center; gap: 12px; max-width: 1200px; margin: 0 auto; padding: 11px 28px; font-size: 14px; }
.tpl-haven a.hv-annbar__inner { color: inherit; }
.hv-annbar__inner--link:hover .hv-annbar__go { text-decoration-thickness: 2px; }
.hv-annbar__dot { width: 7px; height: 7px; border-radius: 999px; background: currentColor; opacity: 0.8; }
.hv-annbar__go { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ============================ HERO (home) ================================ */
.hv-hero { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.hv-hero__img { position: absolute; inset: 0; z-index: 0; }
.hv-hero__img img, .hv-hero__img .hv-slot { width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; min-height: 640px; }
.hv-hero::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(32,29,26,0.82) 0%, rgba(32,29,26,0.55) 42%, rgba(32,29,26,0.12) 100%); }
.hv-hero__copy { position: relative; z-index: 2; max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 28px; color: #F3EFE8; }
.hv-hero__copy .hv-eyebrow { color: var(--hv-rose); }
.hv-hero__h { font-size: clamp(42px, 6vw, 76px); line-height: 1.02; color: #fff; max-width: 16ch; }
.hv-hero__copy .hv-lead { color: rgba(243,239,232,0.8); max-width: 44ch; margin-top: 20px; }
.hv-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hv-hero__meta { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 34px; font-size: 14px; color: rgba(243,239,232,0.75); }
.hv-hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hv-hero__meta svg { width: 16px; height: 16px; }

/* Interior page header */
.hv-pagehead { padding: 108px 0 72px; }
.hv-pagehead h1 { font-size: clamp(38px, 5.5vw, 64px); line-height: 1.04; max-width: 18ch; }
.hv-pagehead .hv-lead { margin-top: 18px; }
.hv-pagehead--plain { background: var(--hv-canvas); text-align: left; padding: 100px 0 24px; }
.hv-pagehead--plain h1 { font-size: clamp(44px, 6.5vw, 86px); line-height: 1.0; letter-spacing: -0.025em; max-width: 14ch; }
.hv-pagehead--plain .hv-lead { margin-top: 18px; }

/* ============================ WELCOME + STATS ============================ */
.hv-welcome__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hv-welcome__h { margin-bottom: 0; }
.hv-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.hv-stat { border-top: 2px solid var(--hv-accent); padding-top: 16px; }
.hv-stat strong { display: block; font-family: var(--font-disp); font-weight: 500; font-size: 40px; color: var(--hv-ink); line-height: 1; }
.hv-stat span { font-size: 14px; color: var(--hv-muted); }
/* welcome photo (right column) — 4:5, striped placeholder when empty */
.hv-welcome__photo { aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; }
.hv-welcome__photo img { width: 100%; height: 100%; object-fit: cover; }
.hv-welcome__photo .hv-slot { min-height: 0; height: 100%; border-radius: 16px; }

/* ============================ DARK BAND / SPOTLIGHT ====================== */
.hv-dark { background: var(--hv-dark); color: #E7E2D9; }
.hv-dark .hv-disp { color: #F3EFE8; }
.hv-dark .hv-eyebrow { color: var(--hv-rose); }
.hv-dark .hv-lead, .hv-dark p { color: rgba(231,226,217,0.72); }
.hv-spotlight { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.hv-spotlight--lg { grid-template-columns: 1fr; }
.hv-spotlight__img { position: relative; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; }
.hv-spotlight__img img { width: 100%; height: 100%; object-fit: cover; }
.hv-spotlight__img .hv-slot { min-height: 0; height: 100%; border-radius: 16px; }
.hv-spotlight__info h3 { font-size: clamp(26px, 3vw, 36px); margin: 12px 0; }
.hv-spotlight__desc { margin: 4px 0 0; max-width: 48ch; font-size: 16px; line-height: 1.7; }
.hv-playbtn { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 66px; height: 66px; border-radius: 999px; background: rgba(255,255,255,0.92); color: var(--hv-accent); display: flex; align-items: center; justify-content: center; }
.hv-playbtn svg { width: 26px; height: 26px; }
.hv-playbtn--sm { width: 46px; height: 46px; }
.hv-playbtn--sm svg { width: 18px; height: 18px; }

/* ============================ GRIDS / CARDS ============================== */
.hv-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.hv-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hv-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.hv-valuecard { background: var(--hv-card); border: 1px solid var(--hv-cardborder); border-radius: 16px; padding: 30px; }
.hv-dark .hv-valuecard { background: #2A2622; border-color: rgba(255,255,255,0.16); }
.hv-valuecard h4 { font-size: 21px; margin-bottom: 10px; }
.hv-valuecard p { font-size: 15.5px; color: var(--hv-muted); }
.hv-dark .hv-valuecard p { color: rgba(231,226,217,0.7); }

.hv-mingrid { }
.hv-mincard { display: block; background: var(--hv-card); border: 1px solid var(--hv-cardborder); border-radius: 16px; padding: 30px; transition: border-color 160ms, transform 160ms; }
.hv-mincard:hover { border-color: var(--hv-accent); transform: translateY(-3px); }
.hv-mincard h4 { font-size: 22px; margin-bottom: 8px; }
.hv-mincard p { font-size: 15px; color: var(--hv-muted); margin-bottom: 14px; }
/* Ministries page: large image-topped cards — no panel chrome, just a rounded
   photo tile with the copy stacked beneath (handoff Ministries). */
.hv-mincard--lg { padding: 0; overflow: visible; background: transparent; border: 0; border-radius: 0; }
.hv-mincard--lg:hover { transform: translateY(-3px); }
.hv-mincard--lg .hv-mincard__photo { aspect-ratio: 16/10; border: 1px solid var(--hv-cardborder); border-radius: 16px; overflow: hidden; margin-bottom: 22px; transition: border-color 160ms; }
.hv-mincard--lg:hover .hv-mincard__photo { border-color: var(--hv-accent); }
.hv-mincard--lg .hv-mincard__photo img { width: 100%; height: 100%; object-fit: cover; }
.hv-mincard--lg .hv-mincard__photo .hv-slot { min-height: 0; height: 100%; border-radius: 16px; border: 0; }
.hv-mincard--lg .hv-mincard__body { padding: 0; }
.hv-mincard--lg h4 { font-size: 28px; margin-bottom: 10px; }
.hv-mincard--lg p { font-size: 16px; line-height: 1.7; color: var(--hv-body); margin-bottom: 16px; }
/* Home "You belong here" — square (1:1) photo tile + title + blurb, borderless
   card, media border→accent on hover (no lift, per mandate §2.5). */
.hv-belongcard { display: block; }
.hv-belongcard__photo { aspect-ratio: 1 / 1; border: 1px solid var(--hv-cardborder); border-radius: 14px; overflow: hidden; margin-bottom: 18px; transition: border-color 160ms; }
.hv-belongcard:hover .hv-belongcard__photo { border-color: var(--hv-accent); }
.hv-belongcard__photo img { width: 100%; height: 100%; object-fit: cover; }
.hv-belongcard__photo .hv-slot { min-height: 0; height: 100%; border-radius: 14px; border: 0; }
.hv-belongcard h4 { font-size: 19px; margin-bottom: 8px; }
.hv-belongcard p { font-size: 15px; line-height: 1.6; color: var(--hv-muted); }

/* Event cards */
.hv-evcard { display: block; background: var(--hv-card); border: 1px solid var(--hv-cardborder); border-radius: 16px; overflow: hidden; transition: border-color 160ms, transform 160ms; }
.hv-evcard:hover { border-color: var(--hv-accent); transform: translateY(-3px); }
.hv-evcard__photo { position: relative; aspect-ratio: 4/3; }
.hv-evcard--group .hv-evcard__photo { aspect-ratio: 16/10; }
.hv-evcard__photo img { width: 100%; height: 100%; object-fit: cover; }
.hv-evcard__photo .hv-slot { min-height: 0; height: 100%; border: 0; border-radius: 0; }
.hv-tagchips { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.hv-tagchip { font-family: var(--font-label); font-weight: 600; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: rgba(32,29,26,0.68); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); padding: 5px 10px; border-radius: 999px; }
.hv-datebadge { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; align-items: center; background: var(--hv-card); border-radius: 10px; padding: 7px 12px; line-height: 1; box-shadow: 0 6px 16px -8px rgba(32,29,26,0.4); }
.hv-datebadge .m { font-family: var(--font-label); font-weight: 700; font-size: 11px; letter-spacing: 0.08em; color: var(--hv-accent); }
.hv-datebadge .d { font-family: var(--font-disp); font-weight: 600; font-size: 22px; color: var(--hv-ink); }
.hv-datebadge--corner { top: 16px; right: 16px; }
.hv-evcard__body { padding: 22px 24px 26px; }
.hv-evcard__body h4 { font-size: 21px; margin-bottom: 12px; }
.hv-detailbox { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.hv-detailbox .row { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--hv-muted); }
.hv-detailbox .row svg { width: 16px; height: 16px; color: var(--hv-accent); flex: none; }
.hv-detailbox .row--note { color: var(--hv-faint); }
.hv-evcard__cta { margin-top: 4px; }

/* Steps (numbered) */
.hv-stepcard { position: relative; padding: 34px 30px 30px; background: var(--hv-card); border: 1px solid var(--hv-cardborder); border-radius: 16px; }
.hv-stepcard .n { font-family: var(--font-disp); font-weight: 500; font-size: 18px; color: var(--hv-accent); border: 1.5px solid var(--hv-chip-border); width: 44px; height: 44px; border-radius: 999px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.hv-stepcard h4 { font-size: 20px; margin-bottom: 8px; }
.hv-stepcard p { font-size: 15px; color: var(--hv-muted); }

/* Give band */
.hv-giveband { background: var(--hv-accent); color: var(--hv-on-accent); text-align: center; padding: 88px 0; }
.hv-giveband .hv-wrap { max-width: 760px; }
.hv-giveband__h { color: #fff; font-size: clamp(30px, 4vw, 46px); margin: 14px 0 16px; }
.hv-giveband p { color: rgba(255,255,255,0.85); font-size: 18px; margin-bottom: 28px; }
.hv-giveband .hv-pill--clay { color: #fff; }

/* Location + map */
.hv-location { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.hv-location__rows { display: flex; flex-direction: column; gap: 12px; margin: 20px 0 28px; }
.hv-location__rows .row { display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--hv-body); }
.hv-location__rows .row svg { width: 18px; height: 18px; color: var(--hv-accent); }
.hv-map { aspect-ratio: 16/10; border-radius: 20px; background: repeating-linear-gradient(45deg,#E9E5DD 0 12px,#F1EEE7 12px 24px); border: 1px solid var(--hv-cardborder); }

/* Newsletter dark panel */
.hv-news { padding: 40px 0 96px; }
.hv-news .hv-wrap { background: var(--hv-dark); border-radius: 20px; padding: 56px; text-align: center; }
.hv-news h3 { font-family: var(--font-disp); font-weight: 500; font-size: clamp(26px, 3vw, 36px); color: #F3EFE8; margin-bottom: 12px; }
.hv-news p { color: rgba(231,226,217,0.7); max-width: 46ch; margin: 0 auto 24px; }
.hv-news__form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Form fields (template shows inert placeholders; build wires real inputs) */
.hv-field { display: inline-flex; align-items: center; min-width: 240px; padding: 14px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--hv-cardborder); color: var(--hv-faint); font-size: 15px; text-align: left; }
.hv-dark .hv-field, .hv-news .hv-field { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); color: rgba(231,226,217,0.6); }
.hv-field--area { min-height: 110px; align-items: flex-start; width: 100%; }

/* About: story two-col, team, cta */
.hv-two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hv-two__media { aspect-ratio: 1/1; border-radius: 16px; overflow: hidden; }
.hv-two__media img { width: 100%; height: 100%; object-fit: cover; }
.hv-two__media .hv-slot { min-height: 0; height: 100%; border-radius: 16px; }
.hv-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hv-teamcard { display: block; text-align: left; }
.hv-avatar { aspect-ratio: 3/4; border-radius: 16px; overflow: hidden; background: var(--hv-chip-bg); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.hv-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hv-avatar span { font-family: var(--font-disp); font-weight: 500; font-size: 34px; color: var(--hv-accent); }
.hv-teamcard h4 { font-size: 21px; margin-bottom: 2px; }
.hv-teamcard .hv-meta { color: var(--hv-accent); font-weight: 600; font-size: 14px; }

/* Sermons: series cards + recent list */
.hv-seriescard { display: block; }
.hv-seriescard__art { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; margin-bottom: 14px; }
.hv-seriescard__art img { width: 100%; height: 100%; object-fit: cover; }
.hv-seriescard__art .hv-slot { min-height: 0; height: 100%; border-radius: 16px; }
.hv-seriescard h4 { font-size: 20px; }
.hv-sermonlist { display: flex; flex-direction: column; }
.hv-sermonrow { display: grid; grid-template-columns: 120px 1fr auto 40px; align-items: center; gap: 20px; padding: 20px 0; border-top: 1px solid var(--hv-hair); }
.hv-sermonrow:last-child { border-bottom: 1px solid var(--hv-hair); }
.hv-sermonrow__date { font-size: 14px; color: var(--hv-faint); }
.hv-sermonrow__title { font-size: 21px; }
.hv-sermonrow__by { font-size: 14.5px; color: var(--hv-muted); }
.hv-sermonrow__play { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; border: 1.5px solid var(--hv-chip-border); color: var(--hv-accent); }
.hv-sermonrow__play svg { width: 16px; height: 16px; }

/* Groups intro */
.hv-groups__intro { max-width: 640px; margin: 0 0 48px; text-align: left; }

/* Contained dark/accent panels (serve, hiring, visit form, about CTA) — the
   handoff renders these as rounded panels inside a light section, not full-bleed. */
.hv-panel { border-radius: 20px; padding: 64px 48px; }
.hv-serveband { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.hv-serveband__cta { display: flex; justify-content: flex-end; }

/* Staff hiring — centered dark panel */
.hv-hiring { text-align: center; }
.hv-hiring p { color: rgba(231,226,217,0.72); max-width: 520px; margin: 12px auto 28px; }
.hv-hiring .hv-btn { }

/* About CTA — accent panel */
.hv-ctaband { background: var(--hv-accent); color: #fff; text-align: center; border-radius: 20px; padding: 72px 40px; }
.hv-ctaband__h { color: #fff; font-size: clamp(30px, 4vw, 46px); max-width: 20ch; margin: 0 auto 16px; }
.hv-ctaband p { color: rgba(255,255,255,0.9); font-size: 18px; line-height: 1.6; max-width: 500px; margin: 0 auto 32px; }
.hv-ctaband__actions { display: flex; gap: 14px; justify-content: center; margin-top: 8px; flex-wrap: wrap; }

/* Give page: gift card, ways, impact */
.hv-give-hero { padding: 100px 0 84px; }
.hv-give-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.hv-give-hero__h { font-size: clamp(38px, 5vw, 62px); line-height: 1.05; }
.hv-give-hero .hv-stats { max-width: 480px; }
.hv-giftcard { background: var(--hv-card); border: 1px solid var(--hv-cardborder); border-radius: 20px; padding: 32px; box-shadow: 0 24px 48px -24px rgba(32,29,26,0.25); }
.hv-giftcard h3 { font-family: var(--font-disp); font-weight: 500; font-size: 24px; margin-bottom: 20px; }
.hv-presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.hv-preset { padding: 16px 0; text-align: center; border: 1.5px solid var(--hv-cardborder); border-radius: 12px; font-family: var(--font-disp); font-weight: 500; font-size: 20px; color: var(--hv-ink); }
.hv-preset--other { grid-column: span 3; font-family: var(--font-body); font-weight: 400; font-size: 15px; color: var(--hv-faint); text-align: left; padding: 15px 16px; }
.hv-waycard { background: var(--hv-card); border: 1px solid var(--hv-cardborder); border-radius: 16px; padding: 30px; }
.hv-waycard h4 { font-size: 21px; margin-bottom: 10px; }
.hv-waycard p { font-size: 15.5px; color: var(--hv-muted); }
.hv-impactband { padding: 96px 0 100px; }
.hv-impactband .hv-wrap { max-width: 1000px; }
.hv-impactband .hv-sechead--stack { text-align: center; }
.hv-impactrows { display: flex; flex-direction: column; gap: 24px; }
.hv-impactrow { display: grid; grid-template-columns: 120px 1fr; gap: 32px; align-items: center; background: var(--hv-card); border: 1px solid var(--hv-cardborder); border-radius: 16px; padding: 28px 32px; }
.hv-impactrow .pct { font-family: var(--font-disp); font-weight: 600; font-size: 44px; color: var(--hv-accent); line-height: 1; }
.hv-impactrow h4 { font-size: 22px; margin-bottom: 6px; }
.hv-impactrow p { font-size: 15px; line-height: 1.7; color: var(--hv-body); }

/* Visit / Contact forms */
.hv-formwrap { max-width: 620px; }
.hv-band .hv-formwrap, .hv-formwrap.hv-formwrap--dark { }
.hv-form { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.hv-faq { display: flex; flex-direction: column; gap: 14px; }
.hv-faq__item { background: var(--hv-card); border: 1px solid var(--hv-cardborder); border-radius: 16px; padding: 24px 28px; }
.hv-faq__item h4 { font-size: 19px; margin-bottom: 8px; }
.hv-faq__item p { font-size: 15.5px; color: var(--hv-muted); }
.hv-formnote { margin-top: 14px; font-size: 14px; color: var(--hv-faint); }
.hv-contact__side { display: flex; flex-direction: column; gap: 24px; }
/* Let the map grow to meet the form's base so the right column isn't short. */
.hv-contact__side .hv-map { flex: 1 1 auto; aspect-ratio: auto; min-height: 150px; }
.hv-contact__rows { display: flex; flex-direction: column; gap: 14px; }
.hv-contact__rows .row { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--hv-body); }
.hv-contact__rows .row svg { width: 18px; height: 18px; color: var(--hv-accent); flex: none; }
/* Contact details card — labeled blocks in a white card (handoff Contact) */
.hv-contact__card { background: var(--hv-card); border: 1px solid var(--hv-cardborder); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.hv-contact__block .lbl { display: block; font-family: var(--font-label); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hv-accent); margin-bottom: 4px; }
.hv-contact__block p { font-size: 15px; line-height: 1.6; color: var(--hv-body); }

/* Visit: plain what-to-expect columns + dark form panel */
.hv-expectcard h4 { font-size: 22px; margin-bottom: 10px; }
.hv-expectcard p { font-size: 16px; line-height: 1.7; color: var(--hv-body); }
.hv-visitform { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hv-visitform .hv-formwrap { max-width: none; }
.hv-visitform .hv-form { margin-top: 0; }

/* ============================ DETAIL PAGES =============================== */
.hv-det { padding: 40px 0 0; }
.hv-det .hv-wrap { padding-top: 24px; }
.hv-det--narrow { max-width: 760px; }
.hv-det__back { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--hv-muted); margin-bottom: 28px; }
.hv-det__back:hover { color: var(--hv-accent); }
.hv-det__back svg { width: 15px; height: 15px; }
.hv-det__video { position: relative; aspect-ratio: 16/9; border-radius: 20px; overflow: hidden; background: #000; margin-bottom: 34px; }
.hv-det__video iframe { width: 100%; height: 100%; border: 0; }
.hv-det__video--link img { width: 100%; height: 100%; object-fit: cover; }
.hv-det__cover { position: relative; border-radius: 20px; overflow: hidden; margin-bottom: 34px; }
.hv-det__cover img { width: 100%; height: auto; }
.hv-det__cover--wide { aspect-ratio: 21 / 9; }
.hv-det__cover--wide img, .hv-det__cover--wide .hv-slot { width: 100%; height: 100%; object-fit: cover; min-height: 0; border: 0; border-radius: 20px; }
/* Ministry-detail full-bleed title-over-photo hero (handoff Detail-Ministry). */
.hv-titlehero { position: relative; min-height: 56vh; display: flex; align-items: flex-end; overflow: hidden; }
.hv-titlehero > img, .hv-titlehero > .hv-slot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; min-height: 0; }
.hv-titlehero > .hv-slot { background: repeating-linear-gradient(45deg,#2b2723 0 14px,#332e29 14px 28px); }
.hv-titlehero__scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,17,15,0.88) 0%, rgba(20,17,15,0.3) 100%); }
.hv-titlehero__cap { position: relative; padding-top: 96px; padding-bottom: 48px; }
.hv-titlehero__cap .hv-det__back { color: rgba(255,255,255,0.82); }
.hv-titlehero__cap .hv-det__back:hover { color: #fff; }
.hv-titlehero__cap .hv-eyebrow { display: block; margin: 18px 0 12px; color: var(--hv-rose); }
.hv-titlehero__h { color: #fff; font-size: clamp(44px, 6vw, 76px); line-height: 1; }
.hv-det__lead--intro { max-width: 68ch; margin-top: 40px; }
.hv-det__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; padding-bottom: 40px; }
.hv-det__title { font-size: clamp(32px, 4.5vw, 52px); line-height: 1.05; margin: 10px 0 14px; }
.hv-det__meta { color: var(--hv-faint); font-size: 15px; margin-bottom: 20px; }
.hv-det__lead { font-size: 20px; line-height: 1.65; color: var(--hv-body); margin-bottom: 22px; }
.hv-det__questions { margin-top: 30px; background: var(--hv-card); border: 1px solid var(--hv-cardborder); border-radius: 16px; padding: 28px 30px; }
.hv-det__questions h3 { font-family: var(--font-disp); font-weight: 500; font-size: 22px; margin-bottom: 14px; }
.hv-det__questions ul, .hv-det__questions ol { margin: 0; padding-left: 22px; }
.hv-det__questions li { margin-bottom: 10px; line-height: 1.7; }
.hv-det__side { position: sticky; top: 96px; }
.hv-det__facts { display: flex; flex-direction: column; gap: 18px; background: var(--hv-card); border: 1px solid var(--hv-cardborder); border-radius: 16px; padding: 26px; margin-bottom: 20px; }
.hv-det__facts--card { margin-bottom: 0; }
.hv-det__facts-cta { width: 100%; justify-content: center; margin-top: 8px; }
/* event/group detail 2-col: body + fixed-width info card (handoff Detail-*) */
.hv-det__grid--card { grid-template-columns: 1fr 320px; }
/* accent date / FEATURED badge on event photos (home + more-events + detail cover) */
.hv-evbadge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--hv-accent); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 6px 12px; border-radius: 8px; line-height: 1; }
.hv-evcard--badge .hv-evcard__photo { aspect-ratio: 16 / 10; }
.hv-evcard__meta { margin-top: 8px; font-size: 15px; color: var(--hv-muted); }
/* "More upcoming events" (event detail) */
.hv-det-more { padding: 0 0 96px; }
.hv-det-more__h { font-size: clamp(24px, 3vw, 34px); margin-bottom: 28px; }
.hv-det__facts .hv-eyebrow { margin-bottom: 4px; display: block; }
.hv-det__facts strong { font-family: var(--font-disp); font-weight: 500; font-size: 18px; color: var(--hv-ink); }
.hv-det__listen { display: block; padding: 13px 18px; border: 1.5px solid var(--hv-cardborder); border-radius: 12px; font-weight: 600; font-size: 15px; margin-top: 10px; color: var(--hv-accent); }
.hv-det__mail { color: var(--hv-accent); font-weight: 600; }
.hv-det__person { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: start; margin-bottom: 34px; }
.hv-avatar--lg { aspect-ratio: 3/4; }
.hv-det__related { margin-top: 20px; padding: 80px 0; }
.hv-prose { font-size: 17px; line-height: 1.8; color: var(--hv-body); }
.hv-prose h3 { font-family: var(--font-disp); font-weight: 500; font-size: 24px; margin: 26px 0 12px; }
.hv-prose p { margin-bottom: 16px; }

/* Series detail — artwork beside title + vertical message list */
.hv-series-head { display: grid; grid-template-columns: 360px 1fr; gap: 48px; align-items: center; margin-bottom: 56px; }
.hv-series-art { aspect-ratio: 1/1; border-radius: 16px; overflow: hidden; border: 1px solid var(--hv-cardborder); }
.hv-series-art img { width: 100%; height: 100%; object-fit: cover; }
.hv-series-art .hv-slot { min-height: 0; height: 100%; border-radius: 16px; border: 0; }
.hv-series-msgs > h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 24px; }
.hv-msglist { display: flex; flex-direction: column; padding-bottom: 60px; }
.hv-msgrow { display: flex; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--hv-hair); }
.hv-msgrow__thumb { position: relative; flex: none; width: 120px; aspect-ratio: 16/10; border-radius: 10px; overflow: hidden; border: 1px solid var(--hv-cardborder); }
.hv-msgrow__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hv-msgrow__thumb .hv-slot { min-height: 0; height: 100%; border-radius: 10px; border: 0; }
.hv-msgrow__info { flex: 1; min-width: 0; }
.hv-msgrow__info h3 { font-size: 20px; margin-bottom: 3px; }
.hv-msgrow__info p { font-size: 14px; color: var(--hv-muted); }
.hv-msgrow__go { flex: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--hv-accent); transition: gap 160ms ease; }
.hv-msgrow:hover .hv-msgrow__go { gap: 10px; }
.hv-msgrow__go svg { width: 15px; height: 15px; }

/* ============================ RESPONSIVE ================================= */
@media (max-width: 960px) {
  .hv-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hv-welcome__grid, .hv-two, .hv-location, .hv-spotlight, .hv-give-hero__grid, .hv-det__grid, .hv-det__person, .hv-serveband, .hv-visitform, .hv-series-head { grid-template-columns: 1fr; gap: 32px; }
  .hv-serveband__cta { justify-content: flex-start; }
  .hv-grid-3, .hv-grid-4, .hv-team { grid-template-columns: repeat(2, 1fr); }
  .hv-det__side { position: static; }
  .hv-det__person { grid-template-columns: 160px 1fr; }
}
@media (max-width: 720px) {
  .hv-section { padding: 64px 0; }
  .hv-navtoggle { display: inline-flex; }
  .hv-navlinks { display: none; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 4px; background: var(--hv-canvas); border-bottom: 1px solid var(--hv-hair); padding: 16px 28px 24px; }
  .hv-navlinks.open { display: flex; }
  .hv-navcta { margin-top: 8px; }
  .hv-grid-2, .hv-grid-3, .hv-grid-4, .hv-team, .hv-stats, .hv-presets { grid-template-columns: 1fr; }
  .hv-sermonrow { grid-template-columns: 1fr auto; }
  .hv-sermonrow__date, .hv-sermonrow__by { display: none; }
  .hv-footer__grid { grid-template-columns: 1fr; }
  .hv-footer__bottom { flex-direction: column; }
  .hv-presets { grid-template-columns: repeat(3, 1fr); }
}
