/* Brighter Level Ministry: its own page with its own signature. Arched, window-like photo frames,
   slow rays of light, a verse that fills with light as you scroll, and a path that draws itself. */

/* ---------- hero ---------- */
.mhero { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(28px, 4vw, 56px) clamp(72px, 9vw, 130px); background-color: var(--bg); color: var(--text); }
.mhero__rays { position: absolute; left: 50%; top: -40%; z-index: -1; width: 180vmax; aspect-ratio: 1; translate: -50% 0; background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(242, 165, 38, .13) 0deg 3deg, transparent 3deg 11deg); -webkit-mask: radial-gradient(closest-side, #000 8%, transparent 62%); mask: radial-gradient(closest-side, #000 8%, transparent 62%); animation: rays 120s linear infinite; }
.mhero::after { content: ""; position: absolute; left: 50%; top: -20%; z-index: -1; width: 70vmax; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 208, 107, .22), transparent); }
@keyframes rays { to { rotate: 360deg; } }
.mhero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.mhero .crumbs { margin-bottom: 30px; }
.mlock { display: inline-flex; align-items: center; gap: 14px; animation: up .9s var(--ease) both; }
.mlock img { width: 40px; height: auto; }
.mlock span { display: flex; flex-direction: column; font-family: var(--display); font-size: 2rem; font-weight: 800; letter-spacing: -.03em; line-height: .9; color: var(--amber); }
.mlock small { font-size: .82rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--text); }
.mhero h1 { margin-top: 26px; max-width: 13ch; font-size: clamp(2.8rem, 6.6vw, 6.2rem); font-weight: 800; letter-spacing: -.045em; line-height: .96; animation: up .9s var(--ease) .08s both; }
.mhero .lede { margin-top: 26px; max-width: 46ch; animation: up .9s var(--ease) .16s both; }
.mhero .btn-row { margin-top: 32px; animation: up .9s var(--ease) .24s both; }
.mhero__media { position: relative; aspect-ratio: 4 / 5; }
.arch { position: absolute; overflow: hidden; border-radius: 999px 999px 28px 28px; background-color: var(--bg-3); box-shadow: 0 40px 80px rgba(0, 0, 0, .45); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--big { inset: 0 16% 8% 0; border: 1px solid rgba(255, 208, 107, .35); animation: arch-rise 1.4s var(--ease-io) .1s both; }
.arch--small { right: 0; bottom: 0; width: 44%; aspect-ratio: 3 / 4; border: 6px solid var(--bg); animation: arch-rise 1.4s var(--ease-io) .35s both; }
.mhero__cross { --ico-cast: rgba(242, 165, 38, .55); position: absolute; left: 4%; top: 6%; animation: pop .8s var(--ease) 1s both, float 6s ease-in-out 2s infinite; }
.mhero__cross svg { width: 115px; height: 115px; }
@keyframes arch-rise { from { clip-path: inset(100% 0 0 0 round 999px 999px 28px 28px); transform: translateY(40px); } to { clip-path: inset(0 0 0 0 round 999px 999px 28px 28px); } }
@keyframes float { 50% { translate: 0 -12px; } }

/* ---------- verse: pinned, words fill with light ---------- */
.verse { position: relative; height: 220vh; background-color: var(--bg); }
.verse__pin { position: sticky; top: 0; display: grid; place-items: center; height: 100vh; height: 100svh; overflow: clip; text-align: center; }
.verse__beam { position: absolute; left: 50%; top: 0; width: 2px; height: 100%; translate: -50% 0; background: linear-gradient(transparent, var(--amber) 40%, transparent); transform: scaleY(var(--beam, 0)); transform-origin: top; }
.verse__beam::after { content: ""; position: absolute; left: 50%; top: 40%; width: 60vmin; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 165, 38, .2), transparent); }
.verse blockquote { position: relative; }
.verse p { max-width: 14ch; margin-inline: auto; font-family: var(--display); font-size: clamp(2.8rem, 8vw, 7.6rem); font-weight: 800; letter-spacing: -.045em; line-height: .98; }
.verse .w { transition: filter .4s var(--ease), color .4s; }
.verse.is-live .w:not(.is-lit) { filter: opacity(.18); }
.verse .w:last-of-type { color: var(--gold); }
.verse footer { margin-top: 28px; font-size: 1rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.verse.is-static { height: auto; padding-block: var(--section); }
.verse.is-static .verse__pin { position: static; height: auto; }

/* ---------- who we serve: arched cards, staggered ---------- */
.aud__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(40px, 5vw, 72px); }
.aud__card { display: flex; flex-direction: column; min-height: 420px; padding: clamp(28px, 3vw, 40px) clamp(22px, 2.4vw, 32px); border: 1px solid var(--line); border-radius: 999px 999px 28px 28px; background-color: var(--bg-2); text-align: center; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; transition-delay: calc(var(--i) * 70ms); }
.aud__card:nth-child(even) { margin-top: 64px; }
.aud__ico { display: inline-flex; justify-content: center; margin-top: 30%; }
.aud__ico svg { width: 91px; height: 91px; transition: transform .5s var(--ease); }
.aud__card h3 { margin-top: 28px; font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 800; letter-spacing: -.025em; }
.aud__card p { margin-top: 12px; color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .aud__card:hover { transform: translateY(-8px); border-color: var(--amber); box-shadow: 0 0 0 6px rgba(242, 165, 38, .16), 0 30px 60px rgba(94, 58, 0, .14); }
  .aud__card:hover .aud__ico svg { transform: translateY(-6px) rotate(-6deg) scale(1.08); }
}

/* ---------- how we walk with you: the line draws, steps light up ---------- */
.mpath { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); margin-top: clamp(48px, 6vw, 88px); }
.mpath__line { position: absolute; left: 0; right: 0; top: 34px; height: 2px; background-color: rgba(244, 242, 237, .2); }
.mpath__line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--amber-hi), var(--amber-deep)); transform: scaleX(var(--p, 1)); transform-origin: left; }
.mpath__step { position: relative; }
.mpath__n { display: inline-grid; place-items: center; width: 70px; height: 70px; border: 2px solid var(--amber); border-radius: 50%; background-color: var(--ink); font-family: var(--display); font-size: 1.8rem; font-weight: 800; color: var(--amber); transition: background-color .5s var(--ease), color .5s, box-shadow .5s; }
.mpath__step.is-on .mpath__n { background-color: var(--amber); color: var(--ink); box-shadow: 0 0 0 10px rgba(242, 165, 38, .2), 0 0 40px rgba(242, 165, 38, .5); }
.mpath h3 { margin-top: 24px; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; letter-spacing: -.035em; }
.mpath p { margin-top: 10px; max-width: 30ch; font-size: 1.1rem; color: var(--muted); }

@media (max-width: 900px) {
  .mhero__grid, .mpath { grid-template-columns: minmax(0, 1fr); }
  .mhero__media { width: min(100%, 420px); margin-inline: auto; }
  .mhero__cross svg { width: 77px; height: 77px; }
  .aud__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aud__card { min-height: 0; border-radius: 200px 200px 24px 24px; }
  .aud__card:nth-child(even) { margin-top: 0; }
  .aud__ico { margin-top: 14%; }
  .mpath__line { left: 34px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .mpath__line i { transform: scaleY(var(--p, 1)); transform-origin: top; }
  .mpath__step { padding-left: 92px; }
  .mpath__n { position: absolute; left: 0; top: 0; }
  .mpath h3 { margin-top: 12px; }
}
@media (max-width: 560px) { .aud__list { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) {
  .mhero__rays, .mhero__cross, .arch, .mlock, .mhero h1, .mhero .lede, .mhero .btn-row { animation: none; }
}
.bl-still :is(.mhero__rays, .mhero__cross, .arch, .mlock, .mhero h1, .mhero .lede, .mhero .btn-row) { animation: none; }

/* ---------- home: the Brighter Level Ministry band ---------- */
.mband { position: relative; isolation: isolate; overflow: clip; background-color: var(--bg-2); }
.mband__rays { position: absolute; left: 30%; top: 50%; z-index: -1; width: 150vmax; aspect-ratio: 1; translate: -50% -50%; background: repeating-conic-gradient(rgba(242, 165, 38, .14) 0deg 3deg, transparent 3deg 11deg); -webkit-mask: radial-gradient(closest-side, #000 6%, transparent 58%); mask: radial-gradient(closest-side, #000 6%, transparent 58%); animation: rays 140s linear infinite; }
.mband__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.mband__media { position: relative; aspect-ratio: 4 / 5; }
.mband .arch { animation: none; box-shadow: 0 40px 80px rgba(94, 58, 0, .22); }
.mband .arch--small { border-color: var(--bg-2); }
.mband__cross { position: absolute; left: 2%; top: 4%; animation: float 6s ease-in-out infinite; }
.mband__cross svg { width: 106px; height: 106px; }
.mband .h2 { margin-top: 26px; }
.mband .lede { margin-top: 20px; }
.mband__aud { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin-block: 34px 38px; }
.mband__aud li { display: flex; align-items: center; gap: 14px; font-size: 1.12rem; font-weight: 700; transition-delay: calc(var(--i) * 70ms); }
.mband__aud .aud__ico { margin: 0; }
.mband__aud .aud__ico svg { width: 60px; height: 60px; }
@supports (animation-timeline: view()) {
  html:not(.bl-still) .mband .arch--big { animation: lift linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
  html:not(.bl-still) .mband .arch--small { animation: lift2 linear both; animation-timeline: view(); animation-range: entry 0% cover 70%; }
}
@keyframes lift { from { clip-path: inset(40% 0 0 0 round 999px 999px 28px 28px); transform: translateY(60px); } to { clip-path: inset(0 0 0 0 round 999px 999px 28px 28px); } }
@keyframes lift2 { from { transform: translate(30px, 120px) rotate(6deg); } }
@media (max-width: 900px) {
  .mband__grid { grid-template-columns: minmax(0, 1fr); }
  .mband__media { width: min(100%, 380px); margin-inline: auto; }
}
@media (max-width: 560px) { .mband__aud { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .mband__rays, .mband__cross { animation: none; } }
.bl-still :is(.mband__rays, .mband__cross) { animation: none; }
.mband .mlock span { color: var(--gold); }
.mhero .arch--big img { object-position: 78% 50%; }
