/* Hope City · v2 — dark worship stage, violet light, massive condensed type.
   Vanilla CSS, mobile-first. */
:root {
  --night: #07070f;
  --navy: #0c1030;
  --navy-2: #141a46;
  --violet: #7c4dff;
  --violet-2: #a17bff;
  --lilac: #d9ccff;
  --stone: #e9e6e1;       /* VOUS-like warm grey for light sections */
  --stone-2: #dcd8d1;
  --ink: #121212;
  --muted: #5d5a55;
  --white: #fff;
  --wrap: 1240px;
  --gut: clamp(1.25rem, 4vw, 3rem);
  --ease: cubic-bezier(.22,.8,.2,1);
  --spring: cubic-bezier(.34,1.45,.5,1);
  --display: "Anton", "Bebas Neue", Impact, "Arial Narrow Bold", sans-serif;
  --sans: "Inter Tight", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cg fill='none' stroke='%23a17bff' stroke-width='1.2'%3E%3Cpath d='M28 1 54 16v30L28 61 2 46V16z'/%3E%3Cpath d='M28 61v36M2 46 -24 61M54 46l26 15'/%3E%3C/g%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55; color: var(--ink); background: var(--stone); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -100px; z-index: 200; background: #fff; color: #000; padding: .75rem 1.1rem; border-radius: 8px; font-weight: 600; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.skip:focus { top: 1rem; }
main:focus { outline: none; }
/* Focus ring: violet on light sections (3.9:1 vs stone), white on dark/photo sections */
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.hdr :focus-visible, .menu :focus-visible, .hero :focus-visible, .band :focus-visible, .minis :focus-visible, .series :focus-visible,
.prayer :focus-visible, .ftr :focus-visible, .skip:focus-visible { outline-color: #fff; }
.skip:focus-visible { outline-color: var(--violet); }

.mono { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.label { display: inline-flex; align-items: center; gap: .7rem; color: var(--muted); margin-bottom: 1.25rem; }
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.label.light { color: rgba(255,255,255,.72); }
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: -.005em; line-height: .86; }
.h-xl { font-family: var(--sans); font-weight: 500; font-size: clamp(2.4rem, 6.4vw, 4.75rem); line-height: .98; letter-spacing: -.035em; }
.h-xl.light { color: #fff; }

/* Pills (VOUS-style mono buttons) */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; height: 44px; padding: 0 1.35rem; border-radius: 999px;
  font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); }
.pill svg { width: 16px; height: 16px; fill: currentColor; }
.pill-lg { height: 54px; padding: 0 1.7rem; font-size: .78rem; }
.pill-violet { background: var(--violet); color: #fff; }
.pill-violet:hover { background: #fff; color: var(--night); }
.pill-light { background: rgba(255,255,255,.94); color: var(--ink); }
.pill-light:hover { background: var(--violet); color: #fff; }
.pill-dark { background: var(--ink); color: #fff; }
.pill-dark:hover { background: var(--violet); }
.pill-outline { border-color: rgba(18,18,18,.35); color: var(--ink); }
.pill-outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.pill:active { transform: scale(.97); }
.arr { position: relative; display: inline-block; width: 26px; height: 1px; background: currentColor; transition: width .35s var(--ease); }
.arr::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.pill:hover .arr { width: 38px; }

/* Header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 60; color: #fff; transition: background-color .4s var(--ease), color .4s var(--ease), transform .45s var(--ease); }
.hdr.solid { background: rgba(7,7,15,.82); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); }
.hdr.hide { transform: translateY(-100%); }
.hdr.hide:focus-within { transform: none; }
.hdr-in { display: grid; grid-template-columns: 1fr auto; align-items: center; height: 64px; padding: 0 var(--gut); max-width: 1440px; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; height: 34px; width: auto; }
.hdr-nav { display: none; }
.hdr-right { display: flex; align-items: center; gap: 1rem; justify-self: end; }
.hdr-cta { display: none; }
.burger { position: relative; width: 40px; height: 40px; border: 0; background: none; color: inherit; cursor: pointer; z-index: 80; }
.burger span { position: absolute; right: 6px; height: 2px; background: currentColor; transition: transform .45s var(--ease), width .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 15px; width: 28px; }
.burger span:last-child { top: 23px; width: 18px; }
.burger:hover span:last-child { width: 28px; }
.menu-open .burger span:first-child { top: 19px; width: 26px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 19px; width: 26px; transform: rotate(-45deg); }
.menu-open .hdr { background: transparent; backdrop-filter: none; color: #fff; transform: none; }
.menu-open { overflow: hidden; }

.menu { position: fixed; inset: 0; z-index: 55; background: var(--night); color: #fff; display: grid; grid-template-rows: 1fr auto; padding: 96px var(--gut) 2rem;
  clip-path: circle(0% at calc(100% - 44px) 32px); transition: clip-path .7s var(--ease); visibility: hidden; }
.menu-open .menu { clip-path: circle(150% at calc(100% - 44px) 32px); visibility: visible; }
.menu-hex { position: absolute; inset: 0; background-image: var(--hex); background-size: 56px 97px; opacity: .08; mask-image: radial-gradient(70% 60% at 80% 20%, #000, transparent); -webkit-mask-image: radial-gradient(70% 60% at 80% 20%, #000, transparent); }
.menu-links { position: relative; display: grid; align-content: center; gap: .2rem; }
.menu-links a { font-family: var(--display); font-size: clamp(2.8rem, 11vw, 5.5rem); line-height: 1.02; text-transform: uppercase; text-decoration: none; display: flex; align-items: flex-start; gap: .8rem;
  opacity: 0; transform: translateY(30px); transition: opacity .5s var(--ease), transform .6s var(--ease), color .3s; }
.menu-links a small { font-family: var(--mono); font-size: .7rem; color: var(--violet-2); padding-top: .9em; }
.menu-links a:hover { color: var(--violet-2); }
.menu-open .menu-links a { opacity: 1; transform: none; }
.menu-open .menu-links a:nth-child(1) { transition-delay: .18s; } .menu-open .menu-links a:nth-child(2) { transition-delay: .23s; }
.menu-open .menu-links a:nth-child(3) { transition-delay: .28s; } .menu-open .menu-links a:nth-child(4) { transition-delay: .33s; }
.menu-open .menu-links a:nth-child(5) { transition-delay: .38s; }
.menu-foot { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; color: rgba(255,255,255,.7); font-size: .9rem; }

/* HERO */
.hero { position: relative; height: 100svh; min-height: 620px; color: #fff; background: var(--night); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center center; transform: scale(1.02); animation: heroIn 2.2s var(--ease) forwards; }
@keyframes heroIn { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7,7,15,.55) 0%, rgba(7,7,15,0) 22%, rgba(7,7,15,0) 45%, rgba(7,7,15,.88) 88%, var(--night) 100%),
    linear-gradient(90deg, rgba(12,16,48,.55), rgba(12,16,48,0) 60%),
    radial-gradient(80% 60% at 70% 30%, rgba(124,77,255,.28), rgba(124,77,255,0) 70%); }
.hero-type { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-62%); display: grid; padding: 0 calc(var(--gut) * .6); pointer-events: none; }
.ht { display: block; font-family: var(--display); text-transform: uppercase; line-height: .84; letter-spacing: -.01em; white-space: nowrap; color: #fff;
  font-size: clamp(4rem, 24vw, 22rem); opacity: 0; transform: translateY(40px); animation: rise 1.1s var(--ease) forwards; }
.ht-1 { animation-delay: .25s; }
.ht-2 { justify-self: end; margin-top: .06em; font-size: clamp(4.4rem, 29vw, 22rem); animation-delay: .4s; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.92); }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--gut) clamp(1.5rem, 5vh, 3rem); display: grid; gap: 1.5rem; align-items: end; max-width: 1440px; margin: 0 auto;
  opacity: 0; animation: rise 1s .7s var(--ease) forwards; }
.kicker { color: var(--lilac); margin-bottom: .8rem; }
.hero h1 { font-weight: 500; font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1.04; letter-spacing: -.03em; margin-bottom: 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.4rem; }
.hero-quiet { font-size: .92rem; color: rgba(255,255,255,.78); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.hero-quiet:hover { color: #fff; border-color: #fff; }
.glass { display: none; }
.rail { display: none; }

/* INTRO */
.intro { background: var(--stone); padding: clamp(5rem, 12vw, 9rem) 0 0; overflow: hidden; }
.intro-in { text-align: center; display: grid; justify-items: center; }
.intro-big { font-weight: 500; font-size: clamp(1.6rem, 4.2vw, 3.1rem); line-height: 1.12; letter-spacing: -.03em; max-width: 24ch; margin-bottom: 2.2rem; }
.intro-big em { font-style: normal; color: var(--violet); }
.marquee { position: relative; margin-top: clamp(4rem, 10vw, 7rem); border-block: 1px solid rgba(18,18,18,.12); padding: 1.1rem 0; overflow: hidden; }
.marquee-track { display: flex; align-items: center; gap: 2.2rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span:not(.hex-dot) { font-family: var(--display); font-size: clamp(1.6rem, 3.5vw, 2.6rem); line-height: 1; text-transform: uppercase; color: var(--ink); }
.hex-dot { width: 14px; height: 16px; background: var(--violet); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* SECTION HEAD */
.sec-head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }

/* SUNDAY — card-stack hover */
.sunday { background: var(--stone); padding: clamp(5rem, 11vw, 8rem) 0 clamp(4rem, 9vw, 6rem); overflow: hidden; }
.stacks { display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 1.6rem; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gut) * -1); padding: 1.5rem var(--gut) 1rem; scrollbar-width: none; }
.stacks::-webkit-scrollbar { display: none; }
.stack-card { scroll-snap-align: center; }
.stack-card h3 { font-weight: 500; font-size: 1.6rem; letter-spacing: -.02em; margin-top: 1.6rem; }
.stack-card p { color: var(--muted); margin-top: .3rem; }
.stack { position: relative; aspect-ratio: 4 / 5; cursor: pointer; border-radius: 18px; }
.stack:focus-visible { outline-offset: 8px; }
.stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 18px; box-shadow: 0 30px 50px -28px rgba(7,7,15,.55);
  transition: transform .7s var(--spring), filter .5s var(--ease); transform-origin: 50% 90%; }
.stack img:nth-child(1) { transform: rotate(-5deg) translate(-4%, 2%) scale(.94); filter: brightness(.82); }
.stack img:nth-child(2) { transform: rotate(4deg) translate(4%, 1%) scale(.96); filter: brightness(.9); }
.stack img:nth-child(3) { transform: none; }
.stack:hover img:nth-child(1), .stack:focus-visible img:nth-child(1), .stack.fan img:nth-child(1) { transform: rotate(-11deg) translate(-26%, 3%) scale(.9); filter: none; }
.stack:hover img:nth-child(2), .stack:focus-visible img:nth-child(2), .stack.fan img:nth-child(2) { transform: rotate(10deg) translate(26%, 2%) scale(.9); filter: none; }
.stack:hover img:nth-child(3), .stack:focus-visible img:nth-child(3), .stack.fan img:nth-child(3) { transform: translateY(-4%) scale(1.02); }

.strip { position: relative; margin-top: clamp(4rem, 9vw, 6.5rem); overflow: hidden; }
.strip-track { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.strip:hover .strip-track, .strip:focus-within .strip-track { animation-play-state: paused; }
.strip img { height: clamp(220px, 32vw, 380px); width: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.strip img.w { aspect-ratio: 3 / 2; }

/* BAND */
.band { position: relative; min-height: 78vh; display: grid; align-items: end; color: #fff; overflow: hidden; isolation: isolate; background: var(--night); }
.band-img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; z-index: -2; will-change: transform; }
.band-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,7,15,.15), rgba(7,7,15,.82)), linear-gradient(90deg, rgba(12,16,48,.6), rgba(12,16,48,0)); }
.band-in { padding-block: clamp(4rem, 10vw, 7rem); }
.band-title { font-size: clamp(4.2rem, 15vw, 13rem); }

/* MINISTRIES — FB signature treatment */
.minis { background: var(--night); color: #fff; padding: clamp(5rem, 11vw, 8rem) 0 clamp(3rem, 8vw, 5rem); overflow: hidden; position: relative; }
.minis::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 40% at 85% 8%, rgba(124,77,255,.25), transparent 70%); pointer-events: none; }
.minis-head { position: relative; display: grid; gap: 2rem; margin-bottom: clamp(3rem, 8vw, 5rem); }
.minis-head .h-xl { margin: 0; }

.tabs { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); justify-self: start; }
.tabs-ind { position: absolute; top: 5px; bottom: 5px; left: 5px; width: 0; border-radius: 999px; background: #fff; transition: transform .55s var(--spring), width .55s var(--spring); }
.tab { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: .7rem 1.15rem; border-radius: 999px; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); text-decoration: none; transition: color .4s var(--ease); white-space: nowrap; }
.tab.is-on { color: var(--ink); }
.tabs-dark { background: rgba(18,18,18,.06); border-color: rgba(18,18,18,.1); }
.tabs-dark .tabs-ind { background: var(--ink); }
.tabs-dark .tab { color: var(--muted); }
.tabs-dark .tab.is-on { color: #fff; }

.mini { position: relative; display: grid; padding-top: clamp(3.5rem, 9vw, 7rem); margin-bottom: clamp(3rem, 8vw, 6rem); scroll-margin-top: 80px; }
.mini-photo { position: relative; margin: 0 var(--gut); border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; }
.mini-photo picture { display: block; width: 100%; height: 100%; }
.mini-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.02); transition: transform 1.4s var(--ease); }
.mini-photo.in img { transform: scale(1); }
.mini-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,16,48,.35), rgba(7,7,15,0) 40%, rgba(7,7,15,.55)); mix-blend-mode: multiply; }
.mini-word { position: absolute; left: 0; right: 0; top: 0; margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .8;
  font-size: clamp(5rem, 28vw, 21rem); letter-spacing: -.01em; white-space: nowrap; pointer-events: none; display: flex; padding: 0 calc(var(--gut) * .5); }
.mini-word span { display: inline-block; transform: translateX(var(--shift, 0)); transition: transform .2s linear; }
.mini-b .mini-word { justify-content: center; }
.mini-d .mini-word { justify-content: flex-start; }
.mini-c .mini-word { justify-content: flex-end; font-size: clamp(4.4rem, 22vw, 17rem); }
.mini-copy { position: relative; margin-top: 1.8rem; display: grid; gap: .6rem; }
.mini-copy p:not(.label) { font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.35; letter-spacing: -.015em; max-width: 34ch; color: rgba(255,255,255,.9); }
.mini-copy .label { margin-bottom: .4rem; }
.mini-note { color: var(--lilac) !important; font-size: 1.05rem !important; }

/* SERIES */
.series { position: relative; color: #fff; background: var(--navy); overflow: hidden; isolation: isolate; padding: clamp(6rem, 16vw, 11rem) 0; }
.series-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; filter: grayscale(1) contrast(1.15) brightness(.55); }
.series-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(120deg, rgba(12,16,48,.94) 25%, rgba(46,24,120,.72) 70%, rgba(124,77,255,.45)); }
.hex-field { position: absolute; inset: 0; z-index: -1; background-image: var(--hex); background-size: 56px 97px; opacity: .22;
  mask-image: radial-gradient(55% 70% at 85% 50%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(55% 70% at 85% 50%, #000 0%, transparent 75%); }
.hex-field.soft { opacity: .14; }
.series-title { display: grid; font-size: clamp(4.2rem, 16vw, 14rem); margin-bottom: 2.2rem; }
.series-title .outline { color: transparent; -webkit-text-stroke: 2px #fff; }
.series-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; }
.series-row p { font-size: 1.15rem; color: rgba(255,255,255,.82); max-width: 30ch; }

/* NEXT STEPS — photo + overlapping cards */
.steps { background: var(--stone); padding: clamp(5rem, 11vw, 8rem) 0; }
.steps-grid { display: grid; }
.steps-photo { border-radius: 4px; overflow: hidden; aspect-ratio: 1 / 1; }
.steps-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.steps-cards { display: grid; gap: 12px; margin-top: -2.5rem; padding: 0 .9rem; position: relative; }
.step { display: grid; gap: .5rem; padding: 1.6rem 1.5rem 1.4rem; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); text-decoration: none; color: var(--ink);
  box-shadow: 0 20px 40px -26px rgba(7,7,15,.45); transition: transform .5s var(--ease), background-color .4s var(--ease), color .4s var(--ease); }
.step:hover { transform: translateX(-8px); background: var(--night); color: #fff; }
.step-n { color: var(--violet); }
.step h3 { font-weight: 500; font-size: 1.55rem; letter-spacing: -.025em; }
.step p { color: inherit; opacity: .7; font-size: .98rem; }
.step-link { display: flex; align-items: center; gap: .9rem; margin-top: .6rem; }
.line { position: relative; display: block; width: 90px; height: 1px; background: currentColor; transition: width .5s var(--ease); }
.line::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.step:hover .line { width: 130px; }

/* PRAYER */
.prayer { position: relative; overflow: hidden; isolation: isolate; color: #fff; text-align: center; padding: clamp(6rem, 14vw, 10rem) 0;
  background: radial-gradient(80% 90% at 50% 120%, #7c4dff 0%, #3b1f9e 40%, var(--navy) 75%); }
.prayer .hex-field { mask-image: radial-gradient(60% 60% at 50% 100%, #000, transparent 80%); -webkit-mask-image: radial-gradient(60% 60% at 50% 100%, #000, transparent 80%); }
.prayer-in { display: grid; justify-items: center; }
.prayer-title { font-size: clamp(3.8rem, 13vw, 11rem); margin-bottom: 1.6rem; }
.prayer-sub { font-size: 1.2rem; color: rgba(255,255,255,.85); max-width: 32ch; margin-bottom: 2.2rem; }

/* VISIT */
.visit { background: var(--stone); padding: clamp(5rem, 11vw, 8rem) 0; }
.visit-grid { display: grid; gap: 3rem; align-items: center; }
.visit-copy .h-xl { margin-bottom: 2rem; }
.svc { display: grid; gap: 1rem; margin-bottom: 2rem; }
.svc-count { display: grid; gap: .2rem; }
.svc-count .mono { color: var(--muted); }
.svc-count strong { font-weight: 500; font-size: 1.35rem; letter-spacing: -.02em; transition: opacity .3s; }
.facts { display: grid; margin: 0 0 2rem; border-top: 1px solid rgba(18,18,18,.14); }
.facts div { display: grid; gap: .2rem; padding: 1rem 0; border-bottom: 1px solid rgba(18,18,18,.14); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-size: 1.1rem; }
.facts a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.facts a:hover { background-size: 100% 1px; }
.visit-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.visit-photo { position: relative; display: block; border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 3; }
.visit-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.visit-photo:hover img { transform: scale(1.04); }
/* compact, bottom-right: keeps the kneeling woman (centre-left) clear */
.visit-tag { position: absolute; left: auto; right: 1rem; bottom: 1rem; max-width: calc(100% - 2rem); display: grid; gap: .2rem; padding: 1rem 1.2rem; border-radius: 16px; color: #fff;
  background: rgba(7,7,15,.45); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.visit-tag strong { font-weight: 500; font-size: 1.1rem; }

/* FOOTER */
.ftr { background: var(--night); color: rgba(255,255,255,.75); padding-top: clamp(4rem, 9vw, 6rem); overflow: hidden; }
.ftr-top { display: grid; gap: 3rem; }
.ftr-logo img { display: block; height: 52px; width: auto; margin-bottom: 1.6rem; }
.ftr-line { color: #fff; font-weight: 500; font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.1; letter-spacing: -.03em; }
.ftr-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.ftr-cols div { display: grid; gap: .45rem; align-content: start; }
.ftr-cols .mono { color: var(--violet-2); margin-bottom: .4rem; }
.ftr-cols a { text-decoration: none; transition: color .3s; }
.ftr-cols a:hover { color: #fff; }
.ftr-word { font-family: var(--display); font-size: 25.5vw; line-height: .78; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.18); margin-top: 3.5rem; white-space: nowrap; letter-spacing: -.01em; user-select: none; }
.ftr-bottom { display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; padding-block: 1.6rem 2rem; font-size: .82rem; border-top: 1px solid rgba(255,255,255,.1); }

/* WhatsApp float */
.wa-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 50; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #1b8f4a; /* WhatsApp green darkened: white icon 4.1:1 (was 2:1) */ color: #fff;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.5); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .4s var(--ease), transform .5s var(--spring); }
.wa-float.show, .wa-float:focus-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ≥ 720 */
@media (min-width: 720px) {
  .stacks { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; overflow: visible; margin: 0; padding: 0; }
  .stack-card:nth-child(2) { margin-top: 4rem; }
  .minis-head { grid-template-columns: 1fr auto; align-items: end; }
  .mini-photo { aspect-ratio: 16 / 9; margin: 0 var(--gut); }
  .mini-a .mini-photo { margin-right: 18%; }
  .mini-b .mini-photo { margin-left: 18%; }
  .mini-c .mini-photo { margin-right: 10%; }
  .mini-d .mini-photo { margin-left: 10%; }
  .mini-copy { grid-template-columns: 1fr 1.4fr; align-items: start; }
  .mini-copy .label { grid-row: span 2; margin-top: .6rem; }
  .ftr-top { grid-template-columns: 1fr 1.3fr; }
  .mini-word { font-size: clamp(5rem, 24vw, 21rem); }
  .mini-c .mini-word { font-size: clamp(4.4rem, 19vw, 17rem); }
  .ftr-cols { grid-template-columns: repeat(3, 1fr); }
  .hero-foot { grid-template-columns: 1fr auto; }
  .glass { display: flex; align-items: center; gap: 1rem; max-width: 340px; padding: 1.1rem 1.3rem; border-radius: 18px; color: #fff; text-decoration: none;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
    transition: background-color .4s var(--ease), transform .5s var(--ease); }
  .glass:hover { background: rgba(255,255,255,.18); transform: translateY(-3px); }
  .glass > span:last-child { display: grid; gap: .15rem; }
  .glass .mono { color: var(--lilac); font-size: .66rem; }
  .glass strong { font-weight: 500; font-size: 1.15rem; letter-spacing: -.01em; }
  .glass-sub { font-size: .85rem; color: rgba(255,255,255,.72); }
  .glass-play { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--night); display: grid; place-items: center; transition: transform .5s var(--spring); }
  .glass:hover .glass-play { transform: scale(1.1); }
  .glass-play svg { width: 18px; height: 18px; fill: currentColor; margin-left: 2px; }
}

/* ≥ 1024 */
@media (min-width: 1024px) {
  .hdr-in { grid-template-columns: 1fr auto 1fr; height: 72px; }
  .hdr-nav { display: flex; gap: 2.2rem; font-size: .92rem; font-weight: 500; }
  .hdr-nav a { position: relative; text-decoration: none; opacity: .85; transition: opacity .3s; }
  .hdr-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
  .hdr-nav a:hover { opacity: 1; }
  .hdr-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
  .hdr-cta { display: inline-flex; height: 38px; }
  .hdr.solid .hdr-cta { background: var(--violet); color: #fff; }
  .rail { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 1rem; color: #fff; text-decoration: none; }
  .rail-l { left: calc(var(--gut) * .6); }
  .rail-r { right: calc(var(--gut) * .6); }
  .rail svg { width: 20px; height: 20px; fill: currentColor; transition: transform .3s var(--ease), color .3s; }
  .rail a:hover svg { transform: scale(1.15); color: var(--violet-2); }
  .rail-line { width: 1px; height: 60px; background: rgba(255,255,255,.6); }
  .rail { text-shadow: 0 0 10px rgba(7,7,15,.85), 0 1px 3px rgba(7,7,15,.7); }
  .rail-l a { display: grid; place-items: center; padding: 6px; margin: -6px; } /* 32px targets, same look */
  .rail-txt { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--mono); font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; }
  .rail-r .rail-txt { transform: none; }
  .rail-arrows { display: grid; gap: 3px; }
  .rail-arrows i { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 7px solid #fff; animation: blink 1.8s infinite; }
  .rail-arrows i:nth-child(2) { animation-delay: .2s; } .rail-arrows i:nth-child(3) { animation-delay: .4s; }
  @keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
  .hero-foot { padding-left: calc(var(--gut) + 3rem); padding-right: calc(var(--gut) + 3rem); }
  .hero-type { padding: 0 calc(var(--gut) + 3rem); transform: translateY(-66%); }
  .ht { font-size: clamp(5rem, 19vw, 20rem); }
  .ht-2 { font-size: clamp(5rem, 19vw, 20rem); }
  .steps-grid { grid-template-columns: 1fr 380px; align-items: center; }
  .steps-photo { grid-column: 1 / 2; grid-row: 1; aspect-ratio: 5 / 4; margin-right: -2rem; }
  .steps-cards { grid-column: 2; grid-row: 1; margin: 0 -2rem 0 0; padding: 0; }
  .visit-grid { grid-template-columns: 1.05fr 1fr; gap: 5rem; }
  .mini-copy { padding-left: calc(var(--gut) + 0px); }
}

/* Pause control for moving marquee/gallery (WCAG 2.2.2) */
.motion-btn { position: absolute; z-index: 2; right: var(--gut); width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border-radius: 50%; cursor: pointer;
  color: #fff; background: rgba(7,7,15,.72); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .3s var(--ease); }
.motion-btn:hover { background: var(--violet); }
.motion-btn svg { width: 14px; height: 14px; fill: currentColor; }
.motion-btn .i-play, .motion-paused .motion-btn .i-pause { display: none; }
.motion-paused .motion-btn .i-play { display: inline; }
.marquee .motion-btn { top: 50%; transform: translateY(-50%); }
.strip .motion-btn { bottom: 12px; }
.motion-paused .marquee-track, .motion-paused .strip-track { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee-track, .strip-track { animation: none !important; }
  .motion-btn { display: none; }
  .js .reveal { opacity: 1; transform: none; }
  .ht, .hero-foot { opacity: 1; transform: none; }
}

/* Photo framing per ministry */
.hero picture { display: contents; }

/* Spotify podcast links */
.ico-sp { width: 16px; height: 16px; fill: #1DB954 !important; flex: none; }
.pill .ico-sp { width: 20px; height: 20px; }
.step-link .ico-sp { width: 14px; height: 14px; margin-right: -.4rem; }
.glass-play.glass-sp svg.ico-sp { width: 46px; height: 46px; margin: 0; }
.glass-play.glass-sp { background: #000; }

/* 4 ministry tabs: keep the pill on one line on small phones */
@media (max-width: 479px) {
  .minis .tab { padding: .65rem .7rem; font-size: .64rem; letter-spacing: .08em; }
}

/* HOPE KIDS headline sits over a busy, bright photo: subtle shadow for legibility */
.mini-c .mini-word { text-shadow: 0 2px 18px rgba(7,7,15,.45), 0 1px 3px rgba(7,7,15,.35); }

/* WhatsApp float floats over light and dark sections: two-tone focus ring */
.ftr .wa-float:focus-visible { outline-color: var(--violet); box-shadow: 0 0 0 3px #fff, 0 14px 30px -10px rgba(0,0,0,.5); }

/* Cookie consent (only rendered on hopecity.mx) — small, non-modal, clears the WhatsApp button */
.consent { position: fixed; z-index: 60; left: .75rem; right: calc(1rem + 54px + .75rem); bottom: 1rem;
  display: grid; gap: .85rem; padding: 1rem 1.1rem; border-radius: 14px; color: #fff;
  background: rgba(10,10,24,.94); border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 50px -12px rgba(0,0,0,.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.consent[hidden] { display: none; }
.consent-text { margin: 0; font-size: .9rem; line-height: 1.45; color: rgba(255,255,255,.88); }
.consent-text .hex-dot { display: inline-block; width: 9px; height: 10px; margin-right: .55rem; vertical-align: .05em; background: var(--violet-2); }
.consent-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.consent-btn { flex: 1 1 auto; min-height: 44px; padding: 0 1.2rem; border-radius: 999px; font: 600 .8rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.consent-no { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.consent-no:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.consent-yes { background: var(--violet); color: #fff; border: 1px solid var(--violet); }
.consent-yes:hover { background: #fff; color: var(--night); border-color: #fff; }
.consent :focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (min-width: 720px) {
  .consent { right: auto; left: 1.5rem; bottom: 1.5rem; max-width: 560px; grid-template-columns: 1fr auto; align-items: center; gap: 1.2rem; padding: 1rem 1rem 1rem 1.3rem; }
  .consent-btn { flex: 0 0 auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .consent { transform: translateY(12px); opacity: 0; transition: transform .45s var(--ease), opacity .45s var(--ease); }
  .consent.is-in { transform: none; opacity: 1; }
}
.ftr-cookies { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ftr-cookies:hover { color: #fff; }
