/* Fullscreen loader overlay */
#loader {
  position: fixed;
  inset: 0; /* top, right, bottom, left = 0 */
  background: #fff; /* or var(--surface, #fff) */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999; /* above everything */
}

/* Spinning logo */
.loader-logo {
  width: 120px; /* adjust size as needed */
  height: auto;
  animation: spin 1.2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Hide loader smoothly */
#loader.fade-out {
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
}

/* === Theme: White background, black nav, burgundy buttons, gold accents === */
:root {
  --bg:#ffffff;
  --surface:#ffffff;
  --surface-alt:#fafafa;
  --ink:#0b0b0b;
  --muted:#60646c;
  --muted-2:#8a8f98;
  --brand:#8B1D2C;
  /* burgundy */
  --brand-600:#6f1623;
  --gold:#f0b30c;
  /* gold accent */
  --border:#e6e8eb;
  --shadow:0 10px 30px rgba(0,0,0,.08);
}
.welcometitle {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--brand);
  margin: 0;
  text-align: center;
  padding: 16px;
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth
}
body {
  margin:0;
  color:var(--ink);
  background:var(--bg);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height:1.6;
}
img {
  max-width:100%;
  height:auto;
  display:block
}
a {
  color:var(--brand);
  text-decoration:none
}
a:hover {
  text-decoration:underline
}
.container {
  max-width:1100px;
  margin-inline:auto;
  padding:0 20px
}
.container.narrow {
  max-width:800px
}
.skip-link {
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden
}
.skip-link:focus {
  left:16px;
  top:16px;
  width:auto;
  height:auto;
  background:#fff;
  color:#000;
  padding:8px 12px;
  border-radius:6px
}
/* --- Header / Nav --- */
.site-header {
  position:sticky;
  top:0;
  z-index:10;
  background-color: rgba(0, 0, 0, 0.91);
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.08);
  backdrop-filter:saturate(140%) blur(8px);
}
.nav {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
  min-height:64px
}
.brand {
  display:flex;
  align-items:center;
  gap:10px;
  color:#fff;
  font-weight:800
}
.brand span {
  color:#fff
}
.nav a {
  color:#fff
}
.nav-toggle {
  display:none;
  background:transparent;
  border:0;
  color:#fff;
  font-size:24px;
  cursor:pointer
}
/* Dropdown */
.nav-menu {
  list-style:none;
  display:flex;
  gap:16px;
  margin:0;
  padding:0;
  align-items:center;
  margin-top: 12px;
  margin-bottom: 8px;
}
.nav-menu>li {
  position:relative
}
.dropdown-toggle {
  background:transparent;
  border:0;
  color:#fff;
  font:inherit;
  cursor:pointer;
  padding:8px 6px;
  border-radius:8px;
}
.dropdown-menu {
  position:absolute;
  top:100%;
  left:0;
  min-width:220px;
  background:#111;
  color:#fff;
  border:1px solid rgba(255,255,255,.08);
  padding:8px;
  border-radius:12px;
  display:none;
  box-shadow:var(--shadow);
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu {
  display:block
}
.dropdown-menu a {
  display:block;
  padding:8px 10px;
  color:#fff;
  border-radius:8px
}
.dropdown-menu a:hover {
  background:#1a1a1a;
  text-decoration:none
}
/* --- Main content area --- */
  .full-height {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
}
section[id] {
  scroll-margin-top: 90px;
}
/* sticky-header friendly anchor scroll */

  .hero-header {
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(199,154,0,.15);
  margin-bottom: 12px;
}
.hero-title-row {
  display: inline-flex;
  gap: 12px;
  align-items: center;
}
.hero-title-row h1 {
  margin: 0;
  line-height: 1.1;
}
.hero .motto {
  margin: .25rem 0 0;
  font-weight: 700;
  color: var(--brand);
}
.lead {
  font-size: clamp(1.02rem, 1.2vw, 1.15rem);
}
/* Scroll cue */
  .scroll-cue {
  display: inline-block;
  margin-top: 16px;
  opacity: .7;
  text-decoration: none;
}
.scroll-cue:hover {
  opacity: 1;
}
@media (max-width: 640px) {
  
  .hero-title-row {
    display:flex;
    
}
}

/* Footer social buttons: smaller + 88% opacity */
  .footer-actions .btn {
  padding: 8px 12px;
  font-size: .95rem;
  opacity: .88;
  display: flex;
  margin-bottom: 12px;
  margin-right: 20px;
}
.footer-actions .btn:hover {
  opacity: 1;
}

.btn.fb {
  background: #3b5998;
  color: #fff;
}
.btn.fb:hover {
  background: #2d4373;
}

/* Button ripple (needs the JS below) */
  .btn {
  position: relative;
  overflow: hidden;
}
.btn .ripple {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  transform: scale(0);
  opacity: .3;
  background: #fff;
  mix-blend-mode: overlay;
  transition: transform 500ms ease, opacity 600ms ease;
}
.btn.rippling .ripple {
  transform: scale(1);
  opacity: 0;
}

.btn.visitus {
  color: var(--brand-red);
}

.btn.visitus:hover {
  color: var(--brand-red-dark);
  outline: #ca3439 solid 2px;
}

/* Card hover lift (subtle) */
  .bubble, .card {
  transition: transform .25s ease, box-shadow .25s ease;
}
.bubble:hover, .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(0,0,0,.08);
}
/* Section separators — faint gold line between sections for more division */
  .section + .section::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%,1100px);
  height: 1px;
  top: 0;
  background: linear-gradient(90deg, transparent, rgba(199,154,0,.55), transparent);
}
.section {
  position: relative;
}
/* --- Buttons --- */
.btn {
  display:inline-block;
  background:var(--brand);
  color:#fff;
  padding:12px 18px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.05);
  box-shadow: var(--shadow);
  font-weight:700;
  letter-spacing:.2px;
}
.btn:hover {
  background:var(--brand-600);
  text-decoration:none;
  transform:translateY(-1px)
}
.btn.outline {
  background:var(--brand);
  color:var(--#fff);
  border:2px solid var(--gold)
}
.btn.ghost {
  background:transparent;
  color:#0b0b0b;
  border:2px solid var(--border)
}
.btn.small {
  padding:8px 12px;
  font-size:.95rem
}
/* --- Hero --- */
.hero {
  padding:64px 0 40px;
  background:var(--surface-alt)
}
.hero-grid {
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:28px;
  align-items:center
}
.hero-title-row {
  display:flex;
  gap:16px;
  align-items:center;
  margin-bottom:6px
}
.hero-logo {
  border-radius:8px;
  border:1px solid var(--border);
  background:#fff;
  padding:4px
}
.motto {
  color:var(--gold);
  font-weight:700;
  margin:4px 0 0
}
.hero-cta {
  display:flex;
  gap:12px;
  margin-top:18px;
  flex-wrap:wrap
}
.hero-photo img {
  border-radius:8px;
  border:1px solid var(--border);
  box-shadow:var(--shadow)
}
/* --- Sections --- */
.section {
  padding:64px 0
}
.section.alt {
  background:var(--surface)
}
.two-col {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  align-items:start
}
.card, .bubble {
  background:#fff;
  border:1px solid var(--border);
  padding:20px;
  border-radius:16px;
  box-shadow:var(--shadow)
}
.card.photo img {
  border-radius:12px
}
.leader-note {
  border-left:4px solid #C82127;
}
/* --- Media --- */
.media-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
  align-items:start
}
.ratio-16x9 {
  position:relative;
  width:100%;
  padding-bottom:56.25%;
  overflow:hidden;
  border-radius:12px;
  border:1px solid var(--border);
  background:#f3f3f3
}
.ratio-16x9 iframe {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0
}
/* --- Events flyers --- */
.flyer-grid {
  display:grid;
  grid-template-columns:repeat(2, 2fr);
  gap:16px
}
.flyer img {
  width:100%;
  height:auto;
  border-radius:12px;
  max-width: 420px;
}
/* --- Zoom --- */
.zoom-grid-top {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin-bottom:16px
}
.zoom-card .meta-list {
  list-style:none;
  padding:0;
  margin:8px 0 16px
}
.zoom-card .meta-list li {
  margin:6px 0
}
/* --- Donate --- */
.donate-buttons {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:8px 0 12px
}
.small {
  font-size:.95rem
}
.muted {
  color:var(--muted)
}
/* --- Gallery --- */
.gallery {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:12px;
  margin-bottom: 64px;
}
.gallery a {
  display:block;
  border-radius:12px;
  overflow:hidden;
  border:1px solid var(--border)
}
.gallery img {
  width:100%;
  height:200px;
  object-fit:cover;
  transition:.25s transform ease
}
.gallery a:hover img {
  transform:scale(1.02)
}
/* --- Prayer placeholder --- */
.placeholder-space {
  height:220px;
  border:2px dashed var(--border);
  border-radius:16px;
  background:#f8f8f8
}
/* --- Footer --- */
.site-footer.big {
  background:#0b0b0b;
  color:#fff;
  border-top:4px solid var(--brand)
}
.site-footer .container {
  padding-top:20px
}
.site-footer a {
  color:#fff
}
.footer-grid {
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:16px;
  align-items:start
}
.site-footer .sub {
  border-top:1px solid rgba(255,255,255,.12);
  margin-top:12px;
  padding:12px 0
}
/* --- Utilities --- */
.center {
  text-align:center;
  margin-top:12px
}
/* --- Reveal on scroll --- */
.reveal {
  opacity:0;
  transform:translateY(16px);
  transition:opacity .5s ease, transform .5s ease
}
.reveal.visible {
  opacity:1;
  transform:none
}
/* --- Responsive --- */
@media (max-width: 1000px) {
  
  .media-grid {
    grid-template-columns:1fr

}
.zoom-grid-top {
  grid-template-columns:1fr
}
.flyer-grid {
  grid-template-columns:1fr 1fr
}
.hero-grid {
  grid-template-columns:1fr
}
}

@media (max-width: 640px) {
  
  .two-col {
    grid-template-columns:1fr

}
.flyer-grid {
  grid-template-columns:1fr
}
.footer-grid {
  grid-template-columns:1fr
}
.nav-toggle {
  display:inline-block
}
.nav-menu {
  display:none;
  flex-direction:column;
  align-items:flex-start;
  background:#111;
  position:absolute;
  right:20px;
  top:60px;
  padding:12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.08)
}
.nav-menu.show {
  display:flex
}
.dropdown-menu {
  position:static;
  display:block;
  background:transparent;
  border:0;
  padding:0;
}

.dropdown-menu[hidden] { display: none !important; }

.dropdown-menu a {
  padding:8px 0
}
}

/* --- Hero Banner Title across top --- */
.hero-banner-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 10px;
  width: 100%;
  text-align: center;
  font-size: clamp(1.4rem, 4.2vw, 3rem);
  font-weight: 800;
  letter-spacing: .5px;
  color: rgba(11,11,11,.9);
  text-shadow: 0 1px 0 rgba(255,255,255,.45);
  padding: 8px 16px;
  pointer-events: none;
}
.hero .hero-motto {
  margin: 0;
  color: var(--brand);
}
.hero .hero-title-row h1.hero-motto {
  margin: 0;
}
.hero {
  position: relative;
}
/* Hero overlay headline (spans entire hero;
  title above motto) */
.hero {
  position: relative;
}
.hero-overlay {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: clamp(44px, 4vw, 64px);
  width: min(100%, 1100px);
  text-align: center;
  pointer-events: none;
  /* don’t block buttons/links below */
  padding: 0 16px;
}
.church-title {
  margin: 0;
  font-weight: 800;
  letter-spacing: .3px;
  font-size: clamp(1.6rem, 4.6vw, 3.4rem);
  color: var(--ink);
  text-wrap: balance;
}
.hero-overlay .motto {
  margin: .25rem 0 0;
  font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--brand);
}
/* optional: subtle gold accent line under the overlay */
.hero-overlay::after {
  content: "";
  display: block;
  width: 84px;
  height: 2px;
  margin: 8px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold, #C79A00), transparent);
  opacity: .65;
}
/* Placeholder content grids on subpages */
.grid {
  display:grid;
  gap:16px;
  align-items:start
}
.grid.grid-2 {
  grid-template-columns:repeat(2,1fr)
}
.grid.grid-3 {
  grid-template-columns:repeat(3,1fr)
}
@media (max-width: 900px) {
  
  .grid.grid-3 {
    grid-template-columns:repeat(2,1fr)

}
}

@media (max-width: 600px) {
  
  .grid.grid-2, .grid.grid-3 {
    grid-template-columns:1fr

}
}

/*button to scroll to top*/
#scrollTopBtn {
  position: fixed;
  bottom: 44px;
  right: 44px;
  z-index: 99;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  /* Prevent clicks when hidden */
  transition: opacity 0.5s ease-in-out, background-color 0.3s ease;
}
#scrollTopBtn:hover {
  background-color: rgba(0, 0, 0, 0.6);
}
#scrollTopBtn.show {
  opacity: 1;
  pointer-events: auto;
  /* Enable interaction when shown */
}
/* Show the button when scrolled down 1000px */

/* Frame wraps BOTH title + motto */
.title-group {
  position: relative;
  display: inline-block;
  text-align: center;
  padding: 2em 4em 2em;
  /* space around both lines inside the frame */
  border-radius: 14px;
  z-index: 1;
  /* keep content above the frame layers */
}
/* Outline frame */
.title-group::before {
  content: "";
  position: absolute;
  inset: 0;
  /* hugs padded box */
  border: 2px solid var(--gold, #C79A00);
  border-radius: inherit;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  /* hidden (wiped to the right) */
  transform: translateZ(0);
  pointer-events: none;
}
/* Optional faint fill behind both lines (comment out for outline-only) */
.title-group::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(199,154,0,.08), rgba(199,154,0,.04));
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
}
/* Animate on load */
body.loaded .title-group::before {
  animation: title-frame-wipe 900ms cubic-bezier(.22,.61,.36,1) 120ms forwards;
}
body.loaded .title-group::after {
  animation: title-plate-fade 800ms ease 300ms forwards;
}
/* subtle pop */
body.loaded .title-group {
  animation: title-pop 520ms cubic-bezier(.22,.61,.36,1) 120ms both;
}
/* Typography stays the same */
.church-title {
  margin: 0;
  font-weight: 800;
  letter-spacing: .3px;
  font-size: clamp(1.6rem, 4.6vw, 3.4rem);
  color: var(--ink);
  text-wrap: balance;
}
.hero-overlay .motto {
  margin: .35rem 0 0;
  font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--brand);
  /* burgundy */
}
/* Keyframes (reuse if already present) */
@keyframes title-frame-wipe {
  0% {
  clip-path: inset(0 100% 0 0);
  opacity: 0;
}
40% {
  opacity: 1;
}
100% {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}
}

@keyframes title-plate-fade {
  from {
  opacity: 0;
}
to {
  opacity: .6;
}
}

@keyframes title-pop {
  0% {
  transform: translateY(2px) scale(.985);
  letter-spacing: .02em;
}
100% {
  transform: none;
  letter-spacing: 0;
}
}

/* Float-on-hover utilities */
:root {
  --float-y: 6px;
  --float-scale: 1.01;
  --shadow-float: 0 10px 28px rgba(0,0,0,.12);
}
@media (prefers-reduced-motion: reduce) {
  
  .float-hover, .img-float {
    transition: none !important;
    transform: none !important;
    
}
}

/* subtle hover float for any element */
.float-hover {
  transition: transform .35s ease, box-shadow .35s ease;
  will-change: transform;
}
.float-hover:hover {
  transform: translateY(calc(var(--float-y) * -1)) scale(var(--float-scale));
  box-shadow: var(--shadow-float);
}
/* images float too (site-wide) */
.hero-photo img,
.gallery img,
.flyer img,
.card img,
.bubble img {
  transition: transform .3s ease, box-shadow .3s ease;
  will-change: transform;
}
.hero-photo img:hover,
.gallery a:hover img,
.flyer:hover img,
.card:hover img,
.bubble:hover img {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,.14);
}
/* wide gold CTA under Events flyers */
.btn.gold {
  background: var(--gold);
  color: #111;
  border-color: rgba(0,0,0,.06);
}
.btn.gold:hover {
  filter: brightness(.96);
  transform: translateY(-1px);
}
.btn.wide {
  display:inline-flex;
  justify-content:center;
  min-width:min(100%, 360px);
  padding:14px 24px;
  border-radius:14px;
  font-weight:800;
  letter-spacing:.2px;
  color: #ffffff;
}
.mt-16 {
  margin-top:32px;
}
/* Section decoration + emphasis for Donate */
#donate {
  position:relative;
  overflow:hidden;
}
#donate .container {
  position:relative;
}
/* heading accent */
#donate h2 {
  position:relative;
}
#donate h2::after {
  content:"";
  display:block;
  width:84px;
  height:4px;
  margin-top:6px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius:6px;
}
/* make the donate tiles pop a bit more */
#donate .card {
  box-shadow: 0 12px 34px rgba(0,0,0,.08);
}
#donate .donate-buttons .btn {
  box-shadow: 0 10px 26px rgba(139,29,44,.18);
}
#donate .donate-buttons .btn.outline {
  border-width:2px;
}
/* --- Zoom: two-column layout with square image --- */
/* === Zoom grid (3 across + full-width rows) === */
.zoom-grid {
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.zoom-card.full {
  grid-column: 1 / -1;
  /* span all columns */
}
/* Responsive: fall back to 2 cols, then 1 col on narrow screens */
@media (max-width: 1000px) {
  
  .zoom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    
}
}

@media (max-width: 700px) {
  
  .zoom-grid {
    grid-template-columns: 1fr;
    
}
.zoom-card.full {
  grid-column: 1 / -1;
}
}

/* === Gold highlight glow on hover/focus === */
.zoom-card {
  position: relative;
}
.zoom-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  box-shadow:
    0 0 0 2px rgba(199,154,0, .35),
    0 8px 24px rgba(199,154,0, .12);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.zoom-card:hover::before,
.zoom-card:focus-within::before {
  opacity: 1;
}
/* Extra hover polish (kept subtle to avoid jitter) */
.zoom-card {
  transition: transform .22s ease, box-shadow .22s ease;
}
.zoom-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0,0,0,.08);
}
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  
  .zoom-card {
    transition: none !important;
    
}
.zoom-card::before {
  transition: none !important;
}
}

/* --- Subtle float-on-hover for prominent images --- */
/* Float-on-hover for prominent images (now includes hero + zoom icon) */
.hero-photo img,
.hero img,
.card.photo img,
.flyer img,
.gallery img {
  transition: transform .25s ease, box-shadow .25s ease;
  will-change: transform;
}
.hero-photo img:hover,
.hero img:hover,
.card.photo img:hover,
.flyer img:hover,
.gallery img:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 16px 36px rgba(0,0,0,.10);
}
/* --- Stagger support: elements can animate in with a delay --- */
.media-grid > *,
.flyer-grid > *,
.gallery > * {
  transition-delay: var(--stagger, 0ms);
}
/* --- Scroll progress bar --- */
.scroll-progress {
  position:fixed;
  top:0;
  left:0;
  height:3px;
  width:100%;
  transform-origin:0 0;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--gold), var(--brand));
  z-index:9999;
  pointer-events:none;
}
/* --- Respect reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  
  .reveal {
    transition:none !important;
    
}
.bubble, .card, .hero-photo img, .flyer img, .gallery img {
  transition:none !important;
}
}

/* --- HERO TICKER --- */
.hero-ticker {
  --ticker-height: 48px;
  /* adjust height */
  --ticker-speed: 90;
  /* px per second;
  JS uses this to set duration */
  background: var(--panel, #fff);
  border-top: 1px solid var(--border);
  padding-inline: 12px;
  height: var(--ticker-height);
  display: flex;
  align-items: center;
  overflow: hidden;
}
/* Fade the edges so items slide in/out nicely */
.ticker-viewport {
  position: relative;
  overflow: hidden;
  flex: 1;
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0, rgba(0,0,0,1) 48px, rgba(0,0,0,1) calc(100% - 48px), rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to right, transparent 0, black 48px, black calc(100% - 48px), transparent 100%);
}
.ticker-track {
  display: inline-flex;
  white-space: nowrap;
  gap: 28px;
  will-change: transform;
  animation: ticker var(--ticker-duration, 40s) linear infinite;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  color: var(--text, #222);
}
/* Gold dot with a gentle pulse for fun */
.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--gold, #c79a00);
  box-shadow: 0 0 0 2px rgba(199,154,0,.30);
  flex: none;
  animation: tickerPulse 2.4s ease-in-out infinite;
}
@keyframes ticker {
  from {
  transform: translateX(0);
}
to {
  transform: translateX(-50%);
}
/* we duplicate content in JS for a seamless loop */
}

@keyframes tickerPulse {
  0% {
  box-shadow: 0 0 0 0 rgba(199,154,0,.35);
}
70% {
  box-shadow: 0 0 0 8px rgba(199,154,0,0);
}
100% {
  box-shadow: 0 0 0 0 rgba(199,154,0,0);
}
}

/* Pause motion for those who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  
  .ticker-track {
    animation: none !important;
    
}
.ticker-dot {
  animation: none !important;
}
}

/* anchor ticker to bottom of the hero */
#home, .hero {
  position: relative;
}
.hero-ticker {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  /* above the hero background, below nav if needed */
}
/* add bottom space so hero content doesn’t overlap the ticker */

#home, .hero {
  padding-bottom: calc(var(--ticker-height, 24px) + 6px);
}

/* Mission & Vision layout polish */
.mission-vision.two-col {
  grid-template-columns: minmax(0, 1fr) minmax(0, .65fr);
  gap: 28px;
}
.mission-vision {
  row-gap: 12px;
}
.mission-vision h2 {
  margin: 0 0 6px;
}
.mission-vision .mv-cards,
.mission-vision .mv-points,
.mission-vision .mv-columns {
  margin-top: 16px;
}
.mission-vision .card,
.mission-vision .bubble {
  padding: 16px;
}
.mission-vision .mv-cards .card h3,
.mission-vision .mv-columns .card h3 {
  margin-top: 0;
}
.mission-vision .bubble {
  text-align: left;
}
.mv-points {
  text-align: center;
  margin: 18px;
}
/* keep poster aligned nicely;
  stop sticking on narrow */
/* Bigger poster on desktop */
@media (min-width: 1024px) {
  
  /* Give the image column more room */
  .mission-vision.two-col {
    grid-template-columns: 1.1fr 1.1fr;
    /* or 1.1fr .9fr if you want the text a bit wider */

}
.mission-vision .mv-poster {
  max-width: 540px;
  /* bump as you like */
    justify-self: end;
}
.mission-vision .mv-poster img {
  display: block;
  width: 100%;
  height: auto;
}
}

/* mobile spacing & readability */
@media (max-width: 640px) {
  
  .mission-vision {
    row-gap: 16px;
    
}
.mission-vision .chip {
  font-size: .95rem;
}
.mission-vision .mv-columns .card ul.tight {
  padding-left: 1rem;
}
}

/* optional: tighter list utility if you want it site-wide */
ul.tight {
  margin: .25rem 0 0;
  padding-left: 1.1rem;
}
ul.tight li {
  margin: .25rem 0;
}
/* ===== Full-screen flyer hero (overrides) ===== */
.hero-flyer {
  --brand-red: #C82127;
  /* flyer red */
  --brand-red-dark: #8E171B;
  --hl-yellow: #fff08a;
  --ticker-h: 44px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* fills the screen */
  padding-bottom: var(--ticker-h);
  /* room for ticker */
  position: relative;
}
/* Red band */
.hero-flyer .band {
  background: linear-gradient(
    75deg,
    #8B1D2C 0%,
    #8B1D2C 15%,
    #A51E29 35%,  /* mid-blend */
    #B91F28 60%, 
    #C82127 100%
  );
  color: #fff;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 36px 28px;
  /* a bit larger */
  border-radius: 0px;
  overflow: hidden;
}
/* Bigger logo */
.hero-flyer .seal {
  width: 240px;
  height: 240px;
  object-fit: contain;
}
/* Headline + service line larger */
.hero-flyer h1 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: .5px;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 3.8vw + 1rem, 3.4rem);
}
.hero-flyer .service {
  margin: 6px 0 0;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.05rem, 1.3vw + .6rem, 1.35rem);
}
/* Corner art + small Join us */
.hero-flyer .corner {
  display: grid;
  align-items: start;
  justify-items: end;
  gap: 8px;
}
.hero-flyer .sketch {
  width: 360px;
  height: auto;
  object-fit: contain;
}
.hero-flyer .badge {
  background: var(--brand-red-dark);
  color:#fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 800;
}
.hero-flyer .mini-join {
  display:inline-flex;
  align-items:center;
  gap:8px;
  background: var(--brand-red-dark);
  color:#fff;
  border-radius:999px;
  padding:6px 12px;
  font-weight:800;
  text-decoration:none;
}
.hero-flyer .mini-join img {
  width:18px;
  height:18px;
}
/* Chips row */
.hero-flyer .chips {
  margin-top: 10px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.mission-vision .chip.as-btn,
.hero-flyer .chip.as-btn {
  /* reuse your button feel */
  background: var(--brand-red);
  color:#fff;
  border: 1px solid rgba(0,0,0,.05);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  letter-spacing: .2px;
  transition: transform .25s ease, box-shadow .25s ease, background .2s ease;
}
.hero-flyer .chip.as-btn:hover {
  background: var(--brand-red-dark);
  transform: translateY(-1px);
}
.hero-flyer .chip.as-btn.big {
  font-size: 1rem;
}
/* Details row + uniform buttons */
.hero-flyer .details {
  margin-top: 16px;
}
.hero-flyer .details.eq .detail {
  display:flex;
  flex-direction:column;
  gap:.35rem;
}
.hero-flyer .detail {
  padding: 18px;
}
.hero-flyer .detail h3 {
  margin: 0 0 6px;
}
.hero-flyer .details .btn.cta {
  margin-top: auto;
  min-width: 220px;
  /* same width buttons */
  text-align: center;
}
/* Description */
.hero-flyer .blurb {
  margin-top: 12px;
}
.hero-flyer .blurb p {
  margin: 0;
}
/* Yellow highlight underline */
.hl {
  background: linear-gradient(transparent 55%, var(--hl-yellow) 0);
  padding: 0 2px;
}


@media (max-width: 640px) {
  
  .hero-flyer {
    --ticker-h: 40px;
    
}
.hero-flyer .details.grid {
  grid-template-columns: 1fr;
}
.hero-flyer .sketch {
  width: 240px;
}
.hero-flyer .details .btn.cta {
  width: 100%;
  min-width: 0;
}

}

/* End of styles.css */


/* ===== HOMEPAGE FLYER HERO – REFINEMENTS (kept at the very end) ===== */
.hero-flyer{
  --brand-red: #C82127;
  --brand-red-dark: #050303;
  --hl-yellow: #fff08a;
  --ticker-h: 44px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: var(--ticker-h);
  position: relative;
}

.hero-flyer .band{
  background: linear-gradient(
    0deg,
    #8B1D2C 0%,
    #8B1D2C 15%,
    #A51E29 35%,  /* mid-blend */
    #B91F28 60%, 
    #C82127 100%
  );
  color: #fff;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 40px 30px;
  border-radius: 0px;
  overflow: hidden;
}

/* Increase logo + church illustration to ~240px on desktop */
.hero-flyer .sketch{ width: 240px; height: auto; object-fit: contain; }

/* Headline + service line larger */
.hero-flyer h1{
  margin: 0;
  line-height: 1.05;
  letter-spacing: .5px;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 3.6vw + 1rem, 3.8rem);
}
.hero-flyer .service{
  margin: 8px 0 0;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.05rem, 1.4vw + .6rem, 1.4rem);
}

/* Three 'buttons' (chips) – same size, interactive but clearly not links */
.hero-flyer .chips{
  margin-top: 12px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-flyer .chip.as-btn{
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 2px solid rgba(255,255,255,.24);
  border-radius: 999px;
  padding: 12px 22px;
  min-width: 168px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: .2px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  cursor: default;
  text-decoration: none;
  box-shadow: 0 0 0 0 rgba(0,0,0,0);
}
.hero-flyer .chip.as-btn:hover{
  background: rgba(255,255,255,.18);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}

/* Description lives inside the red banner, below chips */
.hero-flyer .banner-desc{
  margin-top: 12px;
  font-weight: 500;
  line-height: 1.4;
}
.hero-flyer .banner-desc em{ font-style: normal; font-weight: 800; }

/* Detail cards buttons – equal sizing (full width) */
.hero-flyer .details{ margin-top: 16px; }
.hero-flyer .details .btn.cta{
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

/* Ticker at bottom */
.hero-flyer .ticker{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: var(--ticker-h);
  display: flex; align-items: center;
  background: #fff; color: #111;
  border-top: 1px solid rgba(0,0,0,.08);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  overflow: hidden;
}
.hero-flyer .ticker .track{
  display: inline-block;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
  will-change: transform;
}
.hero-flyer .ticker span{ padding-right: 2rem; }
@keyframes ticker-scroll{
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Responsive constraints for the bigger images */
@media (max-width: 1000px){
  .hero-flyer .sketch{ width: 160px; }
  .hero-flyer .band{ grid-template-columns: 1fr auto; }
}
@media (max-width: 640px){
  .hero-flyer{ --ticker-h: 40px; }
  .hero-flyer .sketch{ width: 120px; }
  .hero-flyer .details.grid{ grid-template-columns: 1fr; }
}

/* Equalize card heights + button sizes */
.hero-flyer .details { 
  gap: 16px; 
  align-items: stretch;         /* stretch all cards to the same track height */
  grid-auto-rows: 1fr;          /* each row’s cards share equal height */
}
.hero-flyer .detail { 
  display: flex; 
  flex-direction: column; 
}
.hero-flyer .detail .btn.cta{
  margin-top: auto;
  width: 100%;
  min-height: 48px;          /* identical height */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

/* Wide “Join Us” button (same height, wider footprint) */
.join-cta{
  min-height: 48px;             /* same height as .btn.cta above */
  gap: 12px;
  align-items: center;
}
.join-cta img{
  width: 28px; height: 28px; 
  border-radius: 6px;
}
.join-cta span{ line-height: 1.2; }

/* Make the wide button fill on small screens */
@media (max-width: 700px){
  .btn.wide { min-width: 0; width: 100%; }
}

/* === Home hero: 4 cards in one row, equal height === */
.hero-flyer .details.grid.grid-3{
  /* override the .grid-3 utility to be 4-up on desktop */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;               /* make all cards stretch to the row height */
}

/* Make each card a vertical flex box so footer content sits at the bottom */
.hero-flyer .detail{
  display: flex;
  flex-direction: column;
  padding: 18px;
}

/* Uniform CTA buttons in the first three cards */
.hero-flyer .detail .btn.cta{
  margin-top: auto;                   /* pins button to the bottom of the card */
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

/* Fourth card: image-only, same visual baseline as CTAs */
.hero-flyer .detail .homeheroimg{
  margin-top: auto;                   /* pushes image to the bottom like the buttons */
  align-self: center;
  width: 100%;
  max-width: 240px;                   /* adjust as you like */
  height: auto;
  border-radius: 12px;
  object-fit: contain;
}

/* Responsive: 2-up on tablet, 1-up on phones */
@media (max-width: 1024px){
  .hero-flyer .details.grid.grid-3{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px){
  .hero-flyer .details.grid.grid-3{ grid-template-columns: 1fr; }
}

/* === TICKER: anchor to bottom of the hero without extra scroll === */

/* Make the home section a flex column that fills the viewport */
section#home.hero,
section#home.hero.hero-flyer{
  display: flex;
  flex-direction: column;
  /* If you have a sticky header, use the calc() version: 
     min-height: calc(100vh - var(--header-h, 0px)); */
  min-height: 100vh;
}

/* Push the ticker to the bottom naturally (no absolute positioning) */
.hero-ticker{
  position: static !important;
  margin-top: auto;   /* this is the key */
}

/* Avoid stacked paddings that add extra space before the ticker */
#home, .hero, .hero-flyer{
  padding-bottom: 0 !important;
}

/* === HOME: remove top white space and start content at top === */

/* Stop vertical centering just for the home section */
section#home.full-height{
  align-items: flex-start !important;
}

/* Remove stacked top offsets */
section#home.hero{
  padding-top: 0 !important;      /* kills the 72px top padding */
}
.hero-overlay{
  top: 0 !important;              /* no extra offset */
}

/* If you want a tiny breathing room under the sticky header on wide screens, 
   uncomment the block below for ~8px of space. */
/*
@media (min-width: 700px){
  section#home.hero{ padding-top: 8px !important; }
  .hero-overlay{ top: 8px !important; }
}
*/

/* Keep ticker pinned but not overlapping content */
.hero-ticker{
  position: static !important;     /* from the earlier fix */
  margin-top: auto;                /* pushes ticker to bottom of the hero */
}

/* Footer logo + text side by side */
.footer-left {
  display: flex;
  align-items: center;       /* vertical centering with the text */
  gap: 16px;                 /* space between logo and text */
}

.footer-logo {
  max-width: 240px;          /* adjust size */
  height: auto;
  flex-shrink: 0;            /* prevent shrinking on smaller screens */
}

.footer-info {
  display: flex;
  flex-direction: column;
  justify-content: center;   /* aligns text with logo middle */
}

/* On smaller screens, stack logo above text */
@media (max-width: 1200px) {
  .footer-left {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-logo {
    margin-bottom: 12px;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 8px;
  font-size: 1rem;
}
.contact-form button {
  margin-top: 8px;
  align-self: flex-start;
}

.youtube-thumbnail {
  max-width: 60px;
  padding: 6px;
  align-self: center;
}

.youtube-thumbnail:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}

/* Mission & Vision: remove poster column -> center content */
.mission-vision.two-col {
  grid-template-columns: 1fr; /* single column */
  text-align: center;
}
.mission-vision .mv-cards,
.mission-vision .mv-points,
.mission-vision .mv-columns {
  margin-left: auto;
  margin-right: auto;
}
.mission-vision .mv-cards { max-width: 900px; }
.mission-vision .mv-columns { max-width: 900px; }
.mission-vision .mv-points { max-width: 680px; }

/* Zoom: long-row cards already supported by .zoom-card.full */

/* Board Members: spacing + grid polish */
#board h1 {
  margin-bottom: 8px;
}
#board .board-subhead {
  margin: 12px 0 10px;
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  color: var(--brand);
}
#board .board-grid .card h3 {
  margin-top: 0;
}
#board .board-grid .card {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

/* ===== Mission & Vision (self-contained; uses site vars if present) ===== */
.mv {
  --mv-red: var(--brand-red, #C82127);
  --mv-ink: var(--ink, #0b0b0b);
  --mv-border: var(--border, #e6e8eb);
  --mv-shadow: 0 12px 34px rgba(0,0,0,.10);
  --mv-shadow-hover: 0 18px 44px rgba(0,0,0,.14);
}

.mv__wrap {
  width: min(1100px, 92vw);
  margin-inline: auto;
  padding: 28px 16px 40px;
}

.mv__title {
  text-align: center;
  margin: 0 0 18px;
  font-weight: 800;
}
.mv__title::after {
  content: "";
  display: block;
  width: 110px;
  height: 6px;
  margin: 8px auto 0;
  background: #fff;         /* small white underline (per mock) */
  border-radius: 3px;
  opacity: .9;
}
/* Light list for red panels */
.mv__list--light {
  margin: 0;
  padding-left: 1.1rem;
}
.mv__list--light li { margin: .25rem 0; }

/* Middle row – three red chips */
.mv__chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 22px 0 8px;
}
.mv__chip {
  background: linear-gradient(
    180deg,
    #8B1D2C 0%,
    #610814 100%
  );
  color: #fff;
  border: 0;
  border-radius: 4px;
  height: 120px;
  font-weight: 1000;
  letter-spacing: .6px;
  text-transform: uppercase;
  cursor: default;
  box-shadow: var(--mv-shadow);
  font-size: 1.1rem;
}

/* Bottom row – two white cards */
.mv__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 18px;
}
.mv__card {
  background: #fff;
  border: 1px solid var(--mv-border);
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--mv-shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;    /* vertical centering */
  align-items: center;        /* horizontal centering */
  text-align: center;         /* keep text centered */
}
.mv__card h3 {
  margin: 0 0 8px;
  color: var(--mv-ink);
  font-weight: 800;
}
.mv__list {
  margin: 0;
  padding-left: 1.1rem;
}
.mv__list li { margin: .25rem 0; }

/* ===== Interactions & Motion ===== */
.mv__panel--interactive,
.mv__card--interactive,
.mv__chip--interactive {
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
  will-change: transform, box-shadow;
}
.mv__panel--interactive:hover,
.mv__card--interactive:hover,
.mv__chip--interactive:hover {
  transform: translateY(-3px);
  box-shadow: var(--mv-shadow-hover);
  filter: brightness(1.02);
}
.mv__panel--interactive:active,
.mv__card--interactive:active,
.mv__chip--interactive:active {
  transform: translateY(-1px) scale(.995);
}
.mv__panel--interactive:focus-visible,
.mv__card--interactive:focus-visible,
.mv__chip--interactive:focus-visible {
  outline: 3px solid rgba(199,154,0,.55);   /* gold-ish focus ring */
  outline-offset: 2px;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .mv__panel--interactive,
  .mv__card--interactive,
  .mv__chip--interactive {
    transition: none !important;
    transform: none !important;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .mv__panels { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .mv__chips  { grid-template-columns: 1fr; gap: 16px; }
  .mv__cards  { grid-template-columns: 1fr; }
  .mv__panel  { min-height: 220px; }
}

/* Mission & Vision header “window” with fixed image */
.mv-hero{
  /* thinner window */
  height: clamp(160px, 28vh, 240px);
  position: relative;
  overflow: hidden;           /* masks the image to the rounded box */
  border-radius: 18px;        /* set to 0 if you want square */
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

/* Center the title and add subtle outer glow */
.mv-hero__overlay{
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("assets/mission-vision-hero.jpg");
  background-repeat: no-repeat; /* Prevents the image from repeating */
  background-position: center center;
  background-size: cover;
}
.mv-hero__title{
  margin: 0;
  color: #fff;
  font-weight: 800;
  letter-spacing: .3px;
  font-size: clamp(1.6rem, 5vw, 3rem);
  text-align: center;
  text-shadow:
    0 2px 6px rgba(0,0,0,.55),
    0 0 12px rgba(0,0,0,.35); /* subtle black outer glow */
}

/* Mobile/iOS fallback (fixed backgrounds can be janky on some devices) */
@supports (-webkit-touch-callout: none) {
  .mv-hero{ background-attachment: scroll; } /* gracefully degrade */
}
@media (prefers-reduced-motion: reduce){
  .mv-hero{ background-attachment: scroll; }
}

/* ===== Zoom section v2 (scoped) ===== */
.zoom-grid.v2{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
}

/* shared card shell */
.zoom2.card{
  border-radius:14px;
  padding:20px;
  display:flex;
  flex-direction:column;
  box-shadow:0 16px 36px rgba(0,0,0,.10);
  transition:transform .2s ease, box-shadow .2s ease;
}
.zoom2.card:hover{
  transform:translateY(-3px);
  box-shadow:0 22px 50px rgba(0,0,0,.12);
}
.zoom2.card h3{ margin:0 0 6px; }

/* list formatting */
.zoom2 .meta{
  list-style:none;
  margin:8px 0 16px;
  padding:0;
}
.zoom2 .meta li{ margin:6px 0; }

/* top row look */
.zoom2.card.burgundy{
  background:var(--brand, #8B1D2C);
  color:#fff;
  border:0;
}
.zoom2.card.burgundy h3,
.zoom2.card.burgundy .muted{ color:#fff; }
.zoom2 .white-pill{
  background:#fff;
  color:var(--brand, #8B1D2C);
  border:3px solid #fff;
  font-weight:800;
  padding:10px 18px;
  border-radius:999px;
  align-self:flex-start;
  margin-top:auto; /* pin to bottom */
}

/* bottom row look */
.zoom2.card.white{
  background:#fff;
  border:1px solid var(--border, #e6e8eb);
  border-radius:12px;
}
.zoom2.card.white .body{ margin-bottom:10px; }
.btn.slim{ padding:10px 14px; align-self:flex-start; }

/* responsive */
@media (max-width:900px){
  .zoom-grid.v2{ grid-template-columns:1fr; }
}
/* ==== Mobile hero tweaks (no HTML changes) ==== */
@media (max-width: 640px) {
  /* Make the big red band a positioned container for absolute children */
  .hero-flyer .band {
    position: relative;                 /* anchor for abs-pos elements */
    padding-bottom: 120px;              /* room for bottom-left/right items */
  }

  /* 2) Let us position the individual corner items directly on the band */
  .hero-flyer .corner {
    position: static;                   /* stop being the positioning context */
    display: contents;                  /* don’t add extra layout chrome */
  }

  /* 3) Church icon bottom-left, large */
  .hero-flyer .sketch {
    position: absolute;
    left: 12px;
    bottom: 12px;
    width: 168px;                       /* nice and big */
    height: auto;
  }

  /* 4) Stack the small “Join us” and “ALL ARE WELCOME!” at bottom-right */
  .hero-flyer .mini-join {
    position: absolute;
    right: 12px;
    bottom: 56px;                       /* sits above the badge */
  }
  .hero-flyer .badge {
    position: absolute;
    right: 12px;
    bottom: 12px;                       /* directly below mini-join */
    display: inline-block;              /* ensure proper box for stacking */
  }

  /* 5) Give the hero’s button row more space above the ticker */
  .hero-flyer .details {
    margin-bottom: calc(var(--ticker-h, 44px) + 14px);
  }
}
@media (max-width: 640px) {
  footer {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Adjust donation graphics layout */
#donation .donation-graphics {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;               /* space between the two graphics */
  justify-content: center;
}
#donation .donation-graphics img,
#donation .donation-graphics iframe {
  max-width: 100%;
  height: auto;
  flex: 1 1 300px;         /* each graphic takes equal flexible space */
}

/* On narrow screens, stack with generous spacing */
@media (max-width: 640px) {
  #donation .donation-graphics {
    flex-direction: column;
    gap: 40px;             /* more breathing room when stacked */
  }
}

/* ===== Hero details row: 5-up layout + equal heights ===== */
.hero-flyer .details.grid.grid-3.eq {
  /* force five columns on wide screens */
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px; /* adjust if you want tighter/wider spacing */
}

/* Make all hero detail cards flex so CTAs pin to the bottom */
.hero-flyer .detail {
  display: flex;
  flex-direction: column;
}

/* Pin buttons to bottom inside each card (Zoom cards + Contact form) */
.hero-zoom .btn,
.hero-flyer .detail .btn {
  margin-top: auto;
}

/* Keep the Contact form tidy and equal height with neighbors */
.hero-flyer .detail .contact-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
}
.hero-flyer .detail .contact-form button {
  align-self: flex-start;
  margin-top: auto; /* sits at the bottom like other CTAs */
}

/* ===== Zoom card styling used in the hero row (in case not already present) ===== */
.hero-zoom .meta{
  list-style: none;
  margin: 8px 0 16px;
  padding: 0;
}
.hero-zoom .meta li{ margin: 6px 0; }

.hero-zoom.hero-zoom--burgundy{
  background: var(--brand, #8B1D2C);
  color: #fff;
  border: 0;
}
.hero-zoom.hero-zoom--burgundy h3,
.hero-zoom.hero-zoom--burgundy .muted{ color:#fff; }

.hero-zoom.hero-zoom--white{
  background:#fff;
  border:1px solid var(--border, #e6e8eb);
}

.btn.white-pill{
  background:#fff;
  color: var(--brand, #8B1D2C);
  border: 3px solid #fff;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn.slim{ padding: 10px 14px; }

/* ===== Responsive behavior =====
   (Desktop = 5-up; collapse gracefully on smaller widths) */
@media (max-width: 1100px){
  .hero-flyer .details.grid.grid-3.eq {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1200px){
  .hero-flyer .details.grid.grid-3.eq {
    grid-template-columns: 1fr;
  }
}

/* Full-bleed hero details row so 5 cards span the whole screen */
.hero-flyer .details.container{
  max-width: 99%;       /* cancel the 1100px cap */
  width: 100%;              /* fill the section */
  margin-inline: 0;         /* neutralize auto-centering from .container */
  padding-left: 8px;          /* optional: remove gutters for true edge-to-edge */
  padding-right: 8px;
  align-items: center;
  justify-content: center;
  margin-bottom: calc(var(--ticker-h, 8px) + 4px); /* room for ticker */
}

/* ===== MV rows: no bullets, larger, uppercase lines ===== */
.mv__rows {
  display: grid;
  grid-auto-rows: min-content;
  gap: 8px;                 /* space between rows */
  margin: 0;
  padding: 0;
}

.mv__row,
.mv__row--solo {
  text-transform: uppercase;
  font-weight: 450;
  letter-spacing: .3px;
  line-height: 1.35;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem); /* larger text */
  margin: 0;                /* behave like list rows, no bullets */
}

/* if your chips are very tall (e.g., 120px), add a little breathing room */
.mv__chips { margin: 24px 0; }


/* About dropdown: remove bullets + indent */
.dropdown-menu,
.dropdown-menu li {
  list-style: none;
}

.dropdown-menu {
  margin: 0;
  padding-left: 0;   /* prevent default left indent */
  /* keep your existing padding as-is, or set a clean vertical rhythm: */
  /* padding: 8px 0; */
}

/* Mobile, in case a different padding is applied there */
@media (max-width: 640px) {
  .dropdown-menu {
    list-style: none;
    margin: 0;
    padding-left: 0;
  }
}

/* ===== Board section (consolidated & centered) ===== */
.board-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;          /* breathing room on small screens */
}

#board .board-banner{
  display:flex;
  justify-content:center;
  margin:8px 0 18px;
}

#board .board-banner img{
  height:clamp(360px,32vh,480px); /* thin vertical banner */
  width:auto;
  border-radius:12px;
  box-shadow:var(--shadow,0 10px 30px rgba(0,0,0,.08));
  border:1px solid var(--border,#e6e8eb);
}

#board .board-subhead{
  margin:18px 0 10px;
  font-size:clamp(1.1rem,1.4vw,1.35rem);
  color:var(--brand,#8B1D2C);
}
/* Person cards: fill the card, center everything */
#board .board-grid .card.person{
  display:flex;              /* override any previous grid layout */
  flex-direction:column;
  align-items:center;        /* center content horizontally */
  text-align:center;         /* center text too */
  gap:8px;
  width: clamp(120px, 50vh, 800px);  max-width: 480px;          /* constrain max width */
  padding: 16px 12px 20px;
  margin: 0 0 16px;
}

/* Inner content wrapper */
#board .board-grid .card.person .text{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
}

/* Headshot */
#board .board-grid .card.person .board-photo{
  display:block;
  width:150px;
  height:150px;
  object-fit:cover;
  border-radius:12px;
  border:1px solid var(--border,#e6e8eb);
  box-shadow:var(--shadow,0 10px 30px rgba(0,0,0,.08));
  margin:6px 0 8px;
}

/* Tight, readable spacing */
#board .board-grid .card.person h3{ margin:0 0 6px; }
#board .board-grid .card.person p{  margin:0 0 6px; font-size: clamp(0.9rem, 1.2vw, 1rem);}

/* Responsive tweaks */
@media (max-width:700px){
  #board .board-banner img{
    height:clamp(220px,24vh,360px);
  }
  #board .board-grid .card.person .board-photo{
    width:96px; height:96px; border-radius:10px;
  }
}

/* ===== Padlet embed (boxed, responsive, theme-aligned) ===== */
.padlet-embed{
  --padlet-h: clamp(460px, 70vh, 820px);
  border: 1px solid var(--border, #e6e8eb);
  border-radius: 12px;
  background: var(--surface-alt, #f7f7f7);
  overflow: hidden;
  box-shadow: var(--shadow, 0 10px 30px rgba(0,0,0,.08));
}

.padlet-embed iframe{
  display: block;
  width: 100%;
  height: var(--padlet-h);
  border: 0;
}

/* keep the attribution tidy and right-aligned */
.padlet-embed .padlet-attrib{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 28px;
  padding-inline: 8px;
  background: rgba(0,0,0,.02);
}

.padlet-embed .padlet-attrib img{
  display: block;
}

/* optional: full-bleed variant (uncomment to span the whole screen)
.padlet-embed.is-fullbleed{
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}
*/

/* mobile tuning */
@media (max-width: 640px){
  .padlet-embed{ --padlet-h: 72vh; }
}

/* ===== Global site wallpaper (excludes hero, donate, footer) ===== */
:root {
  --wallpaper: linear-gradient(rgba(255,255,255,0.12), rgba(255,255,255,0.12)), url("assets/background.jpg");
}

/* Fixed full-screen layer behind the page */
.site-wallpaper {
  position: fixed;
  inset: 0;
  z-index: -1;                 /* behind all content */
  background-image: var(--wallpaper);
  background-size: cover;       /* stretch across the full screen */
  background-repeat: no-repeat;
  background-position: center top; /* left-heavy art looks best centered-left */
  pointer-events: none;
  will-change: transform;
}

/* Ensure excluded sections cover the wallpaper */
.hero-flyer,            /* hero */
.site-footer, footer {  /* footer */
  position: relative;
  background: #fff;     /* or your section’s own bg color */
}

/* Optional: soften the wallpaper for readability */
.main-content {
  position: relative;
}
.main-content::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(transparent, transparent); /* no tint by default */
  /* Example subtle tint (uncomment if text needs contrast):
  background: rgba(255,255,255,0.04);
  */
}
/* Hide any element toggled with [hidden] */
[hidden] { display: none !important; }

/* Compose tilt with your existing transforms (hover lifts, etc.) */
.card, .bubble, .flyer, .gallery a { transform: var(--tilt, none); }

/* Optional: ripple visual (if you don't already style it) */
.btn { position: relative; overflow: hidden; }
.btn .ripple { position: absolute; inset: 0; pointer-events: none; }
.btn.rippling::after{
  content:""; position:absolute; inset:0; border-radius:inherit;
  animation: ripple .5s ease-out;
}
@keyframes ripple {
  from { box-shadow: 0 0 0 0 rgba(255,255,255,.35); }
  to   { box-shadow: 0 0 0 28px rgba(255,255,255,0); }
}

@media (min-width: 641px){
  .dropdown:hover .dropdown-menu { display:block; }
}

/* ===== Minimal Section Layout ===== */
.section { padding: 64px 0; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

h2 { margin: 0 0 6px; font-size: clamp(1.6rem, 2.5vw, 2.2rem); }
h3 { margin: 24px 0 8px; font-size: clamp(1.1rem, 2vw, 1.3rem); }
.eyebrow { margin: 0 0 16px; opacity: .8; }

/* Inline image block (large rectangle) */
.float-right {
  width: min(44%, 520px);
  margin: 8px 0 18px 24px;       /* keep some breathing room */
  padding: 2px;
  float: right;                   /* inline with text */
  text-align: center;
}
.float-right img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;          /* rectangular space */
  object-fit: cover;
}

.float-right figcaption {
  font-size: .9rem;
  opacity: .75;
  margin-top: 8px;
}

/* Standouts kept simple */
.pullquote {
  margin: 20px 0;
  padding: 12px 16px;
  text-align: center;
  border-left: 4px solid currentColor;
  border-right: 4px solid currentColor;
  background: rgba(0,0,0,.03);
}

.pullquote:hover {
  transition: 0.2s;
  text-shadow:
  0 0 4px #fff,        /* close white glow */ 
  0 0 24px #ffe96d;    /* stronger golden outer glow */
}

.standout {
  letter-spacing: .04em;
  font-weight: 800;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
}

/* Dividers */
.divider {
  border: 0;
  border-top: 1px solid rgba(0,0,0,.15);
  margin: 18px 0;
}

/* Mobile: stack the image above text and remove float */
@media (max-width: 820px){
  .float-right {
    float: none;
    width: 100%;
    margin: 0 0 18px 0;
  }
}

/* ===== Lightweight reveal effect (plain, no libraries) ===== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* hide the extra logo on desktop */
.hero-mobile-logo { display: none; }

/* Mobile: logo spans the height of all three buttons */
@media (max-width: 640px) {
  /* force grid on this row (beats any earlier flex rules) */
  .hero-flyer .chips {
    display: grid !important;
    grid-template-columns: 135px 1fr;         /* BIG logo | stacked chips */
    grid-template-rows: repeat(3, auto);      /* exactly 3 rows for the chips */
    grid-auto-flow: row;
    gap: 8px 12px;                             /* row gap | column gap */
    align-items: stretch;                      /* rows define the height */
    margin-bottom: 12px;
  }

  /* the logo: show it, make it tall, center it */
  .hero-flyer .chips .hero-mobile-logo {
    display: block;
    grid-column: 1;
    grid-row: 1 / -1;                          /* span all chip rows */
    align-self: stretch;
    justify-self: center;
    width: 135px;                               /* tweak 96–128px to taste */
    height: 100%;
    object-fit: contain;                        /* keep aspect while filling height */
  }

  /* put every chip in the right column and make them a bit smaller */
  .hero-flyer .chips > *:not(.hero-mobile-logo) {
    grid-column: 2;
    width: 100%;
  }
  .hero-flyer .chips .chip.as-btn {
    font-size: clamp(0.85rem, 3.2vw, 0.95rem);
    padding: 10px 12px;                         /* slimmer pill to fit next to logo */
  }
  .hero-flyer .banner-desc {
    padding-bottom: 12px;
    margin-bottom: 12px;
  }
  .hero-flyer .corner .badge, .hero-flyer .corner .mini-join {
    margin: 4px;
    margin-bottom: 12px;
  }
  .hero-flyer .band-inner {
    padding-bottom: 16px;
    margin-bottom: 12px;
    margin-top: 12px;  /* space above the chips */
  }
}


  