/* ============================================================
   FIRST LIGHT CHURCH - template stylesheet
   Warm, reverent, genuinely welcoming. The signature device is
   the Sunday bulletin: paper cards with double rules, small-caps
   rubrics, hairlines, and large italic scripture. Light only.

   Palette : linen #FAF6EF / hymnal burgundy #6E2C39 / amber
             #D9962E / walnut ink #2E2528 / rose tint #F3E4E0
   Type    : Newsreader (display + scripture italics) + Albert Sans
   ============================================================ */

:root {
  --linen: #faf6ef;
  --paper: #fffdf8;
  --burgundy: #6e2c39;
  --burgundy-deep: #571f2b;
  --amber: #d9962e;
  --amber-soft: rgba(217, 150, 46, 0.4);
  --walnut: #2e2528;
  --ink: #3b3234;
  --ink-soft: #6f6260;
  --rose: #f3e4e0;
  --line: #e6dcc9;

  --display: "Newsreader", "Georgia", serif;
  --body: "Albert Sans", system-ui, sans-serif;

  --radius: 6px;
  --shadow-paper: 0 1px 2px rgba(46, 37, 40, 0.06), 0 6px 18px rgba(46, 37, 40, 0.07);
}

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

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--linen);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.16;
  margin: 0 0 0.5em;
  letter-spacing: 0.005em;
  color: var(--walnut);
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--burgundy);
}

a:hover {
  color: var(--burgundy-deep);
}

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

.shell {
  width: min(1100px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: 4.6rem 0;
}

/* ---- Bulletin devices ---------------------------------------- */
.rubric {
  display: block;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin: 0 0 1rem;
}

.rubric.amber {
  color: var(--amber);
}

/* Single hairline */
.rule-hair {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.5rem 0;
}

/* Bulletin paper card: double rule at top, hairline frame */
.bulletin-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px double var(--burgundy);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-paper);
}

.section-head {
  max-width: 620px;
  margin-bottom: 2.4rem;
}

.section-head.centered {
  text-align: center;
  margin-inline: auto;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  margin-bottom: 0.3em;
}

.section-head .sub {
  color: var(--ink-soft);
  margin: 0;
}

.lede {
  font-size: clamp(1.02rem, 1.7vw, 1.15rem);
  color: var(--ink-soft);
}

em {
  font-family: var(--display);
  font-style: italic;
}

/* Scripture */
.verse {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  line-height: 1.45;
  color: var(--walnut);
  margin: 0 0 0.8rem;
}

.verse-ref {
  display: block;
  font-family: var(--body);
  font-style: normal;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--amber);
}

/* Bulletin photo: paper mount + italic caption */
.photo-fig {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 10px 0.7rem;
  box-shadow: var(--shadow-paper);
  min-width: 0;
}

.photo-fig img {
  width: 100%;
  object-fit: cover;
  border-radius: 3px;
  /* Gentle warm harmonizer so mixed stock photos sit together
     against the linen ground. */
  filter: saturate(0.92) sepia(0.08);
}

.fig-cap {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding: 0.65rem 0.35rem 0;
  text-align: center;
}

/* ---- Buttons ---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.9rem 1.7rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 170ms ease, color 170ms ease,
    border-color 170ms ease;
}

.btn-burgundy {
  background: var(--burgundy);
  color: var(--linen);
}

.btn-burgundy:hover {
  background: var(--burgundy-deep);
  color: var(--linen);
}

.btn-ghost {
  background: transparent;
  border-color: var(--burgundy);
  color: var(--burgundy);
}

.btn-ghost:hover {
  background: var(--burgundy);
  color: var(--linen);
}

.btn-linen {
  background: var(--linen);
  color: var(--burgundy);
}

.btn-linen:hover {
  background: #fff;
  color: var(--burgundy-deep);
}

.text-link {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--burgundy);
  text-decoration: none;
  border-bottom: 1px solid var(--amber);
  padding-bottom: 0.2rem;
}

.text-link:hover {
  color: var(--burgundy-deep);
  border-bottom-color: var(--burgundy);
}

/* ---- Service-times strip (pinned above header) --------------------- */
.times-strip {
  background: var(--burgundy);
  color: var(--linen);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.5rem 1rem;
}

.times-strip .dot {
  color: var(--amber);
  padding: 0 0.45rem;
}

/* ---- Header -------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 130;
  background: var(--linen);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--walnut);
  min-width: 0;
}

.brand-mark {
  flex: none;
  color: var(--amber);
  display: inline-flex;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.32rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--walnut);
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  color: var(--burgundy);
}

.nav a.active {
  color: var(--burgundy);
  border-bottom-color: var(--amber);
}

.nav-close {
  display: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.55rem;
  cursor: pointer;
}

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.nav-toggle-bar {
  height: 2px;
  border-radius: 2px;
  background: var(--walnut);
}

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(46, 37, 40, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.nav-scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ---- Hero ------------------------------------------------------------ */
.hero {
  padding: 3.8rem 0 3.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 3.4rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  margin-bottom: 0.4em;
}

.hero h1 em {
  color: var(--burgundy);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.7rem 0 1.3rem;
}

.hero-note {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--ink-soft);
  margin: 0;
}

.hero .photo-fig img {
  aspect-ratio: 4 / 4.5;
}

/* ---- Order of service (signature) --------------------------------------- */
.order-band {
  background: var(--rose);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 4.4rem 0;
}

.order-card {
  max-width: 640px;
  margin-inline: auto;
  padding: 2.4rem clamp(1.4rem, 4vw, 3rem) 2.1rem;
  text-align: center;
}

.order-card .rubric {
  margin-bottom: 0.4rem;
}

.order-card h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.2rem);
  margin-bottom: 0.2em;
}

.order-card .order-sub {
  font-family: var(--display);
  font-style: italic;
  color: var(--ink-soft);
  margin: 0 0 1.8rem;
}

.order-rows {
  text-align: left;
  margin: 0 0 1.8rem;
}

.order-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 1.2rem;
  align-items: baseline;
  padding: 0.85rem 0.2rem;
  border-top: 1px solid var(--line);
}

.order-row:last-child {
  border-bottom: 1px solid var(--line);
}

.order-time {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--burgundy);
  white-space: nowrap;
}

.order-what {
  font-weight: 600;
  color: var(--walnut);
}

.order-note {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.order-addr {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
}

.order-addr strong {
  color: var(--walnut);
}

/* ---- Page hero (interior pages) --------------------------------------------- */
.page-hero {
  padding: 3.6rem 0 2.8rem;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3rem);
  max-width: 680px;
}

.page-hero .lede {
  max-width: 600px;
  margin-bottom: 0;
}

/* Wide, left-aligned bulletin card (run of show, beliefs) */
.order-card.wide {
  max-width: 780px;
  text-align: left;
}

.order-card.wide .rubric,
.order-card.wide h2,
.order-card.wide .order-sub {
  text-align: center;
}

.order-card.wide .order-row {
  grid-template-columns: 112px minmax(0, 1fr);
}

/* Small italic template note */
.template-note {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-align: center;
  max-width: 560px;
  margin: 1.8rem auto 0;
}

/* Belief briefs: scripture reference line */
.brief .ref {
  display: block;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-top: 0.8rem;
}

/* Leadership rows (bulletin index variant) */
.leader-row {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.6fr);
  gap: 1.6rem;
  align-items: baseline;
  padding: 1.3rem 0.3rem;
  border-bottom: 1px solid var(--line);
}

.leader-list {
  border-top: 1px solid var(--line);
}

.leader-row h3 {
  font-size: 1.3rem;
  margin: 0 0 0.1em;
}

.leader-role {
  display: block;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.leader-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

/* ---- Scripture block ------------------------------------------------------ */
.verse-block {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  padding: 1rem 0;
}

.verse-block::before,
.verse-block::after {
  content: "";
  display: block;
  width: 72px;
  border-top: 1px solid var(--amber-soft);
  margin: 0 auto;
}

.verse-block::before {
  margin-bottom: 2rem;
}

.verse-block::after {
  margin-top: 2rem;
}

/* ---- Bulletin briefs (what to expect) --------------------------------------- */
.briefs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.4rem;
}

.brief {
  border-top: 3px double var(--line);
  padding-top: 1.3rem;
  min-width: 0;
}

.brief .rubric {
  margin-bottom: 0.6rem;
}

.brief h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35em;
}

.brief p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  margin: 0;
}

/* ---- Ministries list (bulletin style) ------------------------------------------ */
.ministry-list {
  border-top: 1px solid var(--line);
}

.ministry-row {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr) auto;
  gap: 1.6rem;
  align-items: baseline;
  padding: 1.4rem 0.3rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.ministry-row:hover {
  background: var(--paper);
}

.ministry-row h3 {
  font-size: 1.35rem;
  margin: 0;
}

.ministry-row:hover h3 {
  color: var(--burgundy);
}

.ministry-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.ministry-cue {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  white-space: nowrap;
}

/* ---- Pastor letter ----------------------------------------------------------------- */
.letter-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3.2rem;
  align-items: center;
}

.letter-split .photo-fig img {
  aspect-ratio: 4 / 3.4;
}

.letter-body p {
  font-family: var(--display);
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--ink);
}

.letter-sign {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--burgundy);
  margin: 1.4rem 0 0;
}

.letter-sign .role {
  display: block;
  font-family: var(--body);
  font-style: normal;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.3rem;
}

/* ---- Invite panel -------------------------------------------------------------------- */
.invite-card {
  max-width: 660px;
  margin-inline: auto;
  padding: 2.8rem clamp(1.4rem, 4vw, 3.2rem) 2.5rem;
  text-align: center;
}

.invite-card h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.4rem);
  margin-bottom: 0.4em;
}

.invite-card p {
  color: var(--ink-soft);
  max-width: 460px;
  margin: 0 auto 1.7rem;
}

.invite-card .after-line {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin: 1.5rem 0 0;
}

.invite-card .after-line a {
  color: var(--burgundy);
  font-weight: 600;
  text-decoration: none;
}

.invite-card .after-line a:hover {
  text-decoration: underline;
}

/* ---- Footer ------------------------------------------------------------------------------ */
.site-footer {
  background: var(--walnut);
  color: #d9cfc6;
  padding: 3.8rem 0 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr) minmax(0, 1.2fr) minmax(0, 0.75fr);
  gap: 2.4rem;
}

.footer-brand .brand-name {
  color: var(--linen);
  display: block;
  margin-bottom: 0.6rem;
}

.footer-brand p {
  margin: 0;
}

.footer-head {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 1rem;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-list a {
  color: #d9cfc6;
  text-decoration: none;
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.footer-list a:hover {
  color: var(--linen);
  text-decoration: underline;
}

.footer-verse {
  font-family: var(--display);
  font-style: italic;
  color: #b9aca6;
  margin: 2.6rem 0 0;
  text-align: center;
  font-size: 0.98rem;
}

.footer-fine {
  border-top: 1px solid rgba(217, 150, 46, 0.3);
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: #a5978f;
}

.footer-fine p {
  margin: 0;
}

/* ---- Ministry detail (Ministries page) ------------------------------------------------------ */
.ministry-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 3.2rem;
  align-items: center;
}

.ministry-detail + .ministry-detail {
  margin-top: 3.6rem;
}

.ministry-detail.flip .photo-fig {
  order: 2;
}

.ministry-detail .photo-fig img {
  aspect-ratio: 4 / 3.2;
}

.ministry-detail h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
}

.ministry-detail p {
  color: var(--ink);
}

/* Meets-when line: paper strip with hairline top */
.meets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  margin: 1.4rem 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.meets li {
  min-width: 0;
}

.meets .meets-label {
  display: block;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.15rem;
}

.meets .meets-value {
  font-family: var(--display);
  font-size: 1.02rem;
  color: var(--walnut);
}

/* ---- Sermons (Sermons page) ----------------------------------------------------------------- */
.series-card {
  padding: 2.4rem clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 2.6rem;
  align-items: center;
}

.series-card .photo-fig {
  margin: 0;
}

.series-card .photo-fig img {
  aspect-ratio: 4 / 3;
}

.series-now {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 0.6rem;
}

.series-card h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  margin-bottom: 0.25em;
}

.series-card .series-passage {
  font-family: var(--display);
  font-style: italic;
  color: var(--burgundy);
  margin: 0 0 1rem;
}

.series-card p {
  color: var(--ink-soft);
  margin: 0;
}

.sermon-list {
  border-top: 1px solid var(--line);
}

.sermon-row {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  gap: 1.6rem;
  align-items: baseline;
  padding: 1.4rem 0.3rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}

.sermon-row:hover {
  background: var(--paper);
}

.sermon-date {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}

.sermon-main h3 {
  font-size: 1.3rem;
  margin: 0 0 0.15em;
}

.sermon-row:hover .sermon-main h3 {
  color: var(--burgundy);
}

.sermon-meta {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.96rem;
  color: var(--ink-soft);
}

.sermon-passage {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  white-space: nowrap;
}

.sermon-listen-note {
  font-family: var(--display);
  font-style: italic;
  color: var(--ink-soft);
  text-align: center;
  margin: 2.4rem auto 0;
  max-width: 540px;
}

/* ---- Connect page (form) -------------------------------------------------------------------- */
.connect-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 3rem;
  align-items: start;
}

.form-card {
  padding: 2.2rem clamp(1.4rem, 3vw, 2.4rem);
}

.form-card h2 {
  font-size: 1.6rem;
  margin-bottom: 0.9rem;
}

.demo-flag {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0.2rem;
  margin-bottom: 1.7rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.demo-flag svg {
  flex: none;
  color: var(--amber);
  margin-top: 0.15rem;
}

.field {
  margin-bottom: 1.2rem;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.field label {
  display: block;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--walnut);
  margin-bottom: 0.45rem;
}

.field .req {
  color: var(--burgundy);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--linen);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.72rem 0.9rem;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--burgundy);
  background: #fff;
}

.form-note {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.prayer-note {
  display: none;
  gap: 0.6rem;
  align-items: flex-start;
  background: var(--rose);
  border-radius: var(--radius);
  padding: 0.9rem 1.05rem;
  margin: 0 0 1.2rem;
  font-size: 0.88rem;
  color: var(--burgundy-deep);
}

.prayer-note.is-shown {
  display: flex;
}

.prayer-note svg {
  flex: none;
  color: var(--burgundy);
  margin-top: 0.15rem;
}

.form-card .btn {
  margin-top: 0.4rem;
}

.form-status {
  display: none;
  margin: 1.3rem 0 0;
  padding: 1.1rem 1.2rem;
  background: var(--burgundy);
  color: var(--linen);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  border-radius: var(--radius);
}

.form-status.is-shown {
  display: block;
}

.connect-side {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.info-block .rubric {
  margin-bottom: 0.5rem;
}

.info-block p {
  margin: 0;
  color: var(--ink);
  font-size: 0.97rem;
}

.info-block a {
  color: var(--burgundy);
  text-decoration: none;
  border-bottom: 1px solid var(--amber);
  overflow-wrap: anywhere;
}

.info-block a:hover {
  color: var(--burgundy-deep);
}

.info-block + .info-block {
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}

.map-frame {
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.8rem;
  background: var(--walnut);
  color: var(--linen);
  border-radius: var(--radius);
}

.map-frame::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(217, 150, 46, 0.5);
  pointer-events: none;
}

.map-frame-inner {
  position: relative;
}

.map-frame .map-pin {
  color: var(--amber);
  margin-bottom: 0.6rem;
}

.map-frame .map-title {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
  margin: 0 0 0.2rem;
}

.map-frame p {
  margin: 0;
  color: rgba(250, 246, 239, 0.72);
  font-size: 0.88rem;
}

/* ---- Scroll reveal -------------------------------------------------------------------------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}

html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

html.js .reveal[data-delay="1"] {
  transition-delay: 100ms;
}

html.js .reveal[data-delay="2"] {
  transition-delay: 200ms;
}

/* ---- Responsive ------------------------------------------------------------------------------- */
/* Drawer at 1080px: six long labels plus the visit button. */
@media (max-width: 1080px) {
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    width: min(330px, 84vw);
    background: var(--burgundy);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 4.8rem 2.1rem 2rem;
    transform: translateX(105%);
    transition: transform 250ms ease;
    visibility: hidden;
    overflow-y: auto;
  }

  .nav.is-open {
    transform: none;
    visibility: visible;
  }

  .nav a {
    font-family: var(--display);
    font-weight: 500;
    font-size: 1.3rem;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--linen);
    width: 100%;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(250, 246, 239, 0.22);
  }

  .nav a:hover {
    color: #fff;
  }

  .nav a.active {
    color: var(--amber);
    border-bottom-color: var(--amber);
  }

  .nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    width: 42px;
    height: 42px;
    border: 1px solid var(--amber);
    border-radius: 50%;
    background: transparent;
    color: var(--linen);
    cursor: pointer;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.6rem;
  }

  .hero .photo-fig {
    max-width: 440px;
  }

  .briefs {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
    max-width: 520px;
  }

  .letter-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.4rem;
  }

  .letter-split .photo-fig {
    max-width: 460px;
  }

  .ministry-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.3rem;
  }

  .ministry-cue {
    margin-top: 0.3rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .leader-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.3rem;
  }

  .ministry-detail {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.2rem;
  }

  .ministry-detail.flip .photo-fig {
    order: 0;
  }

  .ministry-detail .photo-fig {
    max-width: 460px;
  }

  .series-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
  }

  .connect-cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.2rem;
  }
}

@media (max-width: 640px) {
  .order-card.wide .order-row {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .section {
    padding: 3.4rem 0;
  }

  .sermon-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.35rem;
  }

  .sermon-passage {
    white-space: normal;
  }

  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.9rem;
  }

  .brand-sub {
    display: none;
  }

  /* Allow the name to wrap rather than overflow at narrow widths
     once the webfont loads. */
  .brand-name {
    white-space: normal;
    font-size: 1.15rem;
    line-height: 1.2;
  }

  .times-strip {
    font-size: 0.66rem;
    letter-spacing: 0.1em;
  }

  .order-row {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 0.9rem;
  }
}

@media (max-width: 480px) {
  .btn.header-cta {
    display: none;
  }
}

/* ---- Reduced motion ----------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
  }
}
