/* Market My Church
   Brand guide: navy #041529, red #BF0B30, off-white #FCFCFC (primary); slate #2C3C4C, tan #A98974 (secondary).
   Titles in Orelega One, paragraphs in Oswald. Big type, the colour strip, thumbprints, expression lines. */

@font-face {
  font-family: "Orelega One";
  src: url("/assets/fonts/orelega-one.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Oswald";
  src: url("/assets/fonts/oswald.woff2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
}

:root {
  --navy: #041529;
  --red: #BF0B30;
  --red-deep: #9C0826;
  --paper: #FCFCFC;
  --slate: #2C3C4C;
  --tan: #A98974;
  --mist: #F1F1EF;
  --teal: #0B6F6C;        /* Tapestry's own colour, only on its page and marks */
  --teal-deep: #08524F;
  --teal-tint: #E6F4F3;
  --print: #E9E9E7;
  --line: rgba(4, 21, 41, .14);
  --line-light: rgba(252, 252, 252, .22);
  --ink: var(--slate);

  --title: "Orelega One", "Rockwell", Georgia, serif;
  --text: "Oswald", "Arial Narrow", "Helvetica Neue", sans-serif;

  --wrap: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 92px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 30px 60px -30px rgba(4, 21, 41, .35), 0 12px 24px -16px rgba(4, 21, 41, .25);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 300 1.25rem/1.6 var(--text);
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; font-family: var(--title); font-weight: 400; color: var(--navy); line-height: 1.02; text-wrap: balance; }
strong, b { font-weight: 500; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
.skip--ds { border: 0; font: inherit; cursor: pointer; max-width: calc(100vw - 32px); }
.skip--ds:not(:focus) { top: -999px; clip-path: inset(50%); }
.skip--ds:focus { left: 200px; }
@media (max-width: 640px) { .skip--ds:focus { left: 16px; top: 60px; } }
.center { text-align: center; }
.icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- type ---------- */

.display { font-size: clamp(2.5rem, 5vw, 5.2rem); letter-spacing: -.012em; line-height: .96; }
.h2 { font-size: clamp(2.2rem, 4.2vw, 3.8rem); line-height: 1; }
.h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.1; }
.lead { font-size: clamp(1.38rem, 2vw, 1.7rem); line-height: 1.45; font-weight: 300; color: var(--navy); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em; margin: 0 0 1.2rem;
  font: 500 .95rem/1 var(--text); letter-spacing: .18em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: #fff; }
.eyebrow--light::before { background: var(--red); }
.cta .eyebrow--light::before, .words__about .eyebrow--light::before, .principle .eyebrow--light::before { background: #fff; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-top: 1.8em; }
.prose h3 { font-size: 1.5rem; margin-top: 1.5em; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--red); }
/* Links in articles are red, but not the buttons, whose text would vanish on their own red. */
.prose a:not(.btn) { color: var(--red); text-underline-offset: .2em; }
.prose strong { color: var(--navy); }

/* ---------- the brand pieces ---------- */

/* The wavy colour strip. */
.strip { position: relative; overflow: hidden; line-height: 0; }
.strip svg { width: 100%; height: 100%; }
.strip__navy { fill: var(--navy); }
.strip__red { fill: var(--red); }
.strip__tan { fill: var(--tan); }
.strip__slate { fill: var(--slate); }
.strip__white { fill: var(--paper); }
.strip--header { height: 10px; }
.strip--footer { height: 14px; }

/* Thumbprints, the old site's background ridges (fill: currentColor). */
.thumbprint {
  position: absolute; pointer-events: none; color: var(--print); z-index: 0; aspect-ratio: 904 / 897;
  background: currentColor; -webkit-mask: var(--print-svg) center / contain no-repeat; mask: var(--print-svg) center / contain no-repeat;
}
.thumbprint--1 { --print-svg: url("/assets/img/thumbprint-1.svg"); }
.thumbprint--2 { --print-svg: url("/assets/img/thumbprint-2.svg"); }
.thumbprint--3 { --print-svg: url("/assets/img/thumbprint-3.svg"); }
.thumbprint--4 { --print-svg: url("/assets/img/thumbprint-4.svg"); }

/* The red line from under "My". */
.swoosh { fill: var(--red); overflow: visible; }

/* Expression lines: three flicks, navy / red / tan. */
.spark { overflow: visible; }
.spark__tan { fill: var(--tan); }
.spark__red { fill: var(--red); }
.spark__slate { fill: var(--slate); }

/* Brand-guide page marker: label, hairline, big number. */
.mark { display: flex; align-items: flex-end; gap: 18px; margin-bottom: clamp(28px, 4vw, 48px); color: var(--navy); }
.mark__label { font: 400 1.15rem/1 var(--text); white-space: nowrap; padding-bottom: .55em; }
.mark__rule { flex: 1; height: 1px; background: currentColor; opacity: .35; margin-bottom: .9em; transform-origin: left; }
.mark__no { font: 400 clamp(3rem, 6vw, 5.4rem)/.8 var(--title); }
.mark--light { color: #fff; }

/* ---------- buttons ---------- */

.btn {
  --bg: var(--red); --fg: #fff; --bd: var(--red);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1.05em 2em 1.1em; border-radius: 999px; border: 2px solid var(--bd);
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer;
  font: 400 .95rem/1 var(--title); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  isolation: isolate;
}
.btn__label { position: relative; z-index: 1; }
.btn:hover { --bg: var(--navy); --bd: var(--navy); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--line { --bg: transparent; --fg: var(--navy); --bd: var(--navy); }
.btn--line:hover { --bg: var(--navy); --fg: #fff; }
.btn--light { --bg: #fff; --fg: var(--navy); --bd: #fff; }
.btn--light:hover { --bg: var(--red); --fg: #fff; --bd: var(--red); }
.btn--ghost { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .7); }
.btn--ghost:hover { --bg: #fff; --fg: var(--navy); --bd: #fff; }
.btn[data-size="sm"] { padding: .85em 1.5em .9em; font-size: .86rem; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--paper);
  transition: transform .45s var(--ease), box-shadow .3s;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled { box-shadow: 0 12px 30px -24px rgba(4, 21, 41, .5); }
.site-header__bar { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: block; width: clamp(128px, 12vw, 158px); flex: none; }
.brand__logo { width: 100%; height: auto; overflow: visible; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: clamp(14px, 2vw, 34px); margin: 0; padding: 0; list-style: none; }
.nav__link {
  position: relative; display: block; padding: 10px 0; text-decoration: none; color: var(--navy);
  font: 400 .95rem/1 var(--title); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
}
.nav__swoosh {
  position: absolute; left: -4%; bottom: -3px; width: 108%; height: 7px;
  clip-path: inset(0 100% 0 0); transition: clip-path .55s var(--ease);
}
.nav__link:hover .nav__swoosh, .nav__link[aria-current] .nav__swoosh { clip-path: inset(0 0 0 0); }
.site-header .btn { flex: none; }
.menu-toggle { display: none; }

/* Mobile menu: a navy sheet with big title-face links. */
.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--navy); color: #fff;
  padding-top: calc(var(--header-h) + 10px); overflow-y: auto; overscroll-behavior: contain;
}
.menu[hidden] { display: none; }
.menu__print { color: rgba(255, 255, 255, .05); width: 90vw; height: 90vw; right: -40vw; bottom: -20vw; }
.menu__nav { position: relative; padding-block: 32px 48px; }
.menu__list { list-style: none; margin: 0; padding: 0; }
.menu__link {
  display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-light);
  font: 400 clamp(2rem, 8vw, 3.2rem)/1.05 var(--title); text-decoration: none; color: #fff;
}
.menu__link small { font: 400 .95rem/1 var(--text); letter-spacing: .12em; color: var(--tan); }
.menu__link[aria-current] { color: var(--red); }
.menu__foot { display: flex; flex-direction: column; gap: 6px; margin-top: 32px; color: rgba(255, 255, 255, .7); }
.menu-open .site-header { background: var(--navy); box-shadow: none; }
.menu-open .site-header .brand__logo .logo-fp, .menu-open .site-header .brand__logo .logo-market, .menu-open .site-header .brand__logo .logo-my { fill: #fff; }

@media (max-width: 1260px) {
  :root { --header-h: 76px; }
  .nav, .site-header .btn { display: none; }
  .menu-toggle {
    display: grid; place-items: center; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 50%;
    background: transparent; cursor: pointer; color: var(--navy);
  }
  .menu-open .menu-toggle { color: #fff; }
  .menu-toggle__bars { display: grid; gap: 5px; width: 26px; }
  .menu-toggle__bars i { display: block; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
  .menu-toggle__bars i:nth-child(2) { width: 70%; justify-self: end; }
  [aria-expanded="true"] .menu-toggle__bars i:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  [aria-expanded="true"] .menu-toggle__bars i:nth-child(2) { opacity: 0; }
  [aria-expanded="true"] .menu-toggle__bars i:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* ---------- sections ---------- */

.section { position: relative; padding-block: clamp(84px, 11vw, 168px); }
.section--mist { background: var(--mist); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .lead { margin: 0; }
@media (max-width: 960px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- home: hero ---------- */

.hero { position: relative; overflow: hidden; padding-block: clamp(24px, 4vw, 56px) clamp(64px, 7vw, 96px); min-height: calc(100svh - var(--header-h) - 10px); display: flex; align-items: flex-start; }  /* Jaredith 11/14: less space under the header */
.hero__print { width: min(78vw, 1050px); aspect-ratio: 904 / 897; right: -14vw; top: 50%; translate: 0 -50%; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: clamp(16px, 2.4vw, 26px); padding: 6px 14px 6px 6px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; color: var(--navy);
  font: 400 1.1rem/1.2 var(--text); transition: border-color .3s, transform .3s var(--ease);
}
.chip b { background: var(--red); color: #fff; border-radius: 999px; padding: 5px 11px 6px; font: 400 .8rem/1 var(--title); letter-spacing: .06em; text-transform: uppercase; }
.chip .icon { transition: transform .3s var(--ease); }
.chip:hover { border-color: var(--navy); }
.chip:hover .icon { transform: translateX(4px); }
.hero__title { display: block; color: var(--navy); }
.hero__pre { display: block; font-size: clamp(2rem, 3.9vw, 3.8rem); line-height: 1; margin-left: .04em; }
.hero__big { display: block; font-size: clamp(4.4rem, 10.6vw, 10.6rem); line-height: .9; letter-spacing: -.02em; margin-top: -.02em; white-space: nowrap; }
.hero__spark { display: inline-block; width: .3em; height: .28em; margin: .02em 0 0 .02em; vertical-align: top; }
.hero__sub { margin: clamp(10px, 1.5vw, 18px) 0 0; font: 400 clamp(1.5rem, 2.5vw, 2.3rem)/1.08 var(--title); color: var(--navy); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(22px, 2.6vw, 32px); }
.hero__tag { margin: clamp(20px, 2.4vw, 28px) 0 0; font-size: clamp(1.3rem, 1.7vw, 1.55rem); line-height: 1.4; color: var(--slate); max-width: 36ch; }
.hero__tag em { position: relative; font-style: normal; font-weight: 500; color: var(--navy); white-space: nowrap; }
.hero__tag .swoosh { position: absolute; left: -3%; bottom: -.3em; width: 106%; height: .32em; }
.hero__down {
  position: absolute; left: 50%; bottom: 22px; translate: -50% 0; z-index: 2; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); color: var(--navy); background: var(--paper);
  animation: nudge 2.4s var(--ease) 3;   /* three nudges, then still (WCAG 2.2.2) */
}
@keyframes nudge { 50% { transform: translateY(6px); } }

/* The stage: fingerprint → blueprint → website. */
.stage { margin: 0; position: relative; }
.stage__frame { position: relative; }
.stage__svg { width: 100%; height: auto; overflow: visible; }
.stage__grid line { stroke: var(--slate); stroke-width: .6; opacity: .14; }
.stage__grid line.is-major { opacity: .26; stroke-width: .8; }
.stage__browser rect:first-child { fill: #fff; stroke: var(--navy); stroke-width: 2; filter: drop-shadow(0 22px 34px rgba(4, 21, 41, .16)); }
.stage__browser path { stroke: var(--navy); stroke-width: 1.4; opacity: .5; }
.stage__browser circle { fill: var(--print); }
.stage__browser circle:nth-of-type(1) { fill: var(--red); }
.stage__browser circle:nth-of-type(2) { fill: var(--tan); }
.stage__browser .stage__url { fill: var(--mist); }
.stage__ridges path { fill: none; stroke: var(--navy); stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }
.stage__ridges path.is-accent { stroke: var(--red); }
.stage__caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 18px; padding-inline: 5%; }
.stage__steps { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.stage__steps li {
  counter-increment: step; display: flex; align-items: center; gap: 7px; padding: 6px 12px 7px 8px; border-radius: 999px;
  font: 400 .88rem/1 var(--title); letter-spacing: .05em; text-transform: uppercase; color: var(--slate); opacity: .5;
  transition: opacity .4s, background-color .4s, color .4s;
}
.stage__steps li::before { content: counter(step); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid currentColor; font-size: .78rem; letter-spacing: 0; }
.stage__steps li.is-on { opacity: 1; background: var(--navy); color: #fff; }
.stage__site { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--navy); font-size: 1.12rem; transition: opacity .4s; }
.stage__site b { font: 400 1.25rem/1 var(--title); }
.stage__site span { color: var(--slate); }
.stage__site .icon { align-self: center; color: var(--red); }
.stage__site:hover b { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: .25em; }
.stage__site.is-hidden { opacity: 0; pointer-events: none; }

@media (max-width: 520px) {
  .stage__steps li { padding: 5px 9px 6px 6px; font-size: .76rem; gap: 5px; }
  .stage__steps li::before { width: 19px; height: 19px; font-size: .7rem; }
  .stage__caption { padding-inline: 0; }
}
@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__print { width: 130vw; right: -55vw; top: 30%; }
  .stage { max-width: 640px; margin-top: 12px; }
  .hero__down { display: none; }
}

/* ---------- home: testimonial ---------- */

.quote { position: relative; background: var(--navy); color: #fff; padding-block: clamp(64px, 8vw, 110px); overflow: hidden; }
.quote__inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.quote__mark { width: clamp(60px, 7vw, 92px); height: auto; }
.quote__body { position: relative; display: grid; }
.quote__stars { display: flex; gap: 6px; margin-bottom: 18px; }
.quote__stars svg { width: 22px; height: 22px; fill: var(--tan); }
.quote__stars { grid-area: 1 / 1; }
.quote__item { grid-area: 2 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .6s; }
.quote__item.is-on { opacity: 1; visibility: visible; }
.quote__item blockquote { margin: 0; }
.quote__item p { font: 300 clamp(1.5rem, 2.7vw, 2.35rem)/1.32 var(--text); margin: 0; max-width: 36ch; }
.quote__item figcaption { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 26px; font-size: 1.12rem; }
.quote__item figcaption b { font: 400 1.25rem/1.2 var(--title); }
.quote__item figcaption span { color: rgba(255, 255, 255, .65); }
/* A short quote is set big, in the title face. */
.quote__item--short p { font: 400 clamp(2.2rem, 4.4vw, 4rem)/1.08 var(--title); color: #fff; max-width: 20ch; }
.quote__mark-no { grid-column: 1 / -1; margin: clamp(16px, 3vw, 32px) 0 0; }

/* ---------- home: how we can help ---------- */

.help__grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.help__intro .display { margin-bottom: 28px; }
.help__intro p:not(.lead) { color: var(--slate); }
.help__heart { color: var(--navy); }
.help__heart span { color: var(--red); }
.help__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.help__list li { border-bottom: 1px solid var(--line); }
.help__row {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 22px; align-items: baseline;
  padding: clamp(26px, 3.4vw, 42px) 8px; text-decoration: none; color: var(--navy); isolation: isolate; overflow: hidden;
}
.help__row::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy);
  transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease);
}
.help__no { font: 400 1.15rem/1 var(--title); color: var(--red); }
.help__name { position: relative; font: 400 clamp(1.8rem, 3.2vw, 2.9rem)/1 var(--title); transition: color .4s, transform .5s var(--ease); }
.help__swoosh { position: absolute; left: 0; bottom: -.28em; width: 62%; height: .22em; clip-path: inset(0 100% 0 0); transition: clip-path .6s var(--ease) .1s; }
.help__text { grid-column: 2; max-width: 46ch; color: var(--slate); transition: color .4s; }
.help__row .icon { grid-column: 3; grid-row: 1; width: 30px; height: 30px; align-self: center; transition: transform .5s var(--ease), color .4s; }
.help__row:hover::before, .help__row:focus-visible::before { transform: scaleY(1); }
.help__row:hover .help__name, .help__row:focus-visible .help__name { color: #fff; transform: translateX(10px); }
.help__row:hover .help__text, .help__row:focus-visible .help__text { color: rgba(255, 255, 255, .78); }
.help__row:hover .icon { color: #fff; transform: translateX(6px) rotate(-45deg); }
.help__row:hover .help__swoosh, .help__row:focus-visible .help__swoosh { clip-path: inset(0 0 0 0); }
/* The hover preview: placed inside the section by site.js, and clipped to it. */
.help { overflow: clip; }
.peek {
  position: absolute; left: 0; top: 0; z-index: 30; width: 300px; aspect-ratio: 16 / 10; pointer-events: none;
  border-radius: 10px; overflow: hidden; background: #fff; box-shadow: var(--shadow); opacity: 0;
}
.peek img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.peek.is-contain img { object-fit: contain; padding: 18% 12%; }
@media (max-width: 1000px) { .help__grid { grid-template-columns: minmax(0, 1fr); } .peek { display: none; } }
@media (hover: none) { .peek { display: none; } }

/* ---------- devices ---------- */

a.browser { display: block; text-decoration: none; }
.browser { position: relative; border-radius: 12px; background: #fff; box-shadow: var(--shadow); overflow: hidden; border: 1px solid rgba(4, 21, 41, .1); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #fff; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--print); }
.browser__bar i:first-child { background: var(--red); }
.browser__bar i:nth-child(2) { background: var(--tan); }
.browser__bar span { margin-inline: auto; padding: 3px 16px; border-radius: 999px; background: var(--mist); font: 400 .84rem/1.3 var(--text); letter-spacing: .03em; color: var(--slate); }
.browser__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.browser__screen img { width: 100%; height: auto; transform: translateY(0); transition: transform var(--scroll-time, 4s) cubic-bezier(.45, .05, .35, 1); }
.phone { position: relative; width: 100%; border-radius: 26px; padding: 7px; background: var(--navy); box-shadow: var(--shadow); }
.phone::before { content: ""; position: absolute; top: 12px; left: 50%; translate: -50% 0; z-index: 2; width: 30%; height: 12px; border-radius: 999px; background: var(--navy); }
.phone__screen { aspect-ratio: 9 / 19.5; border-radius: 20px; overflow: hidden; background: #fff; }
.phone__screen img { width: 100%; height: auto; }

/* ---------- home: work grid ---------- */

.work__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 40px); margin-bottom: clamp(48px, 6vw, 80px); }
.work-card--lg { grid-column: span 6; }
.work-card--sm { grid-column: span 4; }
.work-card__link { position: relative; display: block; text-decoration: none; color: var(--navy); }
.work-card__phone { position: absolute; right: -14px; top: 34%; width: 22%; transform: rotate(4deg); transition: transform .6s var(--ease); }
.work-card__link:hover .work-card__phone { transform: rotate(0) translateY(-10px); }
.work-card__link:hover .browser__screen img { transform: translateY(var(--scroll-by, 0)); }
.work-card__meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; align-items: baseline; margin-top: 20px; }
.work-card__name { font-size: clamp(1.35rem, 2vw, 1.8rem); }
.work-card__place { grid-column: 1; margin: 0; color: var(--slate); font-size: 1.12rem; }
.work-card__visit { grid-column: 2; grid-row: 1 / span 2; display: inline-flex; align-items: center; gap: 6px; font-size: 1.08rem; color: var(--red); }
.work-card__visit .icon { transition: transform .4s var(--ease); }
.work-card__link:hover .work-card__visit .icon { transform: translate(3px, -3px); }
@media (max-width: 900px) {
  .work-card--lg, .work-card--sm { grid-column: span 12; }
  .work-card__phone { width: 26%; right: -6px; top: 18%; }
}
@media (max-width: 600px) {
  .work-card__phone { display: none; }
  .work-card__meta { grid-template-columns: 1fr; }
  .work-card__visit { grid-column: 1; grid-row: auto; margin-top: 6px; }
}
@media (min-width: 901px) and (max-width: 1180px) { .work-card--sm { grid-column: span 6; } .work-card--sm:last-child { grid-column: 4 / span 6; } }

/* ---------- home: discipleship funnels band ---------- */

.df-band { position: relative; background: var(--navy); color: #fff; padding-block: clamp(56px, 7vw, 112px); overflow: hidden; }  /* Jaredith 11/14: a touch shorter */
.df-band__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 4vw, 56px); align-items: center; }  /* Jaredith 11/14: bigger funnel */
.df-band__logo { width: clamp(190px, 18vw, 250px); margin-bottom: 34px; }
.df-band__title { color: #fff; font-size: clamp(2.6rem, 5vw, 4.8rem); line-height: .98; margin-bottom: 26px; }
.df-band__title span { display: inline-block; }
.df-band__title span:nth-child(2) { color: var(--red); }
.df-band .lead { color: rgba(255, 255, 255, .86); max-width: 34em; }
.df-band__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
@media (max-width: 1000px) { .df-band__grid { grid-template-columns: 1fr; } }

/* The 3D funnel (funnel.js). Labels sit beside the rings they name. */
.funnel { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 620px; justify-self: center; }
.funnel--band { max-width: none; aspect-ratio: 5 / 4; justify-self: stretch; }  /* Jaredith 11/14: fill the column, wider than tall */
/* Wide screens: the funnel's column bleeds into the right margin, so the drawing can grow ~1.4-1.6x without
   touching the text. The bleed = the space between the content edge and the window edge, minus a small inset. */
@media (min-width: 1001px) {
  .df-band__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }  /* Jaredith 11/14: DF paragraph on 3 lines */
  .df-band .lead { max-width: none; }
  .funnel--band { --bleed: max(0px, (100vw - var(--wrap)) / 2 - 8px); width: calc(100% + var(--bleed)); margin-right: calc(-1 * var(--bleed));
    aspect-ratio: auto; align-self: stretch; min-height: 420px; }  /* Jaredith 11/14: taller funnel uses the text column's height, so the section never grows */
}
@media (max-width: 1000px) { .funnel--band { aspect-ratio: 1 / 1; max-width: 560px; justify-self: center; } }
.funnel__canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.funnel__labels { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.funnel__labels li {
  position: absolute; display: flex; align-items: center; gap: 10px; translate: 0 -50%; white-space: nowrap;
  font: 400 clamp(.9rem, 1.15vw, 1.15rem)/1 var(--title); letter-spacing: .08em; text-transform: uppercase; color: #fff;
}
.funnel__labels li::before { content: ""; width: 26px; height: 1px; background: rgba(255, 255, 255, .5); }
/* Placed by funnel.js beside each stage ring; these are the fallbacks. */
.funnel__labels li:nth-child(1) { top: 27%; left: 76%; }
.funnel__labels li:nth-child(2) { top: 50%; left: 62%; }
.funnel__labels li:nth-child(3) { top: 72%; left: 52%; color: var(--red); }
.funnel__labels li:nth-child(3)::before { background: var(--red); }
@media (max-width: 600px) { .funnel__labels { display: none; } }
.no-webgl .funnel__canvas { display: none; }
.no-webgl .funnel { background: url("/assets/img/df/funnel-static.svg") center / 70% no-repeat; }

/* ---------- home: mission (monitor outline) ---------- */

.mission-band__grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.mission-band__photo { position: relative; margin: 0; }
.mission-band__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; filter: contrast(1.05); }
.mission-band__photo::after { content: ""; position: absolute; left: -18px; bottom: -18px; width: 46%; height: 34%; background: var(--red); z-index: -1; }
.monitor { position: relative; padding: clamp(40px, 6vw, 80px) clamp(28px, 6vw, 84px) clamp(150px, 15vw, 190px); }
.monitor__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.monitor__line path { fill: none; stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.monitor__copy { position: relative; }
.monitor__copy .display { margin-bottom: 24px; }
.monitor__copy strong { color: var(--red); font-weight: 600; letter-spacing: .02em; }
@media (max-width: 1000px) {
  .mission-band__grid { grid-template-columns: minmax(0, 1fr); }
  .mission-band__photo { max-width: 340px; }
}

/* ---------- trusted by ---------- */

.trusted__title { text-align: center; margin-bottom: clamp(36px, 5vw, 64px); }
.trusted__title [data-count] { color: var(--red); }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { flex: none; display: flex; align-items: center; gap: clamp(48px, 7vw, 110px); width: max-content; margin: 0; padding: 0 clamp(24px, 3.5vw, 55px); list-style: none; }
.marquee__track li { flex: none; }
.marquee__track img { height: clamp(52px, 5.4vw, 74px); width: auto; max-width: none; filter: grayscale(1); opacity: .8; transition: filter .4s, opacity .4s; }
.marquee__track li:hover img { filter: none; opacity: 1; }
.no-js .marquee__track, .marquee.is-static .marquee__track { flex-wrap: wrap; justify-content: center; width: auto; }

/* ---------- call to action ---------- */

.cta { position: relative; background: var(--red); color: #fff; padding-block: clamp(90px, 11vw, 160px) clamp(80px, 10vw, 140px); overflow: hidden; }
.cta__wave { position: absolute; left: 0; right: 0; top: -1px; width: 100%; height: clamp(30px, 5vw, 70px); fill: var(--paper); }
.section--mist + .cta .cta__wave { fill: var(--mist); }
.cta__print { color: rgba(255, 255, 255, .07); width: min(70vw, 900px); aspect-ratio: 904 / 897; right: -12vw; top: -10%; }
.cta__inner { position: relative; z-index: 1; }
.cta__title { color: #fff; font-size: clamp(2.4rem, 4.6vw, 4.6rem); line-height: 1; margin-bottom: 24px; max-width: 20ch; }
.cta__lead { font-size: clamp(1.35rem, 1.9vw, 1.6rem); max-width: 36em; color: rgba(255, 255, 255, .9); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.cta .btn--light:hover { --bg: var(--navy); --bd: var(--navy); }

/* ---------- footer ---------- */

.site-footer { position: relative; background: var(--paper); overflow: hidden; }
.site-footer__print { color: var(--mist); width: 560px; aspect-ratio: 904 / 897; left: -220px; bottom: -160px; }
.site-footer__grid { position: relative; display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, .8fr)) 1.3fr; gap: 40px 36px; padding-block: clamp(64px, 8vw, 100px) 40px; }
.site-footer__logo { width: 200px; margin-bottom: 22px; }
.site-footer__brand p { font-size: 1.12rem; max-width: 34ch; }
.site-footer__h { font-size: 1.35rem; margin-bottom: 18px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__col a, .site-footer__base a { text-decoration: none; color: var(--slate); background: linear-gradient(var(--red), var(--red)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease), color .3s; }
.site-footer__col a:hover, .site-footer__base a:hover { color: var(--navy); background-size: 100% 2px; }
.socials { display: flex; gap: 10px; list-style: none; margin: 20px 0 0; padding: 0; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--navy); transition: background-color .3s, color .3s; }
.socials a:hover { background: var(--navy); color: #fff; }
.news__row { display: flex; border: 2px solid var(--navy); border-radius: 999px; overflow: hidden; background: #fff; }
.news__row input { flex: 1; min-width: 0; border: 0; padding: 14px 18px; background: transparent; font-size: 1.1rem; outline: none; }
.news__go { border: 0; padding: 0 22px; background: var(--navy); color: #fff; font: 400 .9rem/1 var(--title); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background-color .3s; }
.news__go:hover { background: var(--red); }
.news__msg { min-height: 1.6em; margin-top: 10px; font-size: 1.08rem; color: var(--navy); }
.site-footer__verse { position: relative; margin-block: 8px 34px; font: 400 clamp(1.05rem, 1.5vw, 1.25rem)/1.4 var(--title); color: var(--navy); max-width: 46ch; }
.site-footer__verse cite { display: block; margin-top: 6px; font: 400 1rem/1 var(--text); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.site-footer__base { position: relative; background: var(--navy); color: rgba(255, 255, 255, .78); font-size: 1.05rem; }
.site-footer__base .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px; }
.site-footer__base p { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; }
.site-footer__base a { color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.site-footer__base a:hover { color: #fff; }
.site-footer__parent a { font-weight: 500; }
@media (max-width: 1240px) { .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .site-footer__brand, .news { grid-column: span 3; } .news { max-width: 520px; } }
@media (max-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand, .news { grid-column: span 2; } }

/* ---------- inner pages ---------- */

.page-hero { position: relative; overflow: hidden; padding-block: clamp(36px, 5vw, 72px) clamp(56px, 7vw, 100px); }  /* Jaredith 11/14: less space under the header */
.page-hero__print { width: min(70vw, 900px); aspect-ratio: 904 / 897; right: -16vw; top: -18%; }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__title { font-size: clamp(2.9rem, 6.2vw, 6.2rem); line-height: .94; letter-spacing: -.015em; max-width: 20ch; }
.page-hero__title .spark { display: inline-block; width: .42em; height: .39em; margin-left: .05em; vertical-align: top; }
.page-hero .lead { margin-top: clamp(22px, 3vw, 34px); max-width: 34em; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.page-hero--split .page-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 1080px) { .page-hero--split .page-hero__inner { grid-template-columns: 1fr; } .page-hero--split .blueprint { max-width: 620px; } }

/* Web design: blueprint browser in the hero. */
.blueprint { position: relative; aspect-ratio: 600 / 440; }
.blueprint svg { width: 100%; height: 100%; overflow: visible; }
.blueprint .bp-grid line { stroke: var(--slate); stroke-width: .6; opacity: .15; }
.blueprint .bp-frame { fill: #fff; stroke: var(--navy); stroke-width: 2; }
.blueprint .bp-line { fill: none; stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; }
.blueprint .bp-red { stroke: var(--red); }
.blueprint .bp-fill { fill: var(--mist); stroke: var(--navy); stroke-width: 1.6; }
.blueprint .bp-note { font: 400 13px/1 var(--text); fill: var(--red); letter-spacing: .08em; text-transform: uppercase; }
.blueprint .bp-lead { fill: none; stroke: var(--red); stroke-width: 1.2; stroke-dasharray: 3 4; }

/* Features grid. */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { position: relative; padding: clamp(26px, 3vw, 40px) clamp(22px, 2.4vw, 32px) clamp(30px, 3vw, 44px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); transition: background-color .4s; }
.feature .icon { width: 40px; height: 40px; stroke-width: 1.4; color: var(--red); margin-bottom: 22px; }
.feature h3 { font-size: 1.6rem; margin-bottom: 10px; }
.feature p { margin: 0; font-size: 1.14rem; color: var(--slate); }
.feature:hover { background: #fff; }
@media (max-width: 1240px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* The Blueprint: process steps along a drawn line. */
.process { position: relative; }
.process__line { position: absolute; left: 0; right: 0; top: 46px; height: 24px; width: 100%; overflow: visible; }
.process__line path { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.process__steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.process__step { padding-top: 0; }
.process__no { display: grid; place-items: center; width: 92px; height: 92px; margin-bottom: 26px; border-radius: 50%; background: var(--paper); border: 2px solid var(--navy); font: 400 2rem/1 var(--title); color: var(--navy); }
.process__step h3 { font-size: 1.6rem; margin-bottom: 10px; }
.process__step p { margin: 0; color: var(--slate); font-size: 1.14rem; }
.section--mist .process__no { background: var(--mist); }
.process__no { transition: background-color .35s, color .35s, border-color .35s; }
.process__no.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
@media (max-width: 1140px) {
  .process__line { display: none; }
  .process__steps { grid-template-columns: 1fr; gap: 0; }
  .process__step { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 0 20px; padding: 22px 0; border-top: 1px solid var(--line); }
  .process__no { width: 64px; height: 64px; font-size: 1.5rem; margin: 0; grid-row: span 2; }
}

/* FAQ. */
.faq { border-top: 1px solid var(--line); max-width: 960px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 4px; cursor: pointer; list-style: none; font: 400 clamp(1.3rem, 2vw, 1.7rem)/1.2 var(--title); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 28px; height: 28px; color: var(--red); transition: transform .4s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq__a { padding: 0 4px 28px; max-width: 62ch; color: var(--slate); }
.faq__a p:last-child { margin: 0; }

/* Split rows (text + visual). */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.split--flip > :first-child { order: 2; }
.split .display { margin-bottom: 24px; }
@media (max-width: 1000px) { .split { grid-template-columns: 1fr; } .split--flip > :first-child { order: 0; } }

/* Our Work page: one row per church. */
.case { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(60px, 8vw, 120px); border-top: 1px solid var(--line); }
.case:nth-child(even) { grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); }
.case:nth-child(even) .case__media { order: 2; }
.case__media { position: relative; }
.case__media .browser__screen { aspect-ratio: 16 / 10.5; }
.case__media .browser__screen img { transition: none; }
.case__phone { position: absolute; width: 23%; right: -4%; bottom: -10%; }
.case:nth-child(even) .case__phone { right: auto; left: -4%; }
@media (max-width: 480px) { .case .case__phone, .case:nth-child(even) .case__phone { right: 0; left: auto; } }
.case__phone .phone__screen img { transition: none; }
.case__no { font: 400 clamp(3.2rem, 6vw, 5.4rem)/.8 var(--title); color: var(--red); margin-bottom: 18px; display: block; }
.case__name { font-size: clamp(1.9rem, 2.8vw, 2.8rem); margin-bottom: 8px; }
.case__place { color: var(--slate); font-size: 1.2rem; margin-bottom: 20px; }
.case__kind { display: inline-block; margin-bottom: 18px; padding: 5px 12px 6px; border: 1px solid var(--line); border-radius: 999px; font: 400 .84rem/1 var(--title); letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
@media (max-width: 1000px) {
  .case, .case:nth-child(even) { grid-template-columns: 1fr; }
  .case:nth-child(even) .case__media { order: 0; }
  .case__phone { width: 26%; right: -2%; }
  .case:nth-child(even) .case__phone { left: auto; right: -2%; }
}

/* Mission page. */
/* "We're about": the red panel's curved edge runs over a photo, with the tan curve closing the right side. */
.words { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); min-height: 680px; overflow: hidden; background: var(--paper); }
.words__about { position: relative; display: grid; align-content: center; gap: clamp(36px, 4vw, 56px); background: var(--red); color: #fff; padding: clamp(70px, 8vw, 120px) clamp(28px, 4vw, 40px) clamp(70px, 8vw, 120px) clamp(28px, 6vw, 96px); z-index: 1; }
.words__about::after { content: ""; position: absolute; top: 0; bottom: 0; right: clamp(-120px, -8vw, -80px); width: clamp(160px, 16vw, 240px); background: var(--red); border-radius: 0 50% 50% 0 / 0 60% 40% 0; z-index: -1; }
.words__print { color: rgba(255, 255, 255, .07); width: 620px; left: -220px; bottom: -260px; }
.words__item { position: relative; max-width: 30rem; }
.words__item + .words__item { padding-top: clamp(36px, 4vw, 56px); border-top: 1px solid rgba(255, 255, 255, .3); }
.words__about h2 { color: #fff; font-size: clamp(2.6rem, 4.4vw, 4rem); line-height: 1; margin-block: 14px 16px; }
.words__about h2 + p { margin: 0; color: rgba(255, 255, 255, .88); max-width: 32ch; font-size: 1.3rem; }
.words__photo { position: relative; margin: 0; }
.words__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 96% 50%; }
.words__photo::after { content: ""; position: absolute; top: -10%; bottom: -10%; right: clamp(-150px, -10vw, -100px); width: clamp(190px, 20vw, 300px); background: var(--tan); border-radius: 60% 0 0 40% / 50% 0 0 50%; }
@media (max-width: 1000px) {
  .words { grid-template-columns: 1fr; min-height: 0; }
  .words__about::after { display: none; }
  .words__about { padding-right: clamp(28px, 6vw, 96px); }
  .words__photo { aspect-ratio: 3 / 2; }
  .words__photo::after { right: -130px; width: 170px; }
}

.rise { position: relative; background: var(--navy); color: #fff; padding-block: clamp(90px, 11vw, 170px); overflow: hidden; }
.rise__arrow { position: absolute; inset: 0; width: 100%; height: 100%; }
.rise__arrow path { fill: none; stroke: #fff; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: .9; }
.rise__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 160px 40px; }
.rise h2 { color: #fff; font-size: clamp(2.4rem, 4.6vw, 4.2rem); line-height: 1; }
.rise h2 em { font-style: normal; color: var(--red); font-size: 1.25em; }
.rise p { margin-top: 18px; color: rgba(255, 255, 255, .82); font-size: 1.25rem; }
.rise__b { grid-column: 2; text-align: right; }
@media (max-width: 760px) { .rise__grid { grid-template-columns: 1fr; gap: 80px; } .rise__b { grid-column: 1; } }

.photo-band { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; border-radius: 4px; }
.photo-band img:nth-child(2) { margin-top: 18%; }
@media (max-width: 700px) { .photo-band { grid-template-columns: 1fr; } }

.parent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(32px, 4vw, 52px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.parent__mark { font: 400 clamp(3rem, 6vw, 5rem)/.8 var(--title); color: var(--navy); }
.parent__mark span { color: var(--red); }
.parent p { margin: 0 0 .6em; }
.parent p:last-child { margin: 0; }
@media (max-width: 640px) { .parent { grid-template-columns: 1fr; } }

/* Discipleship Funnels page. */
.df-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; padding-block: clamp(56px, 7vw, 110px) clamp(70px, 8vw, 120px); }
.df-hero__print { color: rgba(255, 255, 255, .04); width: min(80vw, 1000px); aspect-ratio: 904 / 897; left: -30vw; bottom: -40%; }
.df-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.df-hero__logo { width: clamp(200px, 20vw, 280px); margin-bottom: 36px; }
.df-hero h1 { color: #fff; font-size: clamp(2.8rem, 5.4vw, 5.4rem); line-height: .96; letter-spacing: -.01em; }
.df-hero h1 span { display: block; }
.df-hero h1 span:nth-child(2) { color: var(--red); }
.df-hero .lead { color: rgba(255, 255, 255, .86); margin-top: 28px; max-width: 30em; }
.df-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 34px; }
.df-hero__login { color: rgba(255, 255, 255, .82); font-size: 1.12rem; }
/* Freemium line under the sign-up buttons (Jaredith 2026-11-14). Dark sections by default; --light on mist. */
.price-note { margin: 12px 0 0; font-size: 1.05rem; color: rgba(255, 255, 255, .86); }
.price-note--light { color: var(--slate); }
.df-hero__login a { color: #fff; text-underline-offset: .25em; text-decoration-color: var(--red); }
.df-hero__status { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 6px 14px 7px; border: 1px solid var(--line-light); border-radius: 999px; font-size: 1.05rem; color: rgba(255, 255, 255, .88); }
.df-hero__status i { width: 8px; height: 8px; border-radius: 50%; background: #4FD18B; box-shadow: 0 0 0 0 rgba(79, 209, 139, .6); animation: ping 2s 3; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(79, 209, 139, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 209, 139, 0); } }
@media (max-width: 1000px) { .df-hero__grid { grid-template-columns: 1fr; } .funnel { max-width: 520px; } }

.keep { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.keep li { position: relative; padding: 34px 28px 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.keep li:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.keep .icon { width: 44px; height: 44px; stroke-width: 1.4; color: var(--red); margin-bottom: 26px; }
.keep h3 { font-size: 1.7rem; margin-bottom: 10px; }
.keep p { margin: 0; color: var(--slate); font-size: 1.14rem; }
.keep li::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.keep li:hover::after { transform: scaleX(1); }
@media (max-width: 1240px) { .keep { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .keep { grid-template-columns: 1fr; } }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--navy); }
.pillar { padding: 34px 32px 10px 0; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--line); }
.pillar__word { font: 400 clamp(2rem, 3.4vw, 3rem)/1 var(--title); color: var(--navy); margin-bottom: 14px; }
.pillar:nth-child(2) .pillar__word { color: var(--red); }
.pillar p { color: var(--slate); margin: 0; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } .pillar + .pillar { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

.principle { position: relative; background: var(--red); color: #fff; padding-block: clamp(80px, 10vw, 140px); overflow: hidden; text-align: center; }
.principle h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: .98; }
.principle h2 span { display: block; }
.principle p { margin: 26px auto 0; max-width: 36em; font-size: 1.3rem; color: rgba(255, 255, 255, .9); }
.principle--navy { background: var(--navy); }
.principle--navy + .cta .cta__wave { fill: var(--navy); }
.principle .thumbprint { color: rgba(255, 255, 255, .07); width: 700px; aspect-ratio: 904 / 897; left: 50%; top: 50%; translate: -50% -50%; }

.book { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(32px, 4vw, 56px); border-radius: var(--radius); background: var(--navy); color: #fff; }
.book__cover { width: 120px; aspect-ratio: 2 / 3; border-radius: 3px 8px 8px 3px; background: linear-gradient(90deg, rgba(0, 0, 0, .25), transparent 12%), var(--red); display: grid; place-items: center; box-shadow: var(--shadow); padding: 14px; transform: rotate(-4deg); }
.book__cover img { width: 100%; }
.book h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 10px; }
.book p { margin: 0; color: rgba(255, 255, 255, .8); }
@media (max-width: 760px) { .book { grid-template-columns: 1fr; } }

/* Tapestry page. Its own colour is teal, used sparingly: the mark, the loom, the room map and the icons. */
.tp-hero { position: relative; overflow: hidden; padding-block: clamp(44px, 6vw, 96px) clamp(72px, 8vw, 120px); }
.tp-hero__print { width: min(70vw, 900px); right: -18vw; top: -14%; }
.tp-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.tp-lockup { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; margin: 0 0 34px; }
.tp-lockup .tp-mark { grid-row: span 2; width: 58px; height: 58px; }
.tp-lockup span { font: 400 2.1rem/1 var(--title); color: var(--navy); }
.tp-lockup small { font-size: .98rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.tp-mark rect { fill: var(--teal); }
.tp-mark path { fill: none; stroke: #fff; stroke-width: 2.4; }
.tp-hero h1 { font-size: clamp(3rem, 6.6vw, 6.6rem); line-height: .94; letter-spacing: -.01em; }
.tp-hero h1 span { display: block; }
.tp-hero h1 span:last-child { color: var(--red); }
.tp-hero .lead { margin-top: 28px; max-width: 31em; }
.tp-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.tp-hero__note { display: flex; align-items: center; gap: 8px; margin: 20px 0 0; font-size: 1.1rem; color: var(--slate); }
.tp-hero__note .icon { width: 20px; height: 20px; color: var(--teal); stroke-width: 2.4; }

.loom { position: relative; margin: 0; justify-self: center; width: min(100%, 470px); }
.loom__svg { width: 100%; overflow: visible; }
.loom__warp { fill: none; stroke: var(--slate); stroke-opacity: .38; stroke-width: 1.2; }
.loom__rod { fill: var(--navy); }
.loom__back { fill: var(--paper); }
.loom__shuttle { fill: var(--tan); opacity: 0; }
.t-red { fill: var(--red); }
.t-tan { fill: var(--tan); }
.t-navy { fill: var(--navy); }
.t-mist { fill: #DDD9D1; }
.t-teal { fill: var(--teal); }
.t-slate { fill: var(--slate); }
.loom figcaption { margin-top: 12px; text-align: center; font-size: 1.05rem; letter-spacing: .04em; color: var(--slate); }
/* Hidden until tapestry.js weaves them in (head.php drops .motion if the scripts never arrive). */
.motion .loom__warp, .motion .loom__row { opacity: 0; }

.tp-shot { position: relative; padding-right: clamp(40px, 9vw, 150px); }
.tp-shot__browser .browser__screen img { transition: none; }
.tp-shot__phone { position: absolute; right: 0; bottom: -44px; width: clamp(150px, 17vw, 250px); }
.tp-shot__phone .phone__screen { aspect-ratio: 600 / 1202; }
.tp-shot__note { margin: 70px 0 0; font-size: 1rem; letter-spacing: .04em; color: var(--slate); }

.tp-room { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.tp-room .display { margin-bottom: 24px; }
.areas__group { margin: 34px 0 10px; font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); }
.areas { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.areas li { display: grid; grid-template-columns: 46px 176px minmax(0, 1fr); gap: 2px 16px; align-items: baseline; padding: 16px 10px; border-bottom: 1px solid var(--line); transition: background-color .3s; }
.areas__no { font: 400 1.1rem/1 var(--title); color: var(--teal); }
.areas b { font: 400 1.45rem/1.1 var(--title); color: var(--navy); }
.areas li > span:last-child { color: var(--slate); font-size: 1.12rem; }
.areas li.is-hot { background: var(--teal-tint); }
.areas__more { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; font-size: 1.12rem; color: var(--navy); }
.areas__more .icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--teal); color: #fff; stroke-width: 2.6; }

.room { position: relative; display: grid; gap: 14px; margin: 0; padding: clamp(18px, 2.6vw, 32px); border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.room__stage { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 12px; padding: 14px; border-radius: 14px; background: var(--mist); }
.room__box { display: grid; justify-items: center; align-content: center; gap: 4px; padding: 16px 12px; border-radius: 12px; text-align: center; outline: 3px solid transparent; outline-offset: 3px; transition: transform .45s var(--ease), outline-color .3s; }
.room__box b { font-weight: 400; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; }
.room__box span { font: 400 clamp(1.8rem, 3vw, 2.6rem)/1 var(--title); }
.room__box small { font-size: .95rem; opacity: .85; }
.room__box--platform { background: var(--teal); color: #fff; }
.room__box--band { background: #fff; border: 2px dashed var(--teal); color: var(--teal-deep); }
.room__box--front { background: var(--teal-tint); color: var(--teal-deep); padding-block: 10px; }
.room__box--front span, .room__box--back span { font-size: clamp(1.4rem, 2vw, 1.7rem); }
.room__box--room { min-height: 220px; color: #fff; background: radial-gradient(circle, rgba(255, 255, 255, .15) 2.6px, transparent 3.2px) 0 0 / 22px 19px, var(--navy); }
.room__box--back { justify-self: center; width: min(64%, 290px); background: var(--slate); color: #fff; padding-block: 10px; }
.room__box.is-hot { outline-color: var(--red); transform: scale(1.025); }
.room__label { margin: 4px 0 -4px; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.room__label + .room__church { margin-top: 0; }
.room__church { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.room__box--tile { background: var(--teal-tint); color: var(--teal-deep); padding-block: 12px; }
.room__box--tile span { font-size: clamp(1.4rem, 2vw, 1.7rem); }
.room figcaption { position: absolute; top: -13px; right: 24px; padding: 3px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: .9rem; letter-spacing: .05em; color: var(--slate); }

/* Three threads: one view at a time with JavaScript (tabs), all three stacked without. */
.lens { border-top: 2px solid var(--navy); }
.lens__tabs { display: none; flex-wrap: wrap; gap: 10px; padding-top: 30px; }
.js .lens__tabs { display: flex; }
.lens__tab { display: inline-flex; align-items: center; gap: 10px; padding: .85em 1.5em .9em; border: 2px solid var(--line); border-radius: 999px; background: transparent; color: var(--navy); cursor: pointer; font: 400 .95rem/1 var(--title); letter-spacing: .06em; text-transform: uppercase; transition: background-color .3s, border-color .3s, color .3s; }
.lens__tab:hover { border-color: var(--navy); }
.lens__tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.lens__tab i { width: 22px; height: 8px; border-radius: 999px; background: var(--c); }
.lens__tab--background, .lens__panel--background { --c: var(--teal); }
.lens__tab--age, .lens__panel--age { --c: var(--tan); }
.lens__tab--ministry, .lens__panel--ministry { --c: var(--red); }
.lens__panel { padding-top: 34px; }
.js .lens__panel { display: none; }
.js .lens__panel.is-on { display: block; }
.lens__title { font-size: clamp(1.6rem, 2.4vw, 2rem); margin-bottom: 10px; }
.js .lens__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lens__note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; max-width: 60rem; margin-bottom: 30px; color: var(--slate); }
.lens__key { display: inline-flex; align-items: center; gap: 10px; font-size: 1.05rem; color: var(--navy); }
.lens__key i { width: 0; height: 22px; border-left: 2px dashed var(--navy); }
.bars { list-style: none; display: grid; gap: 14px; margin: 0; padding: 0; }
.bars li { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr) 150px; gap: 20px; align-items: center; }
.bars__name { font: 400 1.25rem/1.15 var(--title); color: var(--navy); }
.bars__track { position: relative; height: 24px; border-radius: 999px; background: var(--mist); }
.bars__track i { position: absolute; inset: 0 auto 0 0; width: calc(var(--v) / var(--max) * 100%); border-radius: inherit; background: var(--c); transform-origin: left center; }
.bars--ref .bars__track::after { content: ""; position: absolute; top: -8px; bottom: -8px; left: calc(var(--ref) / var(--max) * 100%); border-left: 2px dashed var(--navy); }
.bars__value { display: flex; align-items: baseline; gap: 10px; }
.bars__value b { font: 400 1.35rem/1 var(--title); color: var(--navy); }
.bars__value small { font-size: .98rem; color: var(--slate); white-space: nowrap; }
.lens .tp-shot__note { margin-top: 30px; }
@media (max-width: 700px) {
  .bars { gap: 18px; }
  .bars li { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; }
  .bars__track { grid-column: 1 / -1; grid-row: 2; height: 18px; }
}

.tp-keep .icon { color: var(--teal); }
.tp-keep li::after { background: var(--teal); }

.tp-reports { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--navy); }
.tp-report { padding: 30px 26px 10px 0; }
.tp-report + .tp-report { padding-left: 26px; border-left: 1px solid var(--line); }
.tp-report .icon { width: 40px; height: 40px; stroke-width: 1.4; color: var(--teal); margin-bottom: 20px; }
.tp-report h3 { font-size: 1.6rem; margin-bottom: 10px; }
.tp-report p { margin: 0; color: var(--slate); font-size: 1.14rem; }

.tp-sibling { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 44px); align-items: center; margin-top: clamp(56px, 7vw, 96px); padding: clamp(28px, 3.4vw, 44px); border-radius: var(--radius); background: var(--navy); color: #fff; }
.tp-sibling img { width: clamp(150px, 15vw, 210px); }
.tp-sibling h3 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 8px; }
.tp-sibling p { margin: 0; color: rgba(255, 255, 255, .82); }

@media (max-width: 1140px) {
  .tp-reports { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-report:nth-child(3) { padding-left: 0; border-left: 0; }
  .tp-report:nth-child(n + 3) { margin-top: 24px; border-top: 1px solid var(--line); }
}
@media (max-width: 1000px) {
  .tp-hero__grid, .tp-room { grid-template-columns: 1fr; }
  .loom { width: min(100%, 420px); }
}
@media (max-width: 860px) { .tp-sibling { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .tp-shot { padding-right: 0; }
  .tp-shot__phone { display: none; }
  .tp-shot__note { margin-top: 20px; }
  .tp-reports { grid-template-columns: 1fr; }
  .tp-report + .tp-report { padding-left: 0; border-left: 0; margin-top: 24px; border-top: 1px solid var(--line); }
  .areas li { grid-template-columns: 38px minmax(0, 1fr); }
  .areas li > span:last-child { grid-column: 2; }
  .room__stage { grid-template-columns: 1fr; }
}

/* Resources. */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: clamp(24px, 3vw, 40px); }
.post-card { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--navy); }
.post-card__cover {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 4 / 3; padding: 28px 30px;
  border-radius: var(--radius); overflow: hidden; background: var(--navy); color: #fff; isolation: isolate;
}
.post-card:nth-child(3n+2) .post-card__cover { background: var(--red); }
.post-card:nth-child(3n+3) .post-card__cover { background: var(--slate); }
.posts__empty { max-width: 34em; padding: 28px 0; border-top: 1px solid var(--line); font-size: 1.35rem; color: var(--navy); }
.posts__empty a { color: var(--red); text-underline-offset: .2em; }
.post-card__cover .thumbprint { color: rgba(255, 255, 255, .08); width: 80%; aspect-ratio: 904 / 897; right: -20%; bottom: -30%; transition: transform 1.2s var(--ease); }
.post-card:hover .post-card__cover .thumbprint { transform: rotate(14deg) scale(1.06); }
.post-card__topic { font: 500 .9rem/1 var(--text); letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.post-card__big { font: 400 clamp(1.8rem, 2.6vw, 2.3rem)/1.02 var(--title); color: #fff; max-width: 14ch; }
.post-card__cover .strip { position: absolute; left: 0; right: 0; bottom: 0; height: 10px; }
.post-card__meta { display: flex; gap: 14px; margin-top: 18px; color: var(--slate); font-size: 1.08rem; }
.post-card__desc { margin: 8px 0 0; color: var(--slate); }
.post-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--red); font: 400 .9rem/1 var(--title); letter-spacing: .08em; text-transform: uppercase; }
.post-card:hover .post-card__more .icon { transform: translateX(4px); }
.post-card__more .icon { transition: transform .3s var(--ease); }

.article { position: relative; }
.article__head { padding-block: clamp(56px, 8vw, 110px) clamp(40px, 5vw, 64px); position: relative; overflow: hidden; }
.article__head .wrap { position: relative; z-index: 1; max-width: 960px; }
.article__title { font-size: clamp(2.5rem, 5vw, 4.6rem); line-height: .98; margin-bottom: 24px; }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--slate); font-size: 1.12rem; }
.article__meta a { color: var(--red); }
.article__body { max-width: 740px; margin-inline: auto; padding-bottom: clamp(64px, 8vw, 110px); font-size: 1.3rem; line-height: 1.7; }
.article__body > p:first-child { font-size: 1.45rem; line-height: 1.5; color: var(--navy); }
.article__end { margin-top: 56px; padding: 34px 36px; border-radius: var(--radius); background: var(--mist); border-left: 5px solid var(--red); }
.article__end h2 { font-size: 1.8rem; margin: 0 0 10px; }
.article__end p { margin: 0 0 20px; }
.pager { display: flex; justify-content: center; gap: 12px; margin-top: 56px; }

/* Contact. */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.contact__aside .display { margin-bottom: 24px; }
.contact__list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
.contact__list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; }
.contact__list .icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--navy); color: #fff; }
.contact__list a { color: var(--navy); font-weight: 500; text-decoration-color: var(--red); text-underline-offset: .2em; }
.form { position: relative; padding: clamp(28px, 4vw, 52px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__full { grid-column: 1 / -1; }
.field label, .field legend { display: block; margin-bottom: 8px; font: 400 .94rem/1.2 var(--title); letter-spacing: .06em; text-transform: uppercase; color: var(--navy); padding: 0; }
.field label small { font: 300 1.02rem var(--text); letter-spacing: 0; text-transform: none; color: var(--slate); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid rgba(4, 21, 41, .22); border-radius: 10px; background: var(--paper);
  font-size: 1.08rem; transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(4, 21, 41, .08); }
.field.has-error input, .field.has-error textarea { border-color: var(--red); }
.field__error { margin: 6px 0 0; color: var(--red); font-size: 1.05rem; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices label { position: relative; margin: 0; cursor: pointer; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices span { display: inline-block; padding: 11px 18px; border: 1.5px solid rgba(4, 21, 41, .22); border-radius: 999px; font: 300 1.1rem/1.1 var(--text); letter-spacing: 0; text-transform: none; color: var(--navy); transition: background-color .3s, color .3s, border-color .3s; }
.choices input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.choices input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 26px; }
.form__foot p { margin: 0; font-size: 1.05rem; color: var(--slate); }
.form__done { text-align: center; padding: clamp(20px, 4vw, 48px) 0; }
.form__done > svg { width: 84px; height: 84px; margin: 0 auto 20px; }
.form__done > svg path, .form__done > svg circle { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; }
.form__done h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 12px; }
.form.is-busy button[type="submit"] { opacity: .6; pointer-events: none; }
@media (max-width: 1000px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } }

/* 404 */
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; }
.lost .thumbprint { width: 760px; aspect-ratio: 904 / 897; left: 50%; top: 50%; translate: -50% -50%; }
.lost__no { font: 400 clamp(7rem, 22vw, 16rem)/.8 var(--title); color: var(--navy); }
.lost__no span { color: var(--red); }

/* ---------- page wipe: the colour strip sweeps up between pages ---------- */

.wipe { position: fixed; inset: 0; z-index: 300; pointer-events: none; visibility: hidden; }
.wipe .strip { position: absolute; inset: 0; height: 100%; }
.wipe-in .wipe { visibility: visible; }

/* ---------- motion: hidden until site.js shows it ---------- */

.motion [data-intro], .motion [data-reveal], .motion [data-stagger] > * { opacity: 0; }
.motion [data-split] { visibility: hidden; }
.motion .mark__rule { opacity: 0; }
.motion .stage__svg { opacity: 0; }
/* Perf (LCP): on phones the hero text is painted at once; site.js only slides it up (no fade from 0). */
@media (max-width: 767px) { .motion [data-intro] { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .cta, .wipe, .hero__down { display: none !important; }
}

/* =====================================================================================================
   Phase 1–2 additions (Ada, 2026-11-14): tokens, Display settings, cookie notice, legal pages, landing pages.
   ===================================================================================================== */
:root {
  /* Red on navy (Jaredith 11/14: must read as THE brand red, not salmon). Same hue and saturation as #BF0B30 (347.7°, 89%),
     lightness lifted just enough: #BF0B30 itself is 2.89:1 on #041529. Buttons and fills with white text stay #BF0B30. */
  --red-on-dark-lg: #D40C35; /* 3.41:1 on navy: large text (>= 24px, or >= 18.7px bold) and graphics */
  --red-on-dark: #F32650;    /* 4.55:1 on navy: small text on navy */
  /* Display settings panel, on brand (MOCKUP-KIT/shared/display-settings.css reads these) */
  --ds-bg: var(--navy);
  --ds-fg: #FCFCFC;
  --ds-accent: var(--tan);
  --ds-line: rgba(252, 252, 252, .28);
  --ds-font: var(--text);
}

/* WCAG 2.4.7: the footer sign-up field shows where focus is (3 px ring, offset, on the pill) */
.news__row:focus-within { outline: 3px solid var(--red); outline-offset: 3px; }
.news__row input:focus-visible { outline: none; }
.news__small { margin: 10px 0 0; font-size: .98rem; color: var(--slate); }
.news__small a { color: var(--slate); }
.news__postal { font-style: normal; margin-top: 4px; }

/* Footer legal row + the Display settings button styled as a link */
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; }
.site-footer__ds { background: none; border: 0; padding: 0; color: #fff; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; min-height: 24px; }
.site-footer__ds:hover { color: var(--tan); }
.site-footer__col address { font-style: normal; line-height: 1.4; }

/* Legal pages */
.page-hero--legal { padding-block: clamp(36px, 5vw, 72px) 18px; }
.page-hero--legal .page-hero__title { font-size: clamp(2.6rem, 5vw, 4.4rem); }
.page-hero--legal .lead { margin-top: 16px; }
.section--legal { padding-top: 18px; }
.legal { margin-inline: 0; max-width: 48em; }
.legal h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.table-wrap { overflow-x: auto; }
.table-wrap:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; border-radius: 2px; }
.cookie-table { width: 100%; border-collapse: collapse; font-size: 1.02rem; min-width: 34rem; }
.cookie-table th, .cookie-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.cookie-table thead th { font: 500 .85rem/1.2 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
.cookie-table code { font-size: .95rem; color: var(--navy); }
.form-alert { border-left: 4px solid var(--red); background: #fbe9ec; padding: 10px 14px; color: var(--navy); }
.unsub .field { margin: 14px 0; }
.unsub label { display: block; font-weight: 500; color: var(--navy); margin-bottom: 6px; }
.unsub input[type=email] { width: min(100%, 28rem); padding: 12px 14px; border: 2px solid var(--navy); border-radius: 8px; font: inherit; }

/* Landing pages (tradition pages under /web-design/) */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 18px; font: 500 .95rem/1.4 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.crumbs a { color: var(--slate); text-underline-offset: .2em; }
.crumbs [aria-current] { color: var(--navy); }
.landing-hero .page-hero__title { font-size: clamp(2.6rem, 5.2vw, 5.2rem); max-width: 16ch; }
.landing-hero__more { margin: 16px 0 0; font-size: clamp(1.15rem, 1.5vw, 1.3rem); color: var(--slate); max-width: 34em; }
.landing-bp .bp-focus { fill: var(--red); stroke: var(--red); }
.landing-bp .bp-label { font: 500 15px/1 var(--text); fill: var(--navy); letter-spacing: .04em; }
.landing-bp .bp-label--light { font: 400 22px/1 var(--title); fill: #fff; letter-spacing: 0; }
.blueprint .bp-red { fill: var(--red); }
.landing-built__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 900px) { .landing-built__inner { grid-template-columns: 1fr; } }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; font-size: 1.2rem; color: var(--slate); }
.ticks .icon { width: 26px; height: 26px; color: var(--red); stroke-width: 2; margin-top: 2px; }
.trusted-line { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font: 400 clamp(1.2rem, 1.7vw, 1.45rem)/1.35 var(--title); color: var(--navy); max-width: 32em; }
.qa-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(26px, 3vw, 44px) clamp(28px, 4vw, 64px); margin-top: clamp(28px, 4vw, 48px); max-width: 1180px; }
@media (max-width: 860px) { .qa-list { grid-template-columns: 1fr; } }
.qa { border-top: 2px solid var(--navy); padding-top: 18px; }
.qa__q { font-size: clamp(1.35rem, 1.9vw, 1.65rem); line-height: 1.15; margin: 0 0 10px; }
.qa__a { margin: 0; font-size: 1.16rem; color: var(--slate); }
.qa-more { margin-top: clamp(28px, 4vw, 44px); font-size: 1.15rem; }
.qa-more a { color: var(--red); text-underline-offset: .2em; }
.landing-more { padding-block: clamp(40px, 5vw, 70px); border-top: 1px solid var(--line); }
.landing-more .h3 { margin-bottom: 16px; }
.landing-more__apps { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; font-size: 1.2rem; color: var(--slate); }
.landing-more a { color: var(--red); text-underline-offset: .2em; font-weight: 500; }
.landing-more__others { margin: 0; font-size: 1.1rem; color: var(--slate); }
.cta__phone { margin-top: 18px; font-size: 1.2rem; color: rgba(255, 255, 255, .92); }
.cta__phone a { color: #fff; }
mark.draft { background: #fff3b0; color: var(--navy); padding: 0 .2em; }

/* Calm = reduced motion: everything stops (Frank: html.ds-calm or prefers-reduced-motion) */
html.ds-calm *, html.ds-calm *::before, html.ds-calm *::after {
  animation: none !important; transition: none !important; scroll-behavior: auto !important;
}
/* Home: the navy band under the hero carries the one approved church-count sentence (no counter, no giant number) */
.quote--trusted { padding-block: clamp(40px, 5vw, 64px); }
.quote--trusted .quote__inner { display: block; }
.quote--trusted .quote__inner { text-align: center; }
.quote__trusted { margin: 0 auto; font: 400 clamp(2.2rem, 4.6vw, 3.6rem)/1.1 var(--title); color: #fff; letter-spacing: -.005em; }
.trusted-star { color: var(--red-on-dark-lg); margin-left: .04em; }
.quote--trusted .trusted-note { margin: 14px 0 0; font: 400 .95rem/1.4 var(--text); color: rgba(255,255,255,.78); letter-spacing: .02em; }
.trusted-line .trusted-star { color: var(--red); }
.trusted-note { margin: 6px 0 0; font-size: .92rem; color: var(--slate); }
/* /web-design/: "Churches we build for" (links to the tradition pages) */
.traditions { padding-block: clamp(48px, 6vw, 84px); }
.traditions__list { list-style: none; margin: clamp(20px, 3vw, 32px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
@media (max-width: 760px) { .traditions__list { grid-template-columns: 1fr; } }
.traditions__list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--navy); font: 400 clamp(1.25rem, 1.8vw, 1.6rem)/1.2 var(--title); min-height: 44px; }
.traditions__list a .icon { width: 26px; height: 26px; color: var(--red); flex: none; transition: transform .3s var(--ease); }
.traditions__list a:hover .icon { transform: translateX(6px); }
.traditions__list li:nth-child(odd) a { padding-right: 24px; }

/* ---- Landing pages, round 2 (Frank 2026-11-14) ---- */
.is-landing .section { padding-block: clamp(56px, 7vw, 96px); }
.is-landing .landing-built { padding-top: 0; }
.is-landing .page-hero.landing-hero { padding-block: clamp(28px, 3.4vw, 48px) clamp(44px, 5vw, 72px); }
.landing-hero .crumbs { margin-bottom: 12px; }
.landing-hero .page-hero__title { font-size: clamp(2.5rem, 4.6vw, 4.5rem); }
.landing-hero__lede.lead { font-size: 21px; line-height: 1.45; margin-top: 20px; max-width: 36em; }
.landing-hero .page-hero__actions { margin-top: 24px; }
.landing-hero .page-hero__inner { align-items: start; }

/* Blueprint spec: numbered, two columns, dashed rules, on grid paper. No icons, no boxed cards. */
.spec {
  list-style: none; margin: 0; padding: clamp(20px, 3vw, 36px);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 64px);
  border: 1.5px solid rgba(4, 21, 41, .55);
  background-color: #FCFCFC;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M20 0H0V20' fill='none' stroke='%232C3C4C' stroke-opacity='.12' stroke-width='1'/%3E%3C/svg%3E");
}
@media (max-width: 820px) { .spec { grid-template-columns: 1fr; } }
/* UPCI v2 "Connected to your church management system": the same spec look, unnumbered (Ada, 2026-11-14). */
.spec--plain .spec__item { grid-template-columns: 1fr; }
.spec__text--lead strong { color: var(--navy); font-weight: 700; }
.landing-chms__close { margin: clamp(24px, 3vw, 36px) 0 0; max-width: 62ch; font-size: 1.15rem; }
/* "Churches we've built for" on the tradition pages: one card sits in the middle. */
@media (min-width: 901px) { .work__grid--row .work-card--sm:only-child { grid-column: 4 / span 6; } }
.case { scroll-margin-top: 110px; }
.spec__item { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: 14px; padding: 18px 0; border-top: 1.5px dashed rgba(4, 21, 41, .38); }
.spec__item:nth-child(-n+2) { border-top: 0; }
@media (max-width: 820px) { .spec__item:nth-child(2) { border-top: 1.5px dashed rgba(4, 21, 41, .38); } }
.spec__no { font: 500 1.5rem/1 var(--text); color: var(--red); letter-spacing: .02em; padding-top: 2px; }
.spec__title { margin: 0; font: 600 1.28rem/1.25 var(--text); color: var(--navy); letter-spacing: .01em; }
.spec__text { margin: 6px 0 0; font-size: 1.12rem; line-height: 1.45; color: var(--slate); }
.spec__tag { display: inline-block; vertical-align: 2px; margin-left: 6px; padding: 3px 7px 2px; border: 1px dashed var(--red); border-radius: 2px;
  font: 500 .74rem/1.1 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--red); white-space: nowrap; }

/* ---- Cookie notice: the "margin note" (Frank 2026-11-14). Replaces the earlier top bar. ---- */
.notice {
  position: fixed; left: 20px; bottom: 20px; z-index: 60; width: min(340px, calc(100vw - 40px));
  padding: 16px 18px 14px; background: #FCFCFC; color: var(--slate);
  border: 1.5px dashed var(--navy); border-radius: 2px; box-shadow: 0 6px 22px rgba(4, 21, 41, .14);
  font-size: 1rem; line-height: 1.45;
}
.notice[hidden] { display: none; }
.notice:focus { outline: 3px solid var(--red); outline-offset: 3px; }
.notice__h { position: relative; display: inline-block; margin: 0 0 8px; font: 400 1.15rem/1.2 var(--title); color: var(--navy); }
.notice__swoosh { position: absolute; left: -2%; bottom: -.32em; width: 104%; height: .3em; }
.notice__text { margin: 0; }
.notice__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; margin: 12px 0 0; }
.notice__link { color: var(--navy); text-underline-offset: .2em; display: inline-flex; align-items: center; min-height: 24px; padding: 2px 0; }   /* WCAG 2.5.8: >= 24 px target */
.notice__btn {
  min-height: 40px; padding: 8px 18px; border: 2px solid var(--navy); border-radius: 2px;
  background: var(--navy); color: #FCFCFC; font: 500 1rem/1 var(--text); letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
}
.notice__btn:hover { background: var(--red); border-color: var(--red); }
.notice--consent .notice__btn, .notice[data-notice="consent"] .notice__btn { min-width: 6.5rem; }
.notice--in { animation: notice-in .4s var(--ease) both; }
@keyframes notice-in { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.notice--right { left: auto; right: 20px; }
/* Phones: still a small pop-up card, not a banner (Jaredith 2026-11-14) */
@media (max-width: 640px) {
  .notice { left: 12px; bottom: 12px; width: min(300px, calc(100vw - 24px)); padding: 12px 14px 10px; font-size: .95rem; line-height: 1.4; }
  .notice--right { left: auto; right: 12px; }
  .notice__h { font-size: 1.05rem; margin-bottom: 6px; }
  .notice__actions { margin-top: 8px; }
  .notice__btn { min-height: 44px; padding: 8px 16px; }
}
@media (prefers-reduced-motion: reduce) { .notice--in { animation: none; } }
.landing-hero__see { margin: 12px 0 0; font-size: 1.12rem; color: var(--slate); }
.landing-hero__see a { color: var(--red); text-underline-offset: .2em; font-weight: 500; }
.cta__small { margin-top: 16px; font-size: .98rem; color: rgba(255, 255, 255, .86); max-width: 52em; }
/* Frank nit: half the space between "Built the way…" (02) and the Questions rule (03) */
.is-landing .section.landing-built { padding-bottom: clamp(12px, 2vw, 24px); }

/* No pause buttons on the page itself (Jaredith 2026-11-14 for the hero, 2026-11-21 for the logos): WCAG 2.2.2 is
   met by Display settings > Pause animations, reachable from every page's footer and the focus-only button after
   "Skip to content". */
/* Tapestry reflow at 320 px (Dieter 1.4.10): the sibling card's single column can't grow past the screen,
   and its button text may wrap */
@media (max-width: 860px) { .tp-sibling { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .tp-sibling { padding-inline: 20px; } .tp-sibling .btn { white-space: normal; max-width: 100%; text-align: center; } }
.lens__title { overflow-wrap: anywhere; }

/* ---- Contrast fixes (Dieter baseline 1.4.3; Frank 2026-11-14) ---- */
/* Inactive hero steps: text at least 4.5:1, outline at least 3:1 (no more 50% opacity) */
.stage__steps li { opacity: 1; color: var(--slate); box-shadow: inset 0 0 0 1.5px #7A8591; }
.stage__steps li.is-on { box-shadow: none; }
/* Red text or marks on navy: the brand red lifted just enough (see the tokens above) */
.df-band__title span:nth-child(2),
.df-hero h1 span:nth-child(2),
.rise h2 em { color: var(--red-on-dark-lg); }
.funnel__labels li:nth-child(3) { color: var(--red-on-dark); }
.funnel__labels li:nth-child(3)::before { background: var(--red-on-dark-lg); }
/* Topic tags on article cards */
.post-card__topic { color: #fff; }
/* DF hero: a descriptive H1, then the three-word line as the big display (Jay 2026-11-14) */
.df-hero .df-hero__h1 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.15; letter-spacing: 0; max-width: 24ch; margin-bottom: 14px; }
.df-hero__words { margin: 0; color: #fff; font: 400 clamp(2.6rem, 5vw, 5rem)/.96 var(--title); letter-spacing: -.01em; }
.df-hero__words span { display: block; }
.df-hero__words span:nth-child(2) { color: var(--red-on-dark-lg); }

/* Long, descriptive button labels wrap on small phones instead of pushing the page sideways (Frank 11/14) */
@media (max-width: 480px) { .btn { max-width: 100%; white-space: normal; text-align: center; } .btn__label { white-space: normal; } }

/* DF paragraph on 3 lines at mid-desktop widths too: a small step down in size (still >= 18px) (Jaredith 11/14) */
@media (min-width: 1001px) and (max-width: 1399px) { .df-band .lead { font-size: 1.45rem; line-height: 1.4; } }
