/*
 * Empowerment Prophetic Healing Ministry
 * Colors come from the church seal: the royal purple field, its gold, the
 * white of the dove. Type: Libre Caslon (the face of the English Bible
 * printing tradition) for headlines and scripture, Jost for reading and
 * labels.
 */
:root {
  --night: #160225;      /* the seal's outer field */
  --royal: #34105F;      /* the seal's inner purple */
  --vestment: #5B2A9C;   /* clergy purple */
  --violet: #8C63CF;
  --gold: #D9AE48;
  --gold-hi: #F6DC8C;
  --gold-lo: #A2731F;
  --linen: #FAF7FC;      /* white with a breath of lavender */
  --mist: #F1EAF9;
  --ink: #1D1430;
  --ink-2: #4E4363;
  --rule: #E3D9F0;
  --on-dark: #F3EDFB;
  --on-dark-2: #CBBDE2;

  --display: "Libre Caslon Display", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --band: clamp(56px, 8vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font: 400 1.0625rem/1.68 var(--sans);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--vestment); text-underline-offset: 3px; }
a:hover { color: var(--royal); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-weight: 400; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--night); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- shared type ---------- */
.eyebrow {
  font: 600 .78rem/1.3 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--vestment);
  margin: 0 0 14px;
}
.on-dark .eyebrow { color: var(--gold); }
.h2 { font: 400 clamp(2rem, 4.4vw, 3.5rem)/1.06 var(--display); letter-spacing: -.01em; }
.h3 { font: 400 clamp(1.5rem, 2.4vw, 2rem)/1.15 var(--display); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 62ch; }
.on-dark .lead { color: var(--on-dark-2); }
.verse { margin: 0; }
.verse p {
  font: italic 400 clamp(1.3rem, 2.4vw, 1.95rem)/1.42 var(--serif);
  margin: 0 0 14px;
  text-wrap: pretty;
}
.verse cite {
  font: 600 .78rem/1 var(--sans);
  font-style: normal;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-lo);
}
.on-dark .verse cite { color: var(--gold); }
.motto {
  font: 400 .95rem/1.2 var(--display);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px;
  margin: 0 0 22px;
}
.motto i { font-style: normal; font-size: .6em; color: var(--gold-lo); }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font: 600 .95rem/1 var(--sans);
  letter-spacing: .04em;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn--gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); color: var(--night); }
.btn--gold:hover { color: var(--night); transform: translateY(-1px); filter: brightness(1.05); }
.btn--line { border-color: rgba(246, 220, 140, .55); color: var(--on-dark); }
.btn--line:hover { border-color: var(--gold-hi); color: var(--gold-hi); }
.btn--ink { background: var(--royal); color: var(--on-dark); }
.btn--ink:hover { background: var(--vestment); color: #fff; }
.btn--plain { border-color: var(--vestment); color: var(--vestment); }
.btn--plain:hover { background: var(--vestment); color: #fff; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(22, 2, 37, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(217, 174, 72, .22);
  color: var(--on-dark);
}
.site-head__in { display: flex; align-items: center; gap: 20px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-dark); margin-right: auto; }
.brand img { width: 54px; height: 54px; }
.brand__name { font: 400 1.18rem/1.05 var(--display); letter-spacing: .02em; }
.brand__name span { display: block; font: 500 .66rem/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.brand:hover { color: #fff; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a, .nav__group > button {
  color: var(--on-dark-2); text-decoration: none;
  font: 500 .93rem/1 var(--sans); letter-spacing: .03em;
  padding: 10px 12px; border-radius: 6px; background: none; border: 0; cursor: pointer;
}
.nav a:hover, .nav__group > button:hover, .nav a[aria-current="page"] { color: var(--gold-hi); }
.nav__group { position: relative; }
.nav__menu {
  position: absolute; top: 100%; left: 0; min-width: 250px;
  background: var(--night); border: 1px solid rgba(217, 174, 72, .3); border-radius: 10px;
  padding: 8px; display: none; box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.nav__group:hover .nav__menu, .nav__group:focus-within .nav__menu { display: grid; }
.nav__menu a { padding: 12px 14px; }
.nav .btn--gold { margin-left: 8px; padding: 11px 20px; color: var(--night); background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); border-radius: 999px; }
.nav .btn--gold:hover { color: var(--night); }
.menu-toggle { display: none; background: none; border: 1px solid rgba(246, 220, 140, .45); color: var(--on-dark); border-radius: 8px; padding: 9px 12px; font: 600 .85rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--night); border-bottom: 1px solid rgba(217, 174, 72, .3);
    padding: 8px var(--gutter) 20px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a, .nav__group > button { padding: 14px 4px; font-size: 1.05rem; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, .07); border-radius: 0; }
  .nav__group > button { display: none; }
  .nav__menu { position: static; display: grid; border: 0; box-shadow: none; padding: 0; min-width: 0; background: none; }
  .nav__menu a { padding: 14px 4px; }
  .nav .btn--gold { margin: 16px 0 0; justify-content: center; border-bottom: 0; text-align: center; }
}
@media (max-width: 420px) {
  .brand img { width: 46px; height: 46px; }
  .brand__name { font-size: 1.02rem; }
  .brand__name span { font-size: .6rem; letter-spacing: .2em; }
}

/* ---------- home hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(48% 62% at 74% 48%, rgba(91, 42, 156, .55), transparent 72%),
    radial-gradient(40% 50% at 10% 100%, rgba(91, 42, 156, .28), transparent 70%),
    var(--night);
  color: var(--on-dark);
}
.hero__in {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center; gap: clamp(24px, 4vw, 64px);
  padding-block: clamp(40px, 6vw, 84px) clamp(48px, 7vw, 96px);
}
.hero__welcome { font: italic 400 clamp(1.5rem, 2.6vw, 2.1rem)/1 var(--serif); color: var(--gold-hi); margin: 0 0 10px; }
.hero h1 {
  font: 400 clamp(2.6rem, 6.2vw, 5.4rem)/1.02 var(--display);
  letter-spacing: -.015em;
  margin: 0 0 26px;
}
.hero h1 em { font-style: normal; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, #c9962f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-bottom: 30px; }
.seal-stage { position: relative; width: 100%; max-width: 560px; justify-self: center; aspect-ratio: 1; }
.seal-stage img {
  position: relative; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%), linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%), linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-composite: intersect;
}
/* The signature: gold light going out from the seal, the way glory is drawn
   behind a crest. It turns very slowly and stops for reduced motion. */
.glory {
  position: absolute; inset: -22%;
  background: repeating-conic-gradient(from 0deg, rgba(246, 220, 140, .16) 0deg 2.2deg, transparent 2.2deg 10deg);
  -webkit-mask-image: radial-gradient(circle, #000 18%, transparent 64%);
  mask-image: radial-gradient(circle, #000 18%, transparent 64%);
  animation: turn 160s linear infinite;
  pointer-events: none;
}
@keyframes turn { to { transform: rotate(360deg); } }

/* next gathering plaque */
.next {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: center;
  max-width: 520px; margin-top: 34px; padding: 16px 20px;
  border: 1px solid rgba(217, 174, 72, .45); border-radius: 14px;
  background: linear-gradient(180deg, rgba(52, 16, 95, .55), rgba(22, 2, 37, .55));
}
.next__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(217, 174, 72, .18); grid-row: span 2; }
.next__dot.is-live { background: #7DE0A4; box-shadow: 0 0 0 6px rgba(125, 224, 164, .2); }
.next__label { font: 600 .74rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.next__what { font: 400 1.25rem/1.25 var(--display); color: #fff; }
.next__when { display: block; font: 600 .95rem/1.4 var(--sans); color: var(--gold-hi); margin-top: 2px; }
.next__how { grid-column: 2; font-size: .92rem; color: var(--on-dark-2); }
.next__how a { color: var(--gold-hi); }

@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; }
  .seal-stage { order: -1; max-width: 320px; }
}

/* ---------- bands ---------- */
.band { padding-block: var(--band); }
.band--mist { background: var(--mist); }
.band--night { background: var(--night); color: var(--on-dark); }
.band--royal { background: radial-gradient(70% 90% at 50% 0%, var(--vestment), var(--royal) 60%, var(--night)); color: var(--on-dark); }
.band__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: clamp(28px, 4vw, 48px); }
.band__head .lead { margin: 14px 0 0; }

/* order of service, set like a printed program */
.program { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.program__item { padding: 6px clamp(14px, 2vw, 26px) 4px; border-left: 1px solid var(--rule); }
.program__item:first-child { border-left: 0; padding-left: 0; }
.program__day { font: 600 .76rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--vestment); }
.program__time { font: 400 clamp(2rem, 3.4vw, 2.75rem)/1.05 var(--display); margin: 10px 0 8px; font-variant-numeric: lining-nums; }
.program__time small { font-size: .45em; letter-spacing: .08em; margin-left: 4px; }
.program__name { font-weight: 600; line-height: 1.35; margin: 0 0 6px; }
.program__how { font-size: .92rem; color: var(--ink-2); margin: 0; }
.zoomline { margin-top: clamp(26px, 4vw, 40px); padding-top: 20px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; color: var(--ink-2); }
.zoomline b { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) {
  .program { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .program__item:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 480px) {
  .program { grid-template-columns: 1fr; row-gap: 0; }
  .program__item, .program__item:nth-child(3) { border-left: 0; padding: 18px 0; border-top: 1px solid var(--rule); }
  .program__item:first-child { border-top: 0; }
}

/* mission */
.creed { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.creed__pull { font: 400 clamp(2rem, 4vw, 3.3rem)/1.1 var(--display); color: var(--royal); }
.creed__pull::before { content: "\201C"; display: block; font-size: 1.5em; line-height: .55; height: .42em; color: var(--gold); margin-bottom: 4px; }
.creed__list { display: grid; gap: 28px; }
.creed__list h3 { font: 600 .8rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--vestment); margin-bottom: 8px; }
.creed__list p { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .creed { grid-template-columns: 1fr; } }

/* leaders */
.leaders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.leader { text-decoration: none; color: inherit; display: grid; }
.leader__photo {
  position: relative; aspect-ratio: 4 / 4.2; display: flex; align-items: flex-end; justify-content: center;
  background: radial-gradient(56% 58% at 50% 62%, rgba(217, 174, 72, .34), rgba(91, 42, 156, .35) 55%, transparent 76%);
  border-bottom: 1px solid rgba(217, 174, 72, .6);
}
.leader__photo img { width: 82%; max-height: 100%; object-fit: contain; object-position: bottom; transition: transform .5s; }
.leader:hover .leader__photo img { transform: translateY(-4px); }
.leader__name { font: 400 clamp(1.6rem, 2.8vw, 2.3rem)/1.1 var(--display); margin: 22px 0 6px; color: #fff; }
.leader__role { font: 600 .76rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.leader__more { margin-top: 14px; color: var(--gold-hi); font-weight: 500; }
.leader:hover .leader__more { text-decoration: underline; }
@media (max-width: 640px) { .leaders { grid-template-columns: 1fr; } }

/* video (loads YouTube only when pressed) */
.yt {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0;
  background: var(--night); cursor: pointer; overflow: hidden; border-radius: 10px;
}
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .3s, transform .6s; }
.yt:hover img { opacity: 1; transform: scale(1.02); }
.yt__play {
  position: absolute; left: 50%; top: 50%; width: 74px; height: 74px; margin: -37px 0 0 -37px;
  border-radius: 50%; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, var(--gold-lo));
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}
.yt__play::after { content: ""; position: absolute; left: 30px; top: 23px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent var(--night); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.messages { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.msg__meta { margin-top: 16px; }
.msg__title { font: 400 clamp(1.4rem, 2.4vw, 1.9rem)/1.15 var(--display); margin: 4px 0 6px; }
.msg__by { color: var(--ink-2); margin: 0; font-size: .97rem; }
.on-dark .msg__by { color: var(--on-dark-2); }
.msg-list { display: grid; gap: 22px; }
.msg-mini { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: center; }
.msg-mini .yt { border-radius: 8px; }
.msg-mini .yt__play { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
.msg-mini .yt__play::after { left: 16px; top: 12px; border-width: 8px 0 8px 13px; }
.msg-mini .msg__title { font-size: 1.2rem; }
@media (max-width: 860px) { .messages { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .msg-mini { grid-template-columns: 120px minmax(0, 1fr); } }

/* outreach */
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.work__art { height: 210px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 20px; border-bottom: 1px solid var(--rule); }
.work__art img { max-height: 200px; width: auto; }
.work__art--verse { align-items: center; padding: 0 6px; }
.work__art--verse p { font: italic 400 1.25rem/1.45 var(--serif); color: var(--royal); margin: 0; text-align: center; }
.work__art--verse cite { display: block; margin-top: 10px; font: 600 .74rem/1 var(--sans); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-lo); }
.work h3 { margin-bottom: 10px; }
.work p { color: var(--ink-2); }
@media (max-width: 900px) { .works { grid-template-columns: 1fr; max-width: 560px; } }

/* photo mosaic on the home page */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 19vw, 250px); gap: 10px; }
.mosaic a { display: block; overflow: hidden; border-radius: 6px; }
.mosaic a:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .6s; }
.mosaic a:hover img { transform: scale(1.04); }
@media (max-width: 700px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; }
  .mosaic a:first-child { grid-column: span 2; grid-row: span 2; }
}

/* giving */
.give { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ways { display: grid; gap: 14px; }
.way {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 18px; align-items: center;
  padding: 20px 22px; border-radius: 14px;
  border: 1px solid rgba(217, 174, 72, .4); background: rgba(22, 2, 37, .35);
}
.way__name { font: 600 .76rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.way__value { font: 400 1.45rem/1.2 var(--display); color: #fff; grid-column: 1; overflow-wrap: anywhere; }
.way .btn { grid-row: span 2; grid-column: 2; }
.give .verse { margin-top: 26px; }
.give .verse p { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }
@media (max-width: 860px) { .give { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .way { grid-template-columns: 1fr; } .way .btn { grid-row: auto; grid-column: 1; justify-content: center; margin-top: 8px; } }

/* visit */
.visit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: stretch; }
.facts { display: grid; gap: 20px; align-content: start; }
.fact__label { font: 600 .76rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--vestment); margin-bottom: 4px; }
.fact__value { font: 400 1.3rem/1.35 var(--display); }
.fact__value a { color: var(--ink); text-decoration-color: var(--gold); }
.map { width: 100%; min-height: 360px; height: 100%; border: 0; border-radius: 12px; filter: saturate(.85); }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } .map { min-height: 300px; } }

/* ---------- inner pages ---------- */
.banner {
  position: relative; overflow: hidden;
  background: radial-gradient(60% 90% at 80% 30%, rgba(91, 42, 156, .5), transparent 70%), var(--night);
  color: var(--on-dark);
}
.banner__in { padding-block: clamp(48px, 7vw, 96px); }
.banner__in > * { max-width: 900px; }
.banner h1 { font: 400 clamp(2.4rem, 5.6vw, 4.6rem)/1.04 var(--display); letter-spacing: -.01em; margin-bottom: 18px; }
.banner .lead { color: var(--on-dark-2); }

.person { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 4vw, 56px); align-items: end; padding-top: clamp(40px, 6vw, 80px); }
.person__words { padding-bottom: clamp(36px, 6vw, 80px); }
.person__photo { position: relative; display: flex; justify-content: center; align-self: end; }
.person__photo::before {
  content: ""; position: absolute; left: 6%; right: 6%; bottom: 0; top: 14%;
  background: radial-gradient(50% 50% at 50% 55%, rgba(217, 174, 72, .38), rgba(91, 42, 156, .32) 55%, transparent 75%);
}
.person__photo img { position: relative; width: min(100%, 470px); }
@media (max-width: 860px) {
  .person { grid-template-columns: 1fr; }
  .person__photo { order: -1; }
  .person__photo img { width: min(78%, 360px); }
  .person__words { padding-bottom: 48px; }
}

.story { max-width: 70ch; margin-inline: auto; font-size: 1.12rem; }
.story p { color: var(--ink); }
.story > p:first-of-type::first-letter {
  float: left; font: 400 4.6em/.82 var(--display); color: var(--vestment);
  padding: 6px 12px 0 0;
}
.honors { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.honors li { padding-left: 30px; position: relative; }
.honors li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 10px; height: 10px; transform: rotate(45deg); background: var(--gold); }

.seal-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.seal-feature img { width: min(100%, 520px); justify-self: center; }
.seal-feature img.edge-fade {
  -webkit-mask-image: radial-gradient(closest-side, #000 88%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 88%, transparent 100%);
}
@media (max-width: 860px) { .seal-feature { grid-template-columns: 1fr; } .seal-feature img { width: min(80%, 380px); } }

.book { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.book__cover { width: clamp(180px, 22vw, 270px); box-shadow: 18px 22px 40px rgba(29, 20, 48, .3), 2px 2px 0 rgba(0, 0, 0, .08); transform: rotate(-2deg); border-radius: 2px 6px 6px 2px; }
.book__excerpt p { font: italic 400 1.12rem/1.6 var(--serif); color: var(--ink-2); }
@media (max-width: 760px) { .book { grid-template-columns: 1fr; } .book__cover { justify-self: center; } }

/* services page */
.services-list { display: grid; gap: 0; }
.svc { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 10px 36px; padding: 28px 0; border-top: 1px solid var(--rule); }
.svc:last-child { border-bottom: 1px solid var(--rule); }
.svc__when { font: 400 1.9rem/1.1 var(--display); color: var(--royal); }
.svc__when span { display: block; font: 600 .76rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--vestment); margin-bottom: 6px; }
.svc h3 { margin-bottom: 8px; }
.svc p { margin: 0; color: var(--ink-2); }
.svc .tag { display: inline-block; font: 600 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: var(--mist); color: var(--vestment); margin: 0 6px 10px 0; }
@media (max-width: 640px) { .svc { grid-template-columns: 1fr; } }

.form { display: grid; gap: 16px; max-width: 640px; }
.form label { display: grid; gap: 6px; font-weight: 500; }
.form input, .form textarea, .form select {
  font: 400 1rem/1.4 var(--sans); padding: 13px 14px; border-radius: 10px;
  border: 1px solid #CFC2E2; background: #fff; color: var(--ink); width: 100%;
}
.form textarea { min-height: 140px; resize: vertical; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .note { font-size: .9rem; color: var(--ink-2); margin: 0; }
.form button { justify-self: start; cursor: pointer; }
@media (max-width: 560px) { .form .row2 { grid-template-columns: 1fr; } }

/* outreach page */
.ministry { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding-block: clamp(32px, 5vw, 56px); border-top: 1px solid var(--rule); }
.ministry:first-of-type { border-top: 0; }
.ministry__art { display: flex; justify-content: center; }
.ministry__art img { max-height: 340px; width: auto; }
.ministry__art .verse { text-align: center; padding: 24px; }
@media (max-width: 860px) { .ministry { grid-template-columns: 1fr; } .ministry__art img { max-height: 260px; } }

/* gallery */
.gallery-group + .gallery-group { margin-top: clamp(48px, 7vw, 88px); }
.gallery-group__head { margin-bottom: 22px; }
.masonry { columns: 3 260px; column-gap: 12px; }
.masonry a { display: block; break-inside: avoid; margin-bottom: 12px; border-radius: 6px; overflow: hidden; }
.masonry img { width: 100%; transition: transform .6s; }
.masonry a:hover img { transform: scale(1.03); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(10, 2, 18, .92); }
.lightbox__in { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 56px 64px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 112px); width: auto; border-radius: 4px; }
.lightbox button {
  position: absolute; background: rgba(22, 2, 37, .8); color: #fff; border: 1px solid rgba(246, 220, 140, .5);
  width: 48px; height: 48px; border-radius: 50%; font: 400 1.4rem/1 var(--sans); cursor: pointer;
}
.lightbox .lb-close { top: 14px; right: 14px; }
.lightbox .lb-prev { left: 12px; top: 50%; margin-top: -24px; }
.lightbox .lb-next { right: 12px; top: 50%; margin-top: -24px; }
@media (max-width: 600px) { .lightbox__in { padding: 64px 10px; } .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 10px; } }

/* videos page */
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 48px) clamp(24px, 3vw, 40px); }
.video-grid .msg__by span { display: block; }
@media (max-width: 760px) { .video-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-foot { background: var(--night); color: var(--on-dark-2); padding-block: clamp(48px, 6vw, 72px) 28px; border-top: 1px solid rgba(217, 174, 72, .25); }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot__brand { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: center; }
.foot__brand img { width: 84px; height: 84px; }
.foot__name { font: 400 1.35rem/1.15 var(--display); color: #fff; }
.foot h4 { font: 600 .74rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--on-dark); text-decoration: none; }
.foot a:hover { color: var(--gold-hi); text-decoration: underline; }
.foot__base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .86rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 900px) { .foot { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Home of Empowerment men's seal (11-20-2026): always on purple, never white */
.on-dark .work p { color: var(--on-dark-2); }
.on-dark .work__art { border-bottom-color: rgba(217, 174, 72, .3); }
.on-dark .work__art--verse p { color: var(--on-dark); }
.on-dark .work__art--verse cite { color: var(--gold); }
.seal-feature img.seal-feature__men { width: min(100%, 560px); }
.seal-feature .verse { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(217, 174, 72, .3); }
.seal-feature .verse p { font-size: clamp(1.15rem, 1.9vw, 1.5rem); color: var(--on-dark); }
.band--seal { background: #13021D; color: var(--on-dark); }   /* the exact purple of the Home of Empowerment seal */
