/* God's Tabernacle Church - gtcchurch.org
 *
 * One stylesheet for the whole site. Hand-written; replaces the Salient theme,
 * WPBakery and the plugin CSS the WordPress site loaded (about 50 files).
 * Colours carried over from the WordPress child theme: crimson #C30631 and
 * #DC143C, charcoal #2C2D2E, grey bands.
 *
 * Type (2026 facelift): a tabernacle is a tent, and the tent revival's own
 * print was the condensed wood-type handbill, so headings are Big Shoulders
 * Display. Body and scripture are Source Serif 4, which reads like a printed
 * Bible and stays comfortable for older eyes at a generous size.
 */

:root {
  --crimson: #c30631;
  --crimson-bright: #dc143c;
  --ink: #2c2d2e;
  --ink-soft: #55575a;
  --stone: #e3e3e3;
  --stone-deep: #cfcfcf;
  --paper: #ffffff;
  --night: #1f1f20;

  --display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --script: var(--display);
  --body: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 14px;
  --band: clamp(3.5rem, 8vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--crimson); text-underline-offset: 0.18em; }
a:hover { color: var(--crimson-bright); }

:focus-visible { outline: 3px solid var(--crimson-bright); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0.005em;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(3rem, 8vw, 5.75rem); font-weight: 900; }
h2 { font-size: clamp(2.5rem, 5.6vw, 4.25rem); }
h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; line-height: 1.05; }
h4 { font-size: 1.4rem; font-weight: 700; }
p { margin: 0 0 1em; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--paper); padding: 0.6rem 1rem; border-radius: 8px;
}
.skip:focus { top: 1rem; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 46rem; }
.band { padding-block: var(--band); }
.band--stone { background: var(--stone); }
.band--tight { padding-block: calc(var(--band) * 0.6); }

.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 44rem; }
.muted { color: var(--ink-soft); }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

/* ---- Buttons ---------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: 700 1.2rem/1 var(--display);
  letter-spacing: 0.03em;
  padding: 0.9rem 1.5rem 0.95rem;
  border-radius: 2px;
  border: 2px solid var(--crimson);
  background: var(--crimson);
  color: var(--paper);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { background: var(--crimson-bright); border-color: var(--crimson-bright); color: var(--paper); }
.btn--ghost { background: transparent; color: var(--crimson); }
.btn--ghost:hover { background: var(--crimson); color: var(--paper); }
.btn--light { background: var(--paper); border-color: var(--paper); color: var(--crimson); }
.btn--light:hover { background: var(--stone); border-color: var(--stone); color: var(--crimson); }
.btn--small { font-size: 1.05rem; padding: 0.6rem 1rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.section-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 1rem 2rem; margin-bottom: 2.5rem;
}
.section-head h2 { margin: 0; }
.section-head p { margin: 0.4rem 0 0; color: var(--ink-soft); }

/* ---- Header ----------------------------------------------------------- */

.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--paper);
}
.site-header__inner {
  width: min(100% - 2 * var(--gutter), 84rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding-block: 1.1rem;
}
/* The seal keeps its round shape: the global img max-width let the middle
 * column squeeze it narrower than tall when the nav was crowded. */
.site-header .logo { display: block; flex: none; }
.site-header .logo img {
  width: 92px; height: 92px; max-width: none; object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.35));
}
.nav { display: flex; gap: 0.25rem 1rem; flex-wrap: nowrap; align-items: center; white-space: nowrap; }
.nav--left { justify-content: flex-end; }
.nav--right { justify-content: flex-start; }
.nav a {
  position: relative;
  color: var(--paper);
  text-decoration: none;
  font: 700 1.2rem/1 var(--display);
  letter-spacing: 0.03em;
  text-shadow: 0 2px 6px rgba(0,0,0,.55);
  padding-block: 0.35rem;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--crimson-bright); transition: width 0.2s;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav .btn { text-shadow: none; padding: 0.6rem 1rem; font-size: 1.15rem; }
.nav .btn::after { display: none; }

.menu-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(0,0,0,.35); color: var(--paper);
  border: 1px solid rgba(255,255,255,.5); border-radius: 999px;
  padding: 0.5rem 1rem; font: 700 1.15rem/1 var(--display); letter-spacing: 0.03em; cursor: pointer;
}
.menu-btn svg { width: 18px; height: 18px; }

/* Off-canvas menu: the full page list, as the WordPress slide-out had. */
.drawer {
  position: fixed; inset: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr min(26rem, 100%);
  visibility: hidden;
}
.drawer[data-open] { visibility: visible; }
.drawer__scrim { background: rgba(0,0,0,.5); opacity: 0; transition: opacity 0.2s; border: 0; }
.drawer[data-open] .drawer__scrim { opacity: 1; }
.drawer__panel {
  background: var(--night); color: var(--paper);
  padding: calc(1.5rem + env(safe-area-inset-top, 0px)) 2rem calc(2rem + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  transform: translateX(100%); transition: transform 0.25s ease;
}
.drawer[data-open] .drawer__panel { transform: none; }
@media (prefers-reduced-motion: reduce) { .drawer__panel, .drawer__scrim { transition: none; } }
.drawer__close {
  background: none; border: 1px solid rgba(255,255,255,.4); color: var(--paper);
  border-radius: 999px; padding: 0.45rem 0.9rem; font: 500 0.9rem var(--body); cursor: pointer;
  float: right;
}
.drawer nav { clear: both; padding-top: 1.5rem; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li + li { border-top: 1px solid rgba(255,255,255,.1); }
.drawer a {
  display: block; padding: 0.7rem 0; color: var(--paper); text-decoration: none;
  font: 700 1.45rem/1.1 var(--display); letter-spacing: 0.02em;
}
.drawer a:hover, .drawer a[aria-current="page"] { color: #ff6b84; }
.drawer .group { margin: 1.6rem 0 0.2rem; color: rgba(255,255,255,.6); font-size: 0.95rem; font-style: italic; }

/* Once the visitor scrolls past the hero the header comes back as a slim
 * night bar, so the menu and Live Stream are always one tap away
 * (site.js toggles .is-stuck). */
.site-header.is-stuck {
  position: fixed;
  background: var(--night);
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
  animation: header-in 0.3s ease both;
}
.site-header.is-stuck .site-header__inner { padding-block: 0.45rem; }
.site-header.is-stuck .logo img { width: 54px; height: 54px; }
.site-header.is-stuck .nav a { text-shadow: none; }
@keyframes header-in { from { transform: translateY(-100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .site-header.is-stuck { animation: none; } }

/* Laptop widths: the full nav plus the seal is about 1280px wide, so tighten
 * it rather than let it run off the screen. */
@media (min-width: 1151px) and (max-width: 1400px) {
  .site-header__inner { gap: 0.9rem; }
  .nav { column-gap: 0.7rem; }
  .nav a { font-size: 1.08rem; }
  .nav .btn { font-size: 1.05rem; padding: 0.55rem 0.8rem; }
  .sub-toggle { width: 18px; }
  .menu-btn { padding: 0.45rem 0.8rem; font-size: 1.05rem; }
  .site-header .logo img { width: 80px; height: 80px; }
}

@media (max-width: 1150px) {
  .site-header__inner { grid-template-columns: auto 1fr; }
  .site-header .logo { order: -1; }
  .site-header .logo img { width: 72px; height: 72px; }
  .nav--left { display: none; }
  .nav--right { justify-content: flex-end; }
  .nav--right > a:not(.btn) { display: none; }
}
@media (max-width: 420px) {
  .nav--right .btn { display: none; }
}

/* ---- Hero: the rotating church seal ------------------------------------ */

.hero {
  position: relative; isolation: isolate;
  min-height: clamp(26rem, 62vh, 40rem);
  display: grid; place-items: center;
  color: var(--paper); text-align: center;
  background: var(--night) url("/assets/img/seal-still.jpg") center / cover no-repeat;
  overflow: hidden;
}
.hero--home { min-height: max(34rem, 100svh); }
.hero video {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,20,22,.55) 0%, rgba(20,20,22,.25) 45%, rgba(20,20,22,.6) 100%);
}
.hero__content { padding: 8.5rem var(--gutter) 5.5rem; max-width: 68rem; }
.hero__welcome {
  font: italic 400 clamp(1.3rem, 2.6vw, 1.75rem)/1.2 var(--body);
  margin: 0 0 0.5rem; text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.hero h1 { color: var(--paper); margin-bottom: 0.35em; text-shadow: 0 4px 26px rgba(0,0,0,.5); }
.hero--home h1 {
  font-size: clamp(3.4rem, 8.2vw, 7.6rem); line-height: 0.86; letter-spacing: 0.005em;
  text-transform: uppercase; margin-bottom: 0.3em;
}
.hero__title {
  font: 900 clamp(3.25rem, 10vw, 7rem)/0.9 var(--display);
  letter-spacing: 0.01em; margin: 0;
}
.hero__tagline {
  font: italic 400 clamp(1.05rem, 2vw, 1.3rem)/1.45 var(--body);
  margin: 0 auto; max-width: 40rem; text-shadow: 0 2px 8px rgba(0,0,0,.55);
}

/* Inner pages: a photograph of the page's subject under a charcoal fade, the
 * title set large at the lower left like a handbill headline. */
.hero--photo {
  place-items: end start; text-align: left;
  min-height: clamp(22rem, 58vh, 34rem);
  background: var(--night) var(--hero-img) var(--hero-pos, center) / cover no-repeat;
}
.hero--photo::after {
  background:
    linear-gradient(90deg, rgba(31,31,32,.82) 0%, rgba(31,31,32,.45) 55%, rgba(31,31,32,.1) 100%),
    linear-gradient(180deg, rgba(31,31,32,.55) 0%, rgba(31,31,32,0) 40%);
}
.hero--photo .hero__content {
  width: min(100% - 2 * var(--gutter), var(--wrap)); max-width: none; margin-inline: auto;
  padding: 10rem 0 3.25rem;
}
.hero--photo .hero__title { font-size: clamp(3.25rem, 9vw, 6.5rem); }
.hero--photo .hero__title::after {
  content: ""; display: block; width: 5.5rem; height: 6px; margin-top: 1.1rem; background: var(--crimson-bright);
}

.hero__social {
  position: absolute; left: var(--gutter); bottom: 1.5rem;
  display: flex; gap: 0.6rem;
}
.hero__social a, .socials a {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.65); color: var(--paper);
}
.hero__social a:hover { background: var(--crimson); border-color: var(--crimson); }
.hero__social svg, .socials svg { width: 18px; height: 18px; fill: currentColor; }

.sound {
  position: absolute; right: var(--gutter); bottom: 1.5rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(0,0,0,.45); color: var(--paper);
  border: 1px solid rgba(255,255,255,.65); border-radius: 999px;
  padding: 0.55rem 1rem; font: 500 0.95rem var(--body); cursor: pointer;
}
.sound:hover { background: var(--crimson); border-color: var(--crimson); }
.sound svg { width: 18px; height: 18px; fill: currentColor; }
.sound .when-on { display: none; }
.sound[aria-pressed="true"] .when-on { display: inline; }
.sound[aria-pressed="true"] .when-off { display: none; }
/* Pages without a hero: the music button floats bottom left. */
.sound--float {
  position: fixed; left: var(--gutter); right: auto; bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); z-index: 40;
  background: rgba(20,20,20,.72); box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

/* ---- Media + text splits ---------------------------------------------- */

.split {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1.15fr 1fr; align-items: center;
}
.split--flip > :first-child { order: 2; }
.split img { border-radius: var(--radius); width: 100%; object-fit: cover; }
@media (max-width: 820px) {
  .split, .split--flip { grid-template-columns: 1fr; }
  .split--flip > :first-child { order: 0; }
}

.watch { background: var(--crimson); color: var(--paper); }
.watch h2 { color: var(--paper); }
.watch .split img { border-radius: var(--radius); box-shadow: 0 20px 40px rgba(0,0,0,.25); }

.verse-ref { font: 500 1.35rem var(--display); margin: 1.2rem 0 1.6rem; }

/* ---- Collections ------------------------------------------------------ */

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

/* A weekly service: photo, day, name, times. */
.service {
  display: grid; grid-template-columns: 9.5rem 1fr; gap: 1.5rem; align-items: center;
  background: #efefef; border-radius: var(--radius); padding: 0.75rem;
}
.service img { width: 100%; aspect-ratio: 8 / 7; object-fit: cover; border-radius: 6px; }
.service__day { margin: 0; color: var(--ink-soft); }
.service h3 { font-size: 1.35rem; margin: 0.2rem 0 0.5rem; }
.service p { margin: 0; }
@media (max-width: 460px) { .service { grid-template-columns: 1fr; } .service img { aspect-ratio: 16 / 9; } }

.ministry-tiles { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.ministry-tiles a {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.3rem 1.4rem; border-radius: var(--radius);
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3);
  color: var(--paper); text-decoration: none; font: 500 1.25rem var(--display);
}
.ministry-tiles a:hover { background: var(--crimson); border-color: var(--crimson); }
.ministry-tiles svg { width: 22px; height: 22px; flex: none; stroke: currentColor; }

.ministries-band {
  color: var(--paper);
  background: #6f6f70 url("/assets/img/texture-grey.jpg") center / cover;
}
.ministries-band h2, .ministries-band a:not(.btn) { color: var(--paper); }

/* Ministry index: alternating photo + name rows. */
.ministry-list { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.ministry {
  display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); overflow: hidden;
  background: var(--paper); border: 1px solid var(--stone-deep); text-decoration: none; color: var(--ink);
}
.ministry img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ministry div { padding: 1.2rem 1.4rem 1.4rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.ministry h3 { margin: 0; }
.ministry span { color: var(--crimson); font-weight: 600; white-space: nowrap; }
.ministry:hover { border-color: var(--crimson); color: var(--ink); }

/* Events on a photographic band. */
.events-band { background: var(--night) url("/assets/img/road-2026.jpg") center / cover; color: var(--paper); }
/* As on the WordPress site, the road stays put and the page scrolls over it.
 * Touch browsers ignore "fixed" (iOS) or repaint it badly, so there site.js
 * moves the background instead (see "Parallax backgrounds"). */
@media (hover: hover) and (pointer: fine) {
  .events-band { background-attachment: fixed; }
}
.events-band h2 { color: var(--paper); }
.event {
  display: grid; grid-template-columns: 12rem 1fr auto; gap: 1.5rem; align-items: center;
  padding: 1.25rem; border-radius: var(--radius);
  background: rgba(255,255,255,.88); color: var(--ink);
}
.event + .event { margin-top: 1rem; }
.event img { border-radius: 8px; width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }
.event h3 { margin: 0.25rem 0 0.75rem; font-size: 1.35rem; }
.event__when { display: flex; align-items: center; gap: 0.45rem; margin: 0; color: var(--ink-soft); }
.event__when svg { width: 18px; height: 18px; }
.event__zoom { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }
.event__zoom strong { color: var(--ink); font-weight: 600; }
@media (max-width: 820px) { .event { grid-template-columns: 1fr; } .event img { max-width: 18rem; } }

.posts { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
/* A writer's own page: one or two posts keep card size instead of stretching. */
[data-author] .posts { grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.post-card {
  display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); overflow: hidden;
  background: var(--paper); box-shadow: 0 10px 30px rgba(44,45,46,.12);
  text-decoration: none; color: var(--ink);
}
/* --cover-pos and --cover-zoom: the framing set in TheSuiteSite's Blog editor. */
.post-card img {
  width: 100%; aspect-ratio: 440 / 230; object-fit: cover;
  object-position: var(--cover-pos, 50% 50%); transform: scale(var(--cover-zoom, 1)); transform-origin: var(--cover-pos, 50% 50%);
}
.post-card div { padding: 1.4rem; display: flex; flex-direction: column; }
.post-card h3 { margin-bottom: 0.6rem; }
.post-card p { color: var(--ink-soft); font-size: 0.98rem; }
.post-card footer { margin-top: auto; padding-top: 0.5rem; font-size: 0.92rem; }
.post-card:hover { color: var(--ink); box-shadow: 0 14px 34px rgba(195,6,49,.18); }

/* Blog writers: a portrait card for each, leading to their own blog. */
.writers { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.writer {
  display: grid; grid-template-columns: 10rem 1fr; gap: 1.5rem; align-items: center;
  background: var(--paper); border-radius: var(--radius); padding: 1.25rem; color: var(--ink); text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}
.writer img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.writer h3 { margin: 0 0 0.4rem; }
.writer p { color: var(--ink-soft); margin: 0 0 0.75rem; }
.writer__more { font-weight: 600; color: var(--crimson); }
.writer:hover { color: var(--ink); box-shadow: 0 14px 34px rgba(195,6,49,.18); transform: translateY(-2px); }
.writer-intro { display: grid; grid-template-columns: 12rem 1fr; gap: 2rem; align-items: center; margin-bottom: 2.5rem; }
.writer-intro img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.writer-intro h2 { margin: 0 0 0.5rem; }
@media (max-width: 34rem) {
  .writer { grid-template-columns: 6.5rem 1fr; gap: 1rem; }
  .writer-intro { grid-template-columns: 8rem 1fr; gap: 1.25rem; }
}

.products { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
/* A short list (one book) keeps card width instead of stretching across the row. */
.products--fill { grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.product {
  border: 1px solid var(--stone-deep); border-radius: var(--radius); padding: 1.25rem;
  background: #f4f4f4; display: flex; flex-direction: column; gap: 0.75rem;
}
.product img { background: var(--paper); border-radius: 10px; width: 100%; aspect-ratio: 1; object-fit: contain; padding: 1rem; }
/* A photo fills its square; the 154px seal fallback stays at its own size. */
.product img.product__photo { object-fit: cover; padding: 0; background: #000; }
.product img.product__logo { object-fit: scale-down; }
/* Centred lists (Partners): cards keep card width, however few there are. */
.products--center { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 21rem)); justify-content: center; }
.product h3 { margin: 0.25rem 0 0; }
.product p { margin: 0; }
.product .btn { margin-top: auto; align-self: flex-start; }

/* ---- Scripture and giving --------------------------------------------- */

blockquote { margin: 0; }
.scripture { font-size: 1.15rem; font-style: italic; }
.scripture cite { display: block; font: normal 500 1.15rem var(--display); margin-top: 0.5rem; color: var(--crimson); }

/* As on the WordPress site: grey texture, the white open hand holding a red
 * heart straight on the band (no plate behind it), red Donate button. */
.giving {
  background: #6f6f70 url("/assets/img/texture-grey.jpg") center / cover;
  color: var(--paper); text-align: center;
}
.giving .wrap { max-width: 56rem; }
.giving img { margin: 0 auto 1.75rem; width: 104px; height: 94px; }
.giving blockquote p { font: 500 clamp(1.2rem, 2.3vw, 1.6rem)/1.35 var(--body); margin: 0; }
.giving cite { display: block; font: normal 600 1.1rem var(--body); margin: 1rem 0 1.75rem; }

.ways { display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); text-align: center; }
.ways h3 { margin-bottom: 0.4rem; }
.ways p { margin: 0.2rem 0; }
.ways img { margin: 0.75rem auto 0; }
.way-icon { width: 56px; height: 56px; margin: 0 auto 0.75rem; color: var(--ink); }

/* ---- Long-form pages -------------------------------------------------- */

.prose { max-width: 46rem; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.6em; }
.prose img { border-radius: var(--radius); margin: 2rem 0; }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: 0.35rem; }
.post-meta { color: var(--ink-soft); margin-bottom: 2rem; }

.leader { display: grid; grid-template-columns: 16rem 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.leader + .leader { margin-top: var(--band); }
.leader img { border-radius: var(--radius); width: 100%; position: sticky; top: 2rem; }
@media (max-width: 760px) { .leader { grid-template-columns: 1fr; } .leader img { position: static; max-width: 18rem; } }

.dept { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.dept img { border-radius: var(--radius); width: 100%; aspect-ratio: 1; object-fit: cover; }
.dept blockquote + blockquote { margin-top: 1.75rem; }

/* Women's Department ("Blossoms"): a blossom branch reaching in from the top
   right and a smaller one from the bottom left, on a faint blush ground. */
.band--blossoms {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse at 85% 0%, #fbe7ec 0%, transparent 55%),
              radial-gradient(ellipse at 0% 100%, #fcecf0 0%, transparent 50%), #fffafb;
}
.band--blossoms::before, .band--blossoms::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  aspect-ratio: 640 / 520; background: url(/assets/img/blossoms.svg) no-repeat center / contain;
}
.band--blossoms::before { top: -6rem; right: -5rem; width: min(40vw, 31rem); opacity: 0.75; }
.band--blossoms::after { bottom: -3rem; left: -3.5rem; width: min(30vw, 24rem); opacity: 0.6; transform: rotate(180deg); }
.band--blossoms .dept img { box-shadow: 0 18px 40px rgba(183, 74, 102, 0.18); }
/* A branch reaching into the header photo from the bottom right. */
.hero--blossoms .hero__blossoms {
  position: absolute; right: -4rem; bottom: -5rem; z-index: 0; pointer-events: none;
  width: min(48vw, 36rem); height: auto; transform: rotate(180deg) scaleX(-1);
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.25));
}
.hero--blossoms .hero__content { position: relative; z-index: 1; }
.hero--blossoms .hero__welcome { font-family: var(--script); font-style: normal; color: #f7c9d4; font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.hero--blossoms .hero__title::after { background: #f2a7bb; }

/* Blossom clusters on two corners of the department photo. */
.blossom-frame { position: relative; }
.blossom-frame::before, .blossom-frame::after {
  content: ""; position: absolute; pointer-events: none; aspect-ratio: 640 / 520;
  background: url(/assets/img/blossoms.svg) no-repeat center / contain;
}
.blossom-frame::before { top: -3.5rem; left: -3.5rem; width: 55%; transform: scaleX(-1); }
.blossom-frame::after { bottom: -3rem; right: -3rem; width: 42%; transform: rotate(180deg); }

/* The group's name, set between two blossoms. */
.dept__name--blossoms { display: flex; align-items: center; gap: 0.6rem; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.dept__name--blossoms::before, .dept__name--blossoms::after {
  content: ""; width: 1.6em; aspect-ratio: 1; background: url(/assets/img/blossom.svg) no-repeat center / contain;
}
.dept__name--blossoms::after { width: 1.1em; transform: rotate(30deg); }

/* A garland along the foot of the section. */
.blossom-garland {
  position: absolute; left: 0; right: 0; bottom: 0.5rem; height: 5.5rem; z-index: -1;
  background: url(/assets/img/blossom-garland.svg) repeat-x center bottom / auto 100%; opacity: 0.85;
}

/* Petals drifting down through the section, slowly. */
.petals { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.petals span {
  position: absolute; top: -2rem; left: var(--x); width: calc(1.1rem * var(--s)); aspect-ratio: 1;
  background: url(/assets/img/petal.svg) no-repeat center / contain; opacity: 0.8;
  animation: petal-fall var(--d) linear var(--delay) infinite;
}
@keyframes petal-fall {
  0%   { transform: translate(0, 0) rotate(0deg); }
  50%  { transform: translate(var(--sway), 50vh) rotate(200deg); }
  100% { transform: translate(0, 110vh) rotate(420deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .petals span { animation: none; top: calc(var(--x) * 0.9); }
}

@media (max-width: 760px) {
  .band--blossoms::before { width: 70vw; opacity: 0.35; }
  .band--blossoms::after { width: 50vw; opacity: 0.3; }
  .hero--blossoms .hero__blossoms { width: 70vw; opacity: 0.85; }
  .blossom-frame::before { width: 45%; top: -2rem; left: -1.5rem; }
  .blossom-frame::after { width: 35%; bottom: -1.5rem; right: -1.5rem; }
}
@media (max-width: 760px) { .dept { grid-template-columns: 1fr; } }

.contact-lines { list-style: none; padding: 0; margin: 0 0 2rem; }
.contact-lines li { margin-bottom: 1rem; }
.contact-lines strong { display: block; font: 500 1.15rem var(--display); }

.notice {
  border-left: 4px solid var(--crimson); background: #f7f7f7;
  padding: 1rem 1.25rem; border-radius: 0 8px 8px 0; margin: 1.5rem 0;
}

/* ---- Forms ------------------------------------------------------------ */

.form { display: grid; gap: 1rem; }
.form .row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.field { display: grid; gap: 0.35rem; }
.field > span, fieldset > legend { font-weight: 600; font-size: 0.95rem; }
.field .req { color: var(--crimson); }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"],
input[type="number"], select, textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: 0.75rem 0.9rem; border: 1px solid #b9b9b9; border-radius: 6px; background: var(--paper);
}
textarea { min-height: 8rem; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--crimson-bright); outline-offset: 1px; border-color: transparent; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 0.35rem; }
.choices { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.choices label { display: inline-flex; gap: 0.4rem; align-items: center; font-weight: 400; }
.choices input { accent-color: var(--crimson); width: 1.05rem; height: 1.05rem; }
.form-section { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--stone-deep); }
.form-section > h3 { margin-bottom: 1.25rem; }
.form-card { background: var(--paper); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 10px 30px rgba(44,45,46,.1); }
.band--stone .form-card { box-shadow: none; }

.sig { display: grid; gap: 0.35rem; }
.sig canvas {
  width: 100%; height: 150px; touch-action: none;
  border: 1px dashed #9a9a9a; border-radius: 6px; background: #fcfcfc; cursor: crosshair;
}
.sig .sig__bar { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; color: var(--ink-soft); }
.sig button { background: none; border: 0; color: var(--crimson); font: 600 0.9rem var(--body); cursor: pointer; padding: 0.2rem; }

.form-status { margin: 0; font-weight: 600; }
.form-status[data-kind="ok"] { color: #1d6b3a; }
.form-status[data-kind="error"] { color: var(--crimson); }
altcha-widget { --altcha-max-width: 100%; }

/* ---- Footer ----------------------------------------------------------- */

.site-footer { background: var(--paper); border-top: 1px solid var(--stone); padding: 4rem 0 calc(2rem + env(safe-area-inset-bottom, 0px)); }
.site-footer .seal { margin: 0 auto 2.5rem; width: 120px; }
.footer-cols { display: grid; gap: 2.5rem; grid-template-columns: 1.3fr 1fr 1fr; }
.footer-cols h2 { font-size: 1.4rem; margin-bottom: 1rem; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 1.5rem; }
.footer-cols li { margin-bottom: 0.45rem; break-inside: avoid; }
.footer-cols a { color: var(--ink); text-decoration: none; }
.footer-cols a:hover { color: var(--crimson); }
.socials { display: flex; gap: 0.6rem; margin-top: 1rem; }
.socials a { border-color: var(--stone-deep); color: var(--ink); }
.socials a:hover { background: var(--crimson); border-color: var(--crimson); color: var(--paper); }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
  border-top: 1px solid var(--stone-deep); margin-top: 3rem; padding-top: 1.5rem; font-size: 0.92rem; color: var(--ink-soft);
}
.footer-base img { width: min(100%, 553px); }
@media (max-width: 860px) { .footer-cols { grid-template-columns: 1fr; } }

/* ---- Video page ------------------------------------------------------- */

.embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.embed iframe, .embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---- Dropdown navigation and cart -------------------------------------- */

.nav-item { position: relative; display: inline-flex; align-items: center; gap: 0.1rem; }
.sub-toggle {
  display: inline-grid; place-items: center; width: 22px; height: 22px; padding: 0;
  background: none; border: 0; color: inherit; cursor: pointer;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.5));
}
.sub-toggle svg { width: 16px; height: 16px; transition: transform 0.15s; }
.nav-item[data-open] .sub-toggle svg { transform: rotate(180deg); }
.subnav {
  display: none; position: absolute; top: 100%; left: -0.75rem; z-index: 30;
  min-width: 14rem; list-style: none; margin: 0.5rem 0 0; padding: 0.5rem 0;
  background: var(--paper); border-radius: 10px; box-shadow: 0 16px 40px rgba(0,0,0,.25);
}
/* A bridge over the gap, so moving the mouse down to the menu does not close it. */
.subnav::before { content: ""; position: absolute; top: -0.6rem; left: 0; right: 0; height: 0.6rem; }
.nav--right .subnav { left: auto; right: -0.75rem; }
.nav-item:hover .subnav, .nav-item:focus-within .subnav, .nav-item[data-open] .subnav { display: block; }
.nav .subnav a {
  display: block; padding: 0.55rem 1.1rem; color: var(--ink); text-shadow: none; font-weight: 500;
}
.nav .subnav a::after { display: none; }
.nav .subnav a:hover, .nav .subnav a[aria-current="page"] { background: var(--stone); color: var(--crimson); }

.cart-link {
  position: relative; display: inline-grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%; background: var(--crimson); color: var(--paper);
}
.cart-link:hover { background: var(--crimson-bright); color: var(--paper); }
.cart-link::after { display: none; }
.cart-link svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--paper); color: var(--crimson);
  font: 700 0.75rem/20px var(--body); text-align: center; text-shadow: none;
}

@media (max-width: 1150px) {
  .nav--right .nav-item { display: none; }
}

.ministry-tiles small { display: block; font: 500 0.85rem/1.3 var(--body); opacity: 0.85; margin-top: 0.15rem; }
.dept__name { font: 600 clamp(1.4rem, 3vw, 1.9rem)/1.2 var(--script); color: var(--crimson); margin: -0.4rem 0 1.25rem; }

/* ---- Live content (assets/js/content.js) -------------------------------- */

.muted-light { color: rgba(255,255,255,.85); }

.cal-item {
  display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.25rem; align-items: start;
  padding: 1rem 1.25rem; border-radius: var(--radius); background: rgba(255,255,255,.92); color: var(--ink);
}
.cal-item + .cal-item { margin-top: 1rem; }
.cal-item__date {
  display: grid; place-items: center; padding: 0.5rem 0; border-radius: 10px;
  background: var(--crimson); color: var(--paper); line-height: 1.1;
}
.cal-item__day { font: 500 2rem/1 var(--display); }
.cal-item__month { font-size: 0.85rem; font-weight: 600; }
.cal-item h3 { margin: 0 0 0.35rem; font-size: 1.25rem; }
.cal-item p { margin: 0.15rem 0 0; }
.cal-item__when { color: var(--ink-soft); }

.calendar { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(1rem, 3vw, 1.75rem); }
.cal-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.cal-head h3 { margin: 0; }
.cal-nav {
  background: var(--stone); border: 0; border-radius: 999px; padding: 0.5rem 1rem;
  font: 600 0.9rem var(--body); color: var(--ink); cursor: pointer;
}
.cal-nav:hover { background: var(--crimson); color: var(--paper); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--stone-deep); border: 1px solid var(--stone-deep); }
.cal-wd { background: var(--stone); text-align: center; font-weight: 600; font-size: 0.85rem; padding: 0.4rem; }
.cal-day { background: var(--paper); min-height: 6.5rem; padding: 0.35rem; display: flex; flex-direction: column; gap: 0.2rem; }
.cal-day.is-other { background: #f5f5f5; }
.cal-day__n { font-size: 0.85rem; color: var(--ink-soft); }
.cal-day.is-today .cal-day__n { color: var(--crimson); font-weight: 700; }
.cal-day button {
  background: none; border: 0; padding: 0.1rem 0; text-align: left; cursor: pointer;
  color: var(--crimson); font: 600 0.78rem/1.25 var(--body);
}
.cal-day button:hover { text-decoration: underline; }
.cal-list { margin-top: 2rem; }
.calendar .cal-item { background: #f7f7f7; }
@media (max-width: 700px) { .cal-grid { display: none; } .cal-list { margin-top: 0.5rem; } }

.comments { margin-top: 3rem; border-top: 1px solid var(--stone-deep); padding-top: 2rem; }
.comment { border-top: 1px solid var(--stone-deep); padding: 1rem 0; }
.comment p { margin: 0 0 0.35rem; }
.comment__body { white-space: pre-line; }
.comment-form { margin-top: 2rem; }

.video-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.video-filters button {
  border: 1px solid var(--stone-deep); background: var(--paper); border-radius: 999px;
  padding: 0.45rem 1rem; font: 600 0.9rem var(--body); cursor: pointer; color: var(--ink);
}
.video-filters button[aria-pressed="true"] { background: var(--crimson); border-color: var(--crimson); color: var(--paper); }
.video-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.video-card { margin: 0; }
/* YouTube sermons on the Media page: thumbnail buttons that play above. */
.yt-feature { align-items: center; }
.yt-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.yt-card { display: flex; flex-direction: column; gap: 0.4rem; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; }
.yt-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: #000; transition: transform 0.3s ease; }
.yt-card:hover img, .yt-card:focus-visible img { transform: scale(1.02); }
.yt-card:focus-visible { outline: 3px solid var(--crimson); outline-offset: 4px; border-radius: 10px; }
.yt-card__title { font-family: var(--display); font-size: 1.15rem; line-height: 1.2; }
.yt-card__date { font-size: 0.9rem; }
.video-card video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; }
.video-card figcaption h3 { margin: 0.75rem 0 0.25rem; font-size: 1.2rem; }

.episode-feature, .episode { display: grid; grid-template-columns: 12rem 1fr; gap: 1.5rem; align-items: start; }
.episode-feature { background: var(--paper); border-radius: var(--radius); padding: 1.25rem; }
.episode-feature img, .episode img { width: 100%; border-radius: 10px; aspect-ratio: 1; object-fit: cover; }
.episode { border-top: 1px solid var(--stone-deep); padding: 1.25rem 0; }
.episode h3, .episode-feature h3 { margin: 0 0 0.35rem; }
@media (max-width: 640px) { .episode-feature, .episode { grid-template-columns: 1fr; } .episode-feature img, .episode img { max-width: 12rem; } }
audio { width: 100%; margin-top: 0.75rem; }
.podcast-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }

.cart-line {
  display: grid; grid-template-columns: 1fr 5rem 6rem auto; gap: 1rem; align-items: center;
  padding: 1rem 0; border-bottom: 1px solid var(--stone-deep);
}
.cart-line input { padding: 0.5rem; }
@media (max-width: 560px) { .cart-line { grid-template-columns: 1fr 4.5rem; } }
.cart-total { text-align: right; font: 500 1.4rem var(--display); margin-top: 1.25rem; }
.product__added { font-size: 0.9rem; color: #1d6b3a; margin: 0; }

.affirm { padding: 1.25rem 0; border-bottom: 1px solid var(--stone-deep); }
.affirm h3 { font-size: 1.25rem; margin-bottom: 0.35rem; }
.affirm p { margin: 0; }
.affirm__who { font-style: italic; color: var(--crimson); }
.post-body img { border-radius: var(--radius); }
/* A cover that was zoomed or moved in the Blog editor shows at card shape, framed the same way. */
.post-cover { overflow: hidden; border-radius: var(--radius); aspect-ratio: 880 / 460; margin-block: 1rem 1.5rem; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; object-position: var(--cover-pos, 50% 50%); transform: scale(var(--cover-zoom, 1)); transform-origin: var(--cover-pos, 50% 50%); }
/* Fonts chosen per post in the Blog editor (TheSuiteSite POST_FONTS). */
.post-text--serif .post-body { font-family: "Source Serif 4", Georgia, serif; }
.post-text--sans .post-body { font-family: "Helvetica Neue", Arial, sans-serif; }
.post-text--script .post-body { font-family: "Great Vibes", "Segoe Script", cursive; font-size: 1.35em; }
.post-text--display .post-body { font-family: "Big Shoulders Display", Impact, sans-serif; font-size: 1.15em; }
.post-text--typewriter .post-body { font-family: "Courier Prime", "Courier New", monospace; }
.post-head--serif :is(.post-title, .post-body h2, .post-body h3) { font-family: "Source Serif 4", Georgia, serif; }
.post-head--sans :is(.post-title, .post-body h2, .post-body h3) { font-family: "Helvetica Neue", Arial, sans-serif; }
.post-head--script :is(.post-title, .post-body h2, .post-body h3) { font-family: "Great Vibes", "Segoe Script", cursive; text-transform: none; letter-spacing: 0; }
.post-head--display :is(.post-title, .post-body h2, .post-body h3) { font-family: "Big Shoulders Display", Impact, sans-serif; }
.post-head--typewriter :is(.post-title, .post-body h2, .post-body h3) { font-family: "Courier Prime", "Courier New", monospace; text-transform: none; }

/* A lone "coming soon" note spans the product grid instead of sitting in its first column. */
.products > p:only-child { grid-column: 1 / -1; }
.products--center > p:only-child { text-align: center; }

/* ---- Motion and hover (assets/js/site.js adds the classes) --------------- */
/*
 * The WordPress home page animated its photos on hover: one zoomed in, one
 * shrank, one rotated. These carry the same idea across the site, with a
 * different movement per kind of card so it does not all feel the same.
 * Everything here is skipped for people who ask for reduced motion.
 */

@media (prefers-reduced-motion: no-preference) {
  /* Scroll reveal: only hidden once site.js has marked the page, so the
   * content is never invisible without JavaScript. */
  .js-motion [data-reveal] {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--reveal-delay, 0s);
  }
  .js-motion [data-reveal="left"] { transform: translateX(-36px); }
  .js-motion [data-reveal="right"] { transform: translateX(36px); }
  .js-motion [data-reveal="zoom"] { transform: scale(0.94); }
  .js-motion [data-reveal].is-in { opacity: 1; transform: none; }
  /* Content waiting to slide in from the side must not widen the page. */
  .js-motion main { overflow-x: clip; }

  /* Cards that clip their photo: the photo zooms, the card lifts. */
  .post-card, .ministry, .product, .service, .cal-item, .event {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.2s;
  }
  .post-card img, .ministry img { transition: transform 0.9s cubic-bezier(.2,.7,.2,1); }
  .post-card:hover, .ministry:hover { transform: translateY(-6px); }
  .ministry:hover img { transform: scale(1.08); }
  .post-card:hover img { transform: scale(calc(var(--cover-zoom, 1) * 1.08)); }
  .ministry:hover { box-shadow: 0 16px 34px rgba(44,45,46,.16); }

  /* Products: the item rises off its white plate. */
  .product img { transition: transform 0.5s cubic-bezier(.2,.7,.2,1); }
  .product:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(44,45,46,.14); }
  .product:hover img { transform: scale(1.06) translateY(-4px); }

  /* Weekly services: the photo turns a little, as the old site's did. */
  .service img { transition: transform 0.6s cubic-bezier(.2,.7,.2,1), box-shadow 0.6s; }
  .service:hover { box-shadow: 0 12px 28px rgba(44,45,46,.14); }
  .service:hover img { transform: rotate(-4deg) scale(1.04); box-shadow: 0 10px 20px rgba(0,0,0,.2); }

  /* Events and department photos. */
  .cal-item:hover, .event:hover { transform: translateX(6px); }
  .dept img, .leader img, .episode-feature img, .episode img, .prose img, .post-body img {
    transition: transform 0.9s cubic-bezier(.2,.7,.2,1), box-shadow 0.9s;
  }
  .dept img:hover, .episode-feature img:hover, .episode img:hover, .prose img:hover, .post-body img:hover {
    transform: scale(1.03); box-shadow: 0 18px 36px rgba(0,0,0,.18);
  }

  /* Big feature photos (Watch Online, The Kingdom, Our Ministries) follow
   * the pointer in 3D; site.js sets --tilt-x / --tilt-y. */
  .split > img {
    transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) scale(var(--tilt-s, 1));
    transition: transform 0.6s cubic-bezier(.2,.7,.2,1), box-shadow 0.6s;
    will-change: transform;
  }
  .split > img.is-tilting { transition: transform 0.12s linear, box-shadow 0.6s; box-shadow: 0 26px 50px rgba(0,0,0,.28); }

  /* Buttons and links. */
  .btn { transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.2s, box-shadow 0.2s; }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.18); }
  .btn:active { transform: translateY(0); box-shadow: none; }
  .ministry-tiles a { transition: background-color 0.2s, border-color 0.2s, transform 0.25s; }
  .ministry-tiles a:hover { transform: translateY(-3px); }
  .ministry-tiles svg { transition: transform 0.25s; }
  .ministry-tiles a:hover svg { transform: translateX(5px); }
  .hero__social a, .socials a, .cart-link { transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.25s; }
  .hero__social a:hover, .socials a:hover, .cart-link:hover { transform: translateY(-3px) rotate(-8deg); }
  .giving img { transition: transform 0.6s cubic-bezier(.2,.7,.2,1); }
  .giving:hover img { transform: scale(1.1) rotate(-6deg); }
  .site-footer .seal { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
  .site-footer .seal:hover { transform: rotate(360deg); }
}

/* Back to top: appears once the visitor is a screen or two down. */
.to-top {
  position: fixed; right: var(--gutter); bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); z-index: 40;
  display: grid; place-items: center; width: 46px; height: 46px; padding: 0;
  border: 0; border-radius: 50%; background: var(--crimson); color: var(--paper); cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity 0.25s, transform 0.25s, background-color 0.15s;
}
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--crimson-bright); }
.to-top svg { width: 22px; height: 22px; }

/* ---- 2026 facelift: service board, next service, The Call -------------- */

.btn--outline { background: transparent; border-color: rgba(255,255,255,.85); color: var(--paper); }
.btn--outline:hover { background: var(--paper); border-color: var(--paper); color: var(--crimson); }

/* The service board: the week set like a revival handbill, days in tall
 * wood-type, the next service lit in crimson with its countdown
 * (site.js marks it). This is the one loud thing on the page. */
.board { background: var(--night); color: var(--paper); padding-block: var(--band); }
.board h2, .board h3 { color: var(--paper); }
.board__head {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1rem 3rem;
  align-items: end; margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.board__head h2 {
  margin: 0; font-size: clamp(3rem, 6.6vw, 5.75rem); font-weight: 900; line-height: 0.86; text-transform: uppercase;
}
.board__intro { display: grid; gap: 1.1rem; justify-items: start; }
.board__head p { margin: 0; color: rgba(255,255,255,.82); max-width: 30rem; }
.board__days, .board__services { list-style: none; margin: 0; padding: 0; }
.board__day {
  display: grid; grid-template-columns: 7.5rem 19rem minmax(0, 1fr);
  gap: 1rem 2rem; align-items: center;
  padding-block: 1.5rem; border-top: 1px solid rgba(255,255,255,.16);
}
.board__day:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.board__day img { width: 7.5rem; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.board__dayname {
  margin: 0; font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 900; line-height: 0.9; text-transform: uppercase;
}
.board__services li {
  display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 0.25rem 1rem; align-items: baseline;
  padding: 0.7rem 1rem; border-left: 5px solid transparent;
}
.board__time { font: 800 1.65rem/1 var(--display); letter-spacing: 0.02em; }
.board__name { font-size: 1.15rem; line-height: 1.35; }
.board__name small { display: block; font-size: 0.95rem; font-style: italic; color: rgba(255,255,255,.72); margin-top: 0.15rem; }
.board__services li.is-next { background: var(--crimson); border-left-color: var(--paper); }
.board__services li.is-next small { color: rgba(255,255,255,.9); }
.board__badge {
  grid-column: 2; display: block; margin-top: 0.35rem;
  font: 700 1.1rem/1.1 var(--display); letter-spacing: 0.03em;
}
@media (max-width: 860px) {
  .board__head { grid-template-columns: 1fr; }
  .board__day { grid-template-columns: 5.5rem minmax(0, 1fr); }
  .board__day img { width: 5.5rem; }
  .board__services { grid-column: 1 / -1; }
  .board__services li { grid-template-columns: 5.5rem minmax(0, 1fr); padding-inline: 0.75rem; }
}

/* Next service, on the home hero. */
.next-service {
  display: inline-block; text-align: left; margin-top: 2.25rem;
  padding: 1.1rem 1.4rem 1.25rem; max-width: 34rem;
  background: rgba(31,31,32,.7); border-left: 6px solid var(--crimson-bright);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.next-service p { margin: 0; }
.next-service__label { font-style: italic; color: rgba(255,255,255,.8); }
.next-service__name { font: 800 clamp(1.7rem, 3.6vw, 2.3rem)/1 var(--display); margin: 0.2rem 0 0.35rem !important; }
.next-service__when { color: rgba(255,255,255,.9); }
.next-service__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem !important; }
.next-service.is-live { border-left-color: var(--paper); background: rgba(195,6,49,.85); }

/* The Call Podcast on the home page. */
.call__grid { display: grid; grid-template-columns: minmax(12rem, 22rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.call__emblem img { width: 100%; border-radius: 4px; box-shadow: 0 24px 48px rgba(31,31,32,.28); }
.call__episode { margin: 1.5rem 0; padding: 1.25rem 1.4rem; background: var(--stone); border-left: 6px solid var(--crimson); }
.call__episode h3 { font-size: 1.6rem; margin-bottom: 0.3rem; }
.call__episode img { display: none; }
.call__episode .episode-feature, .call__episode article { display: block; padding: 0; background: none; }
@media (max-width: 760px) { .call__grid { grid-template-columns: 1fr; } .call__emblem { max-width: 16rem; } }

/* The Kingdom photo in an arched frame, like a tabernacle window. */
.split img.arch {
  border-radius: 50% 50% 4px 4px / 26% 26% 4px 4px;
  border: 8px solid var(--paper); box-shadow: 0 22px 44px rgba(31,31,32,.18);
}
.call__grid { align-items: start; }
.call__episode div > p:not(.muted) {
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.board__time { white-space: nowrap; }
@media (max-width: 860px) {
  .board__services li { grid-template-columns: 6.25rem minmax(0, 1fr); }
  .board__time { font-size: 1.45rem; }
}
