/* ==========================================================================
   Pivotal Church: design system
   A place to turn. A way forward.
   ========================================================================== */

@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --plum: #482642;
  --plum-deep: #30172F;
  --ink: #100D12;
  --white: #FAF8FA;
  --gray: #E9E4E9;
  --lav: #BBA5BC;
  --lav-accent: #D7C3DC;
  --plum-60: #6b4a66;
  --plum-text: #3a1f36;

  --f-display: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-serif: "Newsreader", Georgia, "Times New Roman", serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --radius: 22px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 76px;

  /* Surface defaults (light) */
  --bg: var(--white);
  --fg: var(--plum-text);
  --fg-strong: var(--plum-deep);
  --muted: #6a5468;
  --line: rgba(72, 38, 66, .14);
  --card: #fff;
  --btn-bg: var(--plum);
  --btn-fg: var(--white);
  --accent: var(--plum);
}

.surface-dark, .section--dark, .page-hero--dark, .hero, .site-footer, .cta-band, .lead-feature {
  --bg: var(--plum-deep);
  --fg: rgba(250, 248, 250, .82);
  --fg-strong: var(--white);
  --muted: rgba(215, 195, 220, .78);
  --line: rgba(215, 195, 220, .18);
  --card: rgba(255, 255, 255, .04);
  --btn-bg: var(--white);
  --btn-fg: var(--plum-deep);
  --accent: var(--lav-accent);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--white); color: var(--plum-text);
  font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; color: var(--fg-strong); font-family: var(--f-display); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; }
ul, ol { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--lav-accent); color: var(--plum-deep); }
:focus-visible { outline: 3px solid var(--lav-accent); outline-offset: 3px; border-radius: 6px; }
.section--light :focus-visible, .theme-light .site-header :focus-visible, .prose :focus-visible { outline-color: var(--plum); }
main:focus { outline: none; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--white); color: var(--plum-deep); padding: 12px 18px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 860px; }

/* ---------------- Typography ---------------- */
.display { font-family: var(--f-display); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; font-size: clamp(2.1rem, 4.6vw, 3.9rem); color: var(--fg-strong); text-wrap: balance; }
.display--xl { font-size: clamp(2.6rem, 7vw, 6rem); letter-spacing: -.045em; line-height: .98; }
.display--md { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.display em, .serif-em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--accent); }
.eyebrow { display: inline-flex; align-items: center; gap: .7em; margin: 0 0 1.4rem; font-family: var(--f-display); font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--fg); max-width: 40em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------------- Buttons and links ---------------- */
.btn { --b: var(--btn-bg); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: 0 1.45em; border-radius: 999px; border: 1px solid transparent; font-family: var(--f-display); font-weight: 600; font-size: 1rem; letter-spacing: -.005em; text-decoration: none; cursor: pointer; transition: transform .35s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .35s var(--ease); overflow: hidden; isolation: isolate; }
.btn .icon-arrow { transition: transform .35s var(--ease); }
.btn:hover .icon-arrow, .btn:focus-visible .icon-arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn--primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 140% at 0% 50%, var(--lav-accent), transparent 60%); opacity: 0; transition: opacity .4s; }
.btn--primary:hover { box-shadow: 0 14px 34px -14px rgba(16, 13, 18, .55); }
.btn--primary:hover::after { opacity: .45; }
.btn--ghost { background: transparent; color: var(--fg-strong); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--fg-strong); }
.btn--visit { min-height: 44px; padding: 0 1.2em; font-size: .92rem; background: var(--lav-accent); color: var(--plum-deep); }
.btn--visit:hover { background: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: .5em; font-family: var(--f-display); font-weight: 600; text-decoration: none; color: var(--fg-strong); border-bottom: 1px solid var(--line); padding-bottom: 3px; transition: border-color .3s, gap .3s var(--ease); }
.text-link:hover { border-color: currentColor; gap: .75em; }
.btn[disabled], fieldset[disabled] .btn { opacity: .55; cursor: not-allowed; }

/* ---------------- Header ---------------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); color: var(--white); transition: background-color .35s, box-shadow .35s, color .35s, transform .4s var(--ease); }
.site-header::before { content: ""; position: absolute; inset: 0; background: rgba(48, 23, 47, .82); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); opacity: 0; transition: opacity .35s; border-bottom: 1px solid rgba(215, 195, 220, .12); }
.site-header.is-scrolled::before { opacity: 1; }
.theme-light .site-header { color: var(--plum-deep); }
.theme-light .site-header::before { background: rgba(250, 248, 250, .88); border-bottom-color: var(--line); opacity: 1; }
.site-header__bar { position: relative; height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; flex-shrink: 0; }
.brand__mark { width: 40px; height: 40px; border-radius: 50%; transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-12deg); }
.brand__name { font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; }
.brand__name span { font-weight: 400; opacity: .8; }

.primary-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.primary-nav__item { position: relative; display: flex; align-items: center; }
.primary-nav__link { display: block; padding: 10px 10px; font-family: var(--f-display); font-size: .95rem; font-weight: 500; text-decoration: none; border-radius: 999px; opacity: .88; transition: opacity .25s, background-color .25s; }
.primary-nav__link:hover, .primary-nav__link.is-active { opacity: 1; }
.primary-nav__link.is-active { text-decoration: underline; text-decoration-color: var(--lav-accent); text-underline-offset: 8px; text-decoration-thickness: 2px; }
.theme-light .primary-nav__link.is-active { text-decoration-color: var(--plum); }
.sub-toggle { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-left: -6px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; opacity: .7; transition: transform .3s var(--ease), opacity .2s; }
.sub-toggle:hover { opacity: 1; }
.sub-toggle[aria-expanded="true"] { transform: rotate(180deg); opacity: 1; }
.sub-menu { position: absolute; top: calc(100% + 10px); left: -12px; min-width: 300px; list-style: none; margin: 0; padding: 10px; border-radius: 18px; background: rgba(28, 16, 28, .96); border: 1px solid rgba(215, 195, 220, .16); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s; color: var(--white); }
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.is-open .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.js .has-sub:focus-within:not(.is-open) .sub-menu { opacity: 0; visibility: hidden; }
.js .has-sub:hover .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: grid; gap: 2px; padding: 11px 14px; border-radius: 12px; text-decoration: none; transition: background-color .2s; }
.sub-menu a:hover, .sub-menu a:focus-visible, .sub-menu a[aria-current="page"] { background: rgba(215, 195, 220, .1); }
.sub-menu strong { font-family: var(--f-display); font-weight: 600; font-size: .96rem; }
.sub-menu span { font-size: .84rem; color: rgba(215, 195, 220, .8); }
.primary-nav__mobile-extra { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.header-search { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(215, 195, 220, .24); transition: background-color .25s; }
.theme-light .header-search { border-color: var(--line); }
.header-search:hover { background: rgba(215, 195, 220, .12); }
.menu-toggle { display: none; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(215, 195, 220, .3); background: transparent; cursor: pointer; font-family: var(--f-display); font-weight: 600; font-size: .92rem; }
.theme-light .menu-toggle { border-color: var(--line); }
.menu-toggle__lines { display: grid; gap: 5px; width: 18px; }
.menu-toggle__lines span { display: block; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:first-child { transform: translateY(3.3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:last-child { transform: translateY(-3.3px) rotate(-45deg); }

@media (max-width: 1120px) {
  .menu-toggle { display: inline-flex; }
  .btn--visit { display: none; }
  .js .primary-nav { position: fixed; inset: 0; z-index: -1; padding: calc(var(--header-h) + 12px) var(--gutter) 32px; background: radial-gradient(120% 70% at 100% 0%, rgba(187, 165, 188, .18), transparent 60%), var(--plum-deep); color: var(--white); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .35s, transform .45s var(--ease), visibility 0s .45s; display: flex; flex-direction: column; }
  .js .nav-open .primary-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-open .site-header { color: var(--white); }
  .nav-open .site-header::before { opacity: 0; }
  .primary-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav__item { flex-wrap: wrap; border-bottom: 1px solid rgba(215, 195, 220, .14); }
  .primary-nav__link { flex: 1; padding: 18px 0; font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; border-radius: 0; }
  .sub-toggle { width: 44px; height: 44px; margin: 0; border: 1px solid rgba(215, 195, 220, .2); }
  .sub-menu, .js .has-sub:hover .sub-menu { position: static; flex-basis: 100%; min-width: 0; padding: 0 0 14px; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-sub.is-open .sub-menu, .js .has-sub.is-open:hover .sub-menu { display: block; }
  .sub-menu a { padding: 10px 0; }
  .primary-nav__mobile-extra { display: grid; gap: 18px; margin-top: auto; padding-top: 32px; }
  .primary-nav__mobile-extra .btn { --btn-bg: var(--white); --btn-fg: var(--plum-deep); }
  .primary-nav__tag { margin: 0; color: rgba(215, 195, 220, .7); font-size: .9rem; }
  .theme-light.nav-open .header-search, .theme-light.nav-open .menu-toggle { border-color: rgba(215, 195, 220, .3); }
  /* No-JS fallback: show nav as a simple wrapped list under the bar */
  .no-js .site-header { position: absolute; height: auto; }
  .no-js .site-header__bar { flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
  .no-js .primary-nav { order: 3; width: 100%; }
  .no-js .primary-nav__link { font-size: 1rem; padding: 8px 0; }
  .no-js .menu-toggle { display: none; }
}
@media (max-width: 520px) {
  .brand__name span { display: none; }
  .menu-toggle__label { display: none; }
  .menu-toggle { padding: 0 13px; }
}
.nav-open { overflow: hidden; }

/* ---------------- Home hero ---------------- */
.hero { position: relative; min-height: min(100svh, 980px); display: flex; align-items: center; padding: calc(var(--header-h) + 56px) 0 72px; background: var(--plum-deep); color: var(--fg); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(60% 70% at 78% 40%, rgba(187, 165, 188, .28), transparent 62%),
  radial-gradient(50% 60% at 10% 100%, rgba(72, 38, 66, .9), transparent 70%),
  linear-gradient(160deg, #3a1c37 0%, var(--plum-deep) 45%, #1c0f1c 100%); }
.hero__bg::after { content: ""; position: absolute; inset: -20%; background: conic-gradient(from 200deg at 70% 45%, transparent 0 70%, rgba(215, 195, 220, .12) 80%, transparent 90%); animation: drift 26s linear infinite; }
.hero__grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(215, 195, 220, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(215, 195, 220, .07) 1px, transparent 1px); background-size: 88px 88px; -webkit-mask-image: radial-gradient(80% 70% at 60% 40%, #000 30%, transparent 80%); mask-image: radial-gradient(80% 70% at 60% 40%, #000 30%, transparent 80%); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 5rem); }
.hero .lede { margin-top: 1.6rem; color: rgba(250, 248, 250, .8); }
.hero .btn-row { margin-top: 2.2rem; }
.hero__micro { margin: 1.4rem 0 0; font-family: var(--f-serif); font-style: italic; font-size: 1.15rem; color: var(--lav-accent); }
.hero__visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: end; }
.hero__visual svg.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero__emblem { position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #5a3054, var(--plum) 55%, #2a1429); box-shadow: 0 0 0 1px rgba(215, 195, 220, .25), 0 40px 80px -20px rgba(0, 0, 0, .6), 0 0 120px rgba(215, 195, 220, .25); animation: float 9s ease-in-out infinite; }
.hero__emblem img { width: 48%; height: auto; }
.hero__caption { position: absolute; right: 4%; bottom: 6%; margin: 0; font-family: var(--f-display); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hero__scroll { position: absolute; left: var(--gutter); bottom: 26px; display: flex; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.hero__scroll span { width: 1px; height: 36px; background: linear-gradient(var(--lav-accent), transparent); animation: scrollcue 2.4s var(--ease) infinite; }

.art-ring { fill: none; stroke: rgba(215, 195, 220, .26); stroke-width: 1; }
.art-ring--soft { stroke: rgba(215, 195, 220, .12); }
.art-path { fill: none; stroke: rgba(215, 195, 220, .55); stroke-width: 1.5; stroke-linecap: round; }
.art-path--accent { stroke: var(--lav-accent); stroke-width: 2; }
.art-path--faint { stroke: rgba(215, 195, 220, .2); }
.art-node { fill: var(--lav-accent); }
.art-node--soft { fill: rgba(215, 195, 220, .5); }
.art-fill { fill: rgba(215, 195, 220, .08); }
.art-grid { stroke: rgba(215, 195, 220, .08); stroke-width: 1; }
.art-glow { fill: url(#glow); }
.section--light .art-ring, .art-on-light .art-ring { stroke: rgba(72, 38, 66, .2); }
.section--light .art-ring--soft, .art-on-light .art-ring--soft { stroke: rgba(72, 38, 66, .1); }
.section--light .art-path, .art-on-light .art-path { stroke: rgba(72, 38, 66, .45); }
.section--light .art-path--accent, .art-on-light .art-path--accent { stroke: var(--plum); }
.section--light .art-path--faint, .art-on-light .art-path--faint { stroke: rgba(72, 38, 66, .14); }
.section--light .art-node, .art-on-light .art-node { fill: var(--plum); }
.section--light .art-fill, .art-on-light .art-fill { fill: rgba(72, 38, 66, .06); }
.section--light .art-grid, .art-on-light .art-grid { stroke: rgba(72, 38, 66, .07); }

/* ---------------- Inner page hero ---------------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(48px, 8vw, 110px)) 0 clamp(56px, 8vw, 104px); overflow: hidden; isolation: isolate; color: var(--fg); background: radial-gradient(70% 90% at 90% 20%, rgba(187, 165, 188, .22), transparent 60%), linear-gradient(170deg, #3a1c37, var(--plum-deep) 60%, #1f101e); }
.page-hero--light { background: var(--gray); }
.page-hero__art { position: absolute; inset: 0; z-index: -1; opacity: .9; }
.page-hero__art svg { width: 100%; height: 100%; }
.page-hero .lede { margin-top: 1.4rem; }
.page-hero--light .art-ring { stroke: rgba(72, 38, 66, .16); }
.page-hero--light .art-path { stroke: rgba(72, 38, 66, .3); }
.page-hero--light .art-node { fill: var(--plum); }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; margin: 0 0 1.8rem; padding: 0; font-size: .86rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: var(--fg-strong); }

/* ---------------- Sections ---------------- */
.section { position: relative; padding: clamp(72px, 10vw, 148px) 0; background: var(--bg); color: var(--fg); }
.section--light { --bg: var(--white); }
.section--tint { --bg: var(--gray); }
.section--dark { background: radial-gradient(70% 60% at 100% 0%, rgba(72, 38, 66, .9), transparent 70%), var(--plum-deep); }
.section--ink { --bg: var(--ink); }
.section--tight { padding: clamp(48px, 7vw, 96px) 0; }
.section + .section--light, .section--light + .section--light { padding-top: clamp(24px, 4vw, 48px); }
.section-head { max-width: 860px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; }
.section-head .lede { margin: 1.2rem 0 0; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.split--reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.sticky { position: sticky; top: calc(var(--header-h) + 32px); }
.copy p { color: var(--fg); }
.copy p:last-child { margin-bottom: 0; }
.copy--lg p { font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.65; }
.stack > * + * { margin-top: 1.6rem; }

/* Moment-to-turn theme cards */
.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(40px, 6vw, 72px); }
.theme-card { position: relative; display: flex; flex-direction: column; min-height: 380px; padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); text-decoration: none; overflow: hidden; transition: transform .5s var(--ease), border-color .3s, background-color .3s; }
.section--light .theme-card { background: #fff; }
.theme-card:nth-child(2) { transform: translateY(40px); }
.theme-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.theme-card:nth-child(2):hover { transform: translateY(32px); }
.theme-card__num { font-family: var(--f-display); font-size: .8rem; letter-spacing: .2em; color: var(--muted); }
.theme-card__art { flex: 1; display: grid; place-items: center; margin: 18px -10px; }
.theme-card__art svg { width: 100%; max-height: 200px; }
.theme-card h3 { font-size: 1.6rem; letter-spacing: -.03em; }
.theme-card p { margin: .6rem 0 0; color: var(--muted); font-size: .98rem; }

/* Feature cards (approach) */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { position: relative; padding: clamp(28px, 3vw, 40px); background: var(--bg); transition: background-color .4s; min-height: 320px; display: flex; flex-direction: column; }
.feature:hover { background: color-mix(in srgb, var(--bg) 92%, var(--lav-accent)); }
.feature__icon { width: 52px; height: 52px; margin-bottom: auto; color: var(--accent); }
.feature__icon svg { width: 100%; height: 100%; }
.feature h3 { margin-top: 48px; font-size: 1.35rem; }
.feature p { margin: .7rem 0 0; font-size: .98rem; color: var(--fg); }

/* Generation pathways */
.pathways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pathway { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; padding: 26px; border-radius: var(--radius); text-decoration: none; color: var(--white); overflow: hidden; isolation: isolate; background: var(--plum); transition: transform .5s var(--ease); }
.pathway::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 70% at 100% 0%, rgba(215, 195, 220, .35), transparent 60%); transition: opacity .5s; }
.pathway:nth-child(2) { background: #5a2f53; }
.pathway:nth-child(3) { background: var(--plum-deep); }
.pathway:nth-child(4) { background: var(--ink); }
.pathway:hover { transform: translateY(-6px); }
.pathway__tag { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--lav-accent); }
.pathway h3 { color: var(--white); font-size: 1.5rem; margin-top: 10px; }
.pathway p { margin: 10px 0 0; font-size: .94rem; color: rgba(250, 248, 250, .78); }
.pathway .icon-arrow { margin-top: 18px; transition: transform .35s var(--ease); }
.pathway:hover .icon-arrow { transform: translateX(6px); }
.pathway__art { position: absolute; right: -40px; top: -30px; width: 220px; opacity: .55; z-index: -1; }

/* Scripture */
.scripture { position: relative; text-align: center; max-width: 960px; margin: 0 auto; }
.scripture blockquote { margin: 0; }
.scripture p.scripture__text { font-family: var(--f-serif); font-size: clamp(1.6rem, 3.4vw, 2.7rem); line-height: 1.3; color: var(--fg-strong); text-wrap: balance; }
.scripture cite { display: block; margin-top: 1.6rem; font-style: normal; font-family: var(--f-display); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.scripture__mark { width: 56px; margin: 0 auto 28px; opacity: .9; }
.scripture .text-link { margin-top: 2rem; }

/* CTA band */
.cta-band { position: relative; padding: clamp(80px, 11vw, 160px) 0; text-align: center; background: var(--plum-deep); color: var(--fg); overflow: hidden; isolation: isolate; }
.cta-band__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 50% 110%, rgba(215, 195, 220, .32), transparent 70%), radial-gradient(40% 50% at 10% 0%, rgba(72, 38, 66, 1), transparent 70%); }
.cta-band__bg::after { content: ""; position: absolute; left: 50%; bottom: -55%; width: 120vmax; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; border: 1px solid rgba(215, 195, 220, .14); box-shadow: 0 0 0 80px rgba(215, 195, 220, .02), 0 0 0 160px rgba(215, 195, 220, .015); animation: breathe 12s ease-in-out infinite; }
.cta-band h2 { max-width: 15em; margin: 0 auto; }
.cta-band .lede { margin: 1.4rem auto 0; }
.cta-band .btn-row { justify-content: center; margin-top: 2.4rem; }

/* Generic cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease); }
.section--light .card, .section--tint .card { background: #fff; }
a.card { text-decoration: none; }
a.card:hover, .card--hover:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 24px 50px -30px rgba(48, 23, 47, .45); }
.card h3 { font-size: 1.35rem; }
.card p { margin: .7rem 0 0; font-size: .98rem; color: var(--fg); }
.card .text-link { margin-top: auto; padding-top: 1.4rem; align-self: flex-start; border: 0; }
.card__kicker { margin: 0 0 .9rem; font-family: var(--f-display); font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.card__status { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-bottom: 1.2rem; padding: 5px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .02em; background: color-mix(in srgb, var(--lav-accent) 30%, transparent); color: var(--fg-strong); }
.card__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .7; }
.card__art { margin: -6px -6px 18px; border-radius: 16px; overflow: hidden; background: var(--plum-deep); aspect-ratio: 16 / 9; display: grid; place-items: center; }
.card__art svg { width: 100%; height: 100%; }

/* Numbered values */
.values-list { list-style: none; margin: 0; padding: 0; counter-reset: v; border-top: 1px solid var(--line); }
.value { display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px 48px; padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.value__num { font-family: var(--f-display); font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 300; line-height: 1; color: var(--accent); letter-spacing: -.04em; }
.value h2, .value h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -.03em; }
.value p { color: var(--fg); }
.value p:last-child { margin-bottom: 0; }

/* Statements (mission/vision) */
.statement { font-family: var(--f-display); font-size: clamp(1.6rem, 3.4vw, 2.9rem); font-weight: 500; line-height: 1.16; letter-spacing: -.03em; color: var(--fg-strong); text-wrap: balance; }
.statement em { font-family: var(--f-serif); font-weight: 400; color: var(--accent); }
.label { display: block; margin-bottom: 1rem; font-family: var(--f-display); font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* Facts / details list */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact { padding: 26px 28px; background: var(--bg); }
.section--light .fact, .section--tint .fact { background: #fff; }
.fact dt, .fact h3 { margin: 0 0 .6rem; font-family: var(--f-display); font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.fact dd { margin: 0; }
.fact__value { font-family: var(--f-display); font-size: 1.25rem; font-weight: 500; color: var(--fg-strong); letter-spacing: -.01em; }
dl.facts { margin: 0; }

/* Pending / setup placeholder */
.pending { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; padding: 16px 18px; border-radius: 14px; border: 1px dashed color-mix(in srgb, var(--accent) 55%, transparent); background: color-mix(in srgb, var(--accent) 7%, transparent); }
.pending p { margin: 0; flex: 1; min-width: 200px; color: var(--fg); font-size: .97rem; }
.pending__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; transform: translateY(-1px); animation: pulse 2.6s ease-in-out infinite; }
.pending__hint { flex-basis: 100%; font-size: .84rem !important; color: var(--muted) !important; }
.pending__hint code { font-size: .85em; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; font-family: var(--f-display); font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 600; color: var(--fg-strong); letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: linear-gradient(currentColor, currentColor) center / 11px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 11px no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 0 26px; max-width: 760px; }
.faq__body p { color: var(--fg); }

/* Prose (articles, legal) */
.prose { max-width: 720px; font-size: 1.1rem; line-height: 1.75; color: var(--plum-text); }
.prose > * + * { margin-top: 1.15em; }
.prose p { margin-bottom: 0; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 2.4vw, 1.95rem); letter-spacing: -.025em; }
.prose h3 { margin-top: 1.8em; font-size: 1.3rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .5em; }
.prose a { color: var(--plum); font-weight: 500; }
.prose blockquote { margin: 1.8em 0; padding: 0 0 0 1.4em; border-left: 2px solid var(--plum); font-family: var(--f-serif); font-size: 1.3rem; line-height: 1.5; color: var(--plum-deep); }
.prose blockquote cite { display: block; margin-top: .6em; font-family: var(--f-body); font-style: normal; font-size: .85rem; color: var(--muted); }
.prose .note, .note { padding: 18px 22px; border-radius: 14px; background: var(--gray); font-size: .98rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--f-display); color: var(--plum-deep); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.review-flag { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 999px; background: var(--lav-accent); color: var(--plum-deep); font-family: var(--f-display); font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }

/* Article layout */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 6vw, 96px); align-items: start; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 1.6rem; font-size: .92rem; color: var(--muted); }
.article-meta a { color: var(--lav-accent); }
.aside-card { position: sticky; top: calc(var(--header-h) + 32px); padding: 26px; border-radius: var(--radius); background: var(--gray); }
.aside-card h2 { font-size: 1.15rem; }
.aside-card p { font-size: .95rem; margin: .7rem 0 1.2rem; }
.aside-card ul { list-style: none; padding: 0; margin: 0; }
.aside-card li { padding: 10px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.aside-card li a { text-decoration: none; font-weight: 500; }
.aside-card li a:hover { text-decoration: underline; }
.editorial-label { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .8rem; color: var(--muted); }

/* Posts list */
.post-feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border-radius: var(--radius); overflow: hidden; background: var(--plum-deep); color: var(--white); text-decoration: none; margin-bottom: 18px; transition: transform .5s var(--ease); }
.post-feature:hover { transform: translateY(-4px); }
.post-feature__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.post-feature__body h2 { color: var(--white); font-size: clamp(1.8rem, 3.4vw, 2.8rem); letter-spacing: -.035em; }
.post-feature__body p { color: rgba(250, 248, 250, .78); margin: 1rem 0 0; }
.post-feature__art { min-height: 300px; background: radial-gradient(70% 70% at 70% 30%, rgba(215, 195, 220, .25), transparent 70%), var(--plum); display: grid; place-items: center; }
.post-feature__art svg { width: 80%; }
.post-card__art { aspect-ratio: 16 / 10; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 44px); }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--fg-strong); font-size: .92rem; font-weight: 500; text-decoration: none; cursor: pointer; transition: background-color .25s, border-color .25s, color .25s; }
.chip:hover { border-color: var(--fg-strong); }
.chip[aria-current="page"], .chip[aria-pressed="true"], .chip.is-active { background: var(--plum); border-color: var(--plum); color: var(--white); }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px; }
.pagination__pages { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.pagination__pages a, .pagination__pages span { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.pagination__pages [aria-current] { background: var(--plum); color: var(--white); border-color: var(--plum); }

/* Search */
.search-form { display: flex; gap: 10px; max-width: 720px; }
.search-form input { flex: 1; min-height: 56px; padding: 0 22px; border-radius: 999px; border: 1px solid rgba(215, 195, 220, .3); background: rgba(255, 255, 255, .06); color: var(--white); font-size: 1.05rem; }
.search-form input::placeholder { color: rgba(215, 195, 220, .7); }
.search-results { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.search-results li { padding: 24px 0; border-bottom: 1px solid var(--line); }
.search-results a { font-family: var(--f-display); font-size: 1.3rem; font-weight: 600; color: var(--plum-deep); text-decoration: none; }
.search-results a:hover { text-decoration: underline; }
.search-results p { margin: .4rem 0 0; color: var(--muted); }
.search-results .url { font-size: .84rem; color: var(--plum-60); }
mark { background: color-mix(in srgb, var(--lav-accent) 60%, transparent); color: inherit; padding: 0 .1em; border-radius: 3px; }

/* Leadership */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.person { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.person__mono { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px; border-radius: 50%; background: var(--plum); color: var(--white); font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; letter-spacing: .02em; }
.person h3 { font-size: 1.3rem; }
.person p { margin: .4rem 0 0; color: var(--muted); font-size: .95rem; }
.lead-feature { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: var(--radius); background: var(--plum-deep); color: var(--fg); }
.lead-feature__mono { display: grid; place-items: center; width: clamp(110px, 14vw, 170px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #6a3a63, var(--plum)); color: var(--white); font-family: var(--f-display); font-weight: 600; font-size: clamp(2rem, 4vw, 3rem); box-shadow: 0 0 0 1px rgba(215, 195, 220, .25), 0 0 80px rgba(215, 195, 220, .18); }
.lead-feature h2 { color: var(--white); font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -.035em; }
.lead-feature .role { margin: .5rem 0 0; font-family: var(--f-display); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--lav-accent); }
.lead-feature p { color: var(--fg); }

/* Forms */
.form-card { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); background: #fff; border: 1px solid rgba(72, 38, 66, .12); box-shadow: 0 30px 60px -40px rgba(48, 23, 47, .4); color: var(--plum-text); --fg-strong: var(--plum-deep); --muted: #6a5468; --line: rgba(72, 38, 66, .14); --accent: var(--plum); --btn-bg: var(--plum); --btn-fg: var(--white); }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form__required-note { font-size: .88rem; color: var(--muted); }
.field { margin-bottom: 22px; }
.field > label, .field legend { display: block; margin-bottom: 8px; font-weight: 600; font-size: .96rem; color: var(--plum-deep); }
.field input:not([type="checkbox"]), .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px; border: 1px solid rgba(72, 38, 66, .28); background: var(--white); color: var(--plum-deep); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5l4 4 4-4' fill='none' stroke='%23482642' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 4px rgba(72, 38, 66, .14); }
.field__help { margin: -2px 0 8px; font-size: .86rem; color: var(--muted); }
.field__error { margin: 6px 0 0; font-size: .88rem; font-weight: 600; color: #a1213b; min-height: 0; }
.field__error:empty { display: none; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #a1213b; }
.field--check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--plum); }
.field--check label { font-weight: 400; font-size: .95rem; line-height: 1.5; }
.field--check .field__error { grid-column: 2; }
.field--group { border: 0; padding: 0; }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 18px; margin-top: 6px; }
.req { color: #a1213b; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { margin-top: 28px; }
.btn--submit { width: 100%; }
.btn__loader { display: none; }
.is-submitting .btn__label { opacity: .6; }
.is-submitting .btn__loader { display: inline-block; animation: spin-soft 1.4s var(--ease) infinite; }
.form-status { margin-top: 18px; }
.form-status:empty { display: none; }
.form-status p { margin: 0; }
.form-status--setup, .form-status--error, .form-status--ok { padding: 16px 18px; border-radius: 12px; font-size: .95rem; }
.form-status--setup { margin: 0 0 24px; background: #f6eff7; border: 1px dashed rgba(72, 38, 66, .35); }
.form-status--error { background: #fbeef0; border: 1px solid rgba(161, 33, 59, .35); color: #6f1528; }
.form-status--ok { background: #eef6f0; border: 1px solid rgba(38, 104, 64, .35); color: #1b4d2f; }
.form-status code { font-size: .85em; }

/* Notice */
.notice { padding: 22px 24px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
.notice strong { color: var(--fg-strong); }
.notice--crisis { border-color: rgba(161, 33, 59, .35); background: #fbeef0; color: #4a1020; }
.notice--crisis strong { color: #6f1528; }

/* Map */
.map-shell { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--plum-deep); aspect-ratio: 16 / 10; display: grid; place-items: center; text-align: center; padding: 24px; }
.map-shell iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Sitemap page */
.sitemap-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.sitemap-cols h2 { font-size: 1.1rem; margin-bottom: 1rem; }
.sitemap-cols ul { list-style: none; padding: 0; margin: 0; }
.sitemap-cols li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.sitemap-cols a { text-decoration: none; }
.sitemap-cols a:hover { text-decoration: underline; }

/* 404 */
.lost { min-height: 80svh; display: flex; align-items: center; }

/* ---------------- Footer ---------------- */
.site-footer { position: relative; padding: clamp(64px, 9vw, 120px) 0 40px; background: var(--ink); color: rgba(250, 248, 250, .72); overflow: hidden; isolation: isolate; }
.site-footer__art { position: absolute; inset: 0; z-index: -1; opacity: .8; }
.site-footer__art svg { width: 100%; height: 100%; }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(40px, 6vw, 96px); }
.site-footer__logo { display: inline-block; width: 150px; }
.site-footer__tagline { margin: 24px 0 0; font-family: var(--f-serif); font-style: italic; font-size: 1.3rem; color: var(--lav-accent); }
.site-footer__about { margin: 14px 0 18px; max-width: 32em; font-size: .96rem; }
.site-footer__meta { margin: 0 0 6px; font-size: .92rem; }
.site-footer__meta a { text-decoration: none; }
.site-footer__nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.site-footer__nav h3 { margin-bottom: 16px; font-family: var(--f-display); font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--lav); }
.site-footer__nav ul, .site-footer__legal, .site-footer__social { list-style: none; margin: 0; padding: 0; }
.site-footer__nav li { margin-bottom: 10px; }
.site-footer__nav a, .site-footer__legal a, .site-footer__social a { text-decoration: none; font-size: .95rem; transition: color .2s; }
.site-footer__nav a:hover, .site-footer__legal a:hover, .site-footer__social a:hover { color: var(--white); text-decoration: underline; }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 40px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: clamp(48px, 7vw, 88px); padding-top: 24px; border-top: 1px solid rgba(215, 195, 220, .14); font-size: .86rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------------- Motion ---------------- */
@keyframes drift { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 10px)); } }
@keyframes breathe { 0%, 100% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-50%) scale(1.04); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes scrollcue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes spin-soft { 0% { transform: rotate(0) scale(1); } 50% { transform: rotate(180deg) scale(.85); } 100% { transform: rotate(360deg) scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { stroke-dashoffset: var(--len, 1200); } to { stroke-dashoffset: 0; } }
@keyframes orbit { to { transform: rotate(360deg); } }

.js .hero [data-rise] { opacity: 0; animation: rise 1s var(--ease) forwards; }
.js .hero [data-rise="1"] { animation-delay: .1s; }
.js .hero [data-rise="2"] { animation-delay: .25s; }
.js .hero [data-rise="3"] { animation-delay: .45s; }
.js .hero [data-rise="4"] { animation-delay: .6s; }
.js .hero [data-rise="5"] { animation-delay: .75s; }
.js .hero [data-rise="6"] { animation-delay: .5s; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: block; }
.js .hero h1 .line > span { transform: translateY(105%); animation: lineup 1.1s var(--ease) forwards; }
.js .hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.js .hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
.js .hero h1 .line:nth-child(4) > span { animation-delay: .36s; }
@keyframes lineup { to { transform: none; } }
.js .draw { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); animation: draw 2.4s var(--ease) .3s forwards; }
.hero-art .orbit { transform-origin: 280px 280px; animation: orbit 60s linear infinite; }
.hero-art .orbit--rev { animation-duration: 90s; animation-direction: reverse; }

.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js [data-reveal-stagger].is-in > * { opacity: 1; transform: none; }
.js [data-reveal-stagger].is-in > *:nth-child(2) { transition-delay: .08s; }
.js [data-reveal-stagger].is-in > *:nth-child(3) { transition-delay: .16s; }
.js [data-reveal-stagger].is-in > *:nth-child(4) { transition-delay: .24s; }
.js [data-reveal-stagger].is-in > *:nth-child(5) { transition-delay: .32s; }
.js [data-reveal-stagger].is-in > *:nth-child(6) { transition-delay: .4s; }
.js .split-reveal { animation: rise 1s var(--ease) .1s both; }
.js .themes[data-reveal-stagger].is-in > .theme-card:nth-child(2) { transform: translateY(40px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal-stagger] > *, .js .hero [data-rise], .js .hero h1 .line > span { opacity: 1 !important; transform: none !important; }
  .js .draw { stroke-dashoffset: 0 !important; }
  .hero__bg::after, .hero-art .orbit { animation: none !important; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .pathways { grid-template-columns: repeat(2, 1fr); }
  .site-footer__top { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}
@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 36px); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 300px; justify-self: start; margin: 0 0 8px -12px; }
  .hero__caption, .hero__scroll { display: none; }
  .split, .split--even, .split--reverse, .section-head--split { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .themes { grid-template-columns: 1fr; }
  .theme-card { min-height: 0; }
  .theme-card:nth-child(2), .js .themes[data-reveal-stagger].is-in > .theme-card:nth-child(2) { transform: none; }
  .theme-card:nth-child(2):hover { transform: translateY(-6px); }
  .theme-card__art svg { max-height: 150px; }
  .card-grid, .card-grid--2 { grid-template-columns: 1fr; }
  .value { grid-template-columns: 1fr; gap: 12px; }
  .post-feature { grid-template-columns: 1fr; }
  .post-feature__art { min-height: 200px; order: -1; }
  .lead-feature { grid-template-columns: 1fr; }
  .site-footer__nav { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .features, .pathways { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
  .feature h3 { margin-top: 28px; }
  .pathway { min-height: 220px; }
  .check-grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .search-form { flex-direction: column; }
  .pagination { flex-wrap: wrap; justify-content: center; }
}

@media print {
  .site-header, .site-footer, .cta-band, .page-hero__art, .hero__visual { display: none !important; }
  body { background: #fff; color: #000; }
  .page-hero, .hero { background: none !important; color: #000; padding: 0 0 24px; }
  .page-hero *, .hero * { color: #000 !important; }
}

/* Utilities */
.mt-link { margin-top: 36px; }
.mt-0 { margin-top: 0; }
.mt-l { margin-top: clamp(32px, 5vw, 56px); }
.center { text-align: center; }
.list-clean { list-style: none; padding: 0; margin: 0; }
.list-check { list-style: none; padding: 0; margin: 0; }
.list-check li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--line); }
.list-check li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 14px; height: 8px; border-left: 1.8px solid var(--accent); border-bottom: 1.8px solid var(--accent); transform: rotate(-45deg); }
.two-col-list { columns: 2; column-gap: 40px; }
@media (max-width: 600px) { .two-col-list { columns: 1; } }

/* Art inside dark tiles always uses the light-on-dark palette */
.card__art .art-ring, .post-feature__art .art-ring, .pathway__art .art-ring, .map-shell .art-ring { stroke: rgba(215, 195, 220, .28); }
.card__art .art-ring--soft, .post-feature__art .art-ring--soft, .pathway__art .art-ring--soft, .map-shell .art-ring--soft { stroke: rgba(215, 195, 220, .14); }
.card__art .art-path, .post-feature__art .art-path, .pathway__art .art-path, .map-shell .art-path { stroke: rgba(215, 195, 220, .55); }
.card__art .art-path--accent, .post-feature__art .art-path--accent, .pathway__art .art-path--accent, .map-shell .art-path--accent { stroke: var(--lav-accent); }
.card__art .art-path--faint, .post-feature__art .art-path--faint, .pathway__art .art-path--faint, .map-shell .art-path--faint { stroke: rgba(215, 195, 220, .2); }
.card__art .art-node, .post-feature__art .art-node, .pathway__art .art-node, .map-shell .art-node { fill: var(--lav-accent); }
.card__art .art-fill, .post-feature__art .art-fill, .pathway__art .art-fill, .map-shell .art-fill { fill: rgba(215, 195, 220, .08); }
.card__art .art-grid, .post-feature__art .art-grid, .pathway__art .art-grid, .map-shell .art-grid { stroke: rgba(215, 195, 220, .08); }
.card__art { background: radial-gradient(80% 90% at 80% 10%, rgba(187, 165, 188, .22), transparent 60%), var(--plum-deep); }
.map-shell { color: var(--white); }
.map-shell .muted { color: rgba(215, 195, 220, .8); }
.site-footer__art { opacity: .35; }

/* Search form on light surfaces */
.search-form--light input { border-color: rgba(72, 38, 66, .25); background: #fff; color: var(--plum-deep); }
.search-form--light input::placeholder { color: #8a7488; }
.section-head--split .search-form { justify-self: end; width: 100%; }
.page-hero .eyebrow a { color: inherit; text-decoration: none; }
.page-hero .eyebrow a:hover { text-decoration: underline; }
@media (max-width: 900px) { .site-footer__art { display: none; } }

/* ---------------- Photography ---------------- */
.page-hero--photo { background: var(--plum-deep); }
.page-hero__photo { position: absolute; inset: 0; z-index: -2; }
.page-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28, 13, 27, .94) 0%, rgba(48, 23, 47, .82) 45%, rgba(48, 23, 47, .45) 100%), linear-gradient(0deg, rgba(28, 13, 27, .7), transparent 50%); }
.page-hero--photo .page-hero__art { opacity: .45; }
@media (max-width: 700px) { .page-hero__photo::after { background: linear-gradient(0deg, rgba(28, 13, 27, .95) 10%, rgba(48, 23, 47, .78) 100%); } }

.photo { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--plum-deep); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo:hover img { transform: scale(1.03); }
.photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; background: linear-gradient(transparent, rgba(16, 13, 18, .82)); font-size: .88rem; color: rgba(250, 248, 250, .9); }
.photo figcaption a { text-decoration: none; }
.photo figcaption a:hover { text-decoration: underline; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 3 / 2; }

.mosaic { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 14px; }
.mosaic .photo:first-child { grid-row: span 2; }
.mosaic .photo:nth-child(4) { grid-column: span 2; }
@media (max-width: 900px) { .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 200px 200px; } .mosaic .photo:first-child { grid-column: span 2; grid-row: auto; } .mosaic .photo:nth-child(4) { grid-column: span 2; } }

.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery__item a { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--plum-deep); text-decoration: none; color: var(--white); }
.gallery__item--tall a { aspect-ratio: 4 / 3; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery__item a:hover img, .gallery__item a:focus-visible img { transform: scale(1.04); }
.gallery__meta { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 2px; padding: 48px 18px 16px; background: linear-gradient(transparent, rgba(16, 13, 18, .88)); }
.gallery__meta strong { font-family: var(--f-display); font-size: 1.05rem; }
.gallery__meta span { font-size: .86rem; color: rgba(215, 195, 220, .9); }
@media (max-width: 1080px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr; } }
.media-hero { margin: 0; }
.media-hero img { width: 100%; height: auto; max-height: 80vh; object-fit: contain; border-radius: var(--radius); background: var(--plum-deep); }
.media-hero figcaption { margin-top: 12px; color: var(--muted); font-size: .95rem; }

/* Founder story */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.story__photos { position: sticky; top: calc(var(--header-h) + 32px); display: grid; grid-template-columns: 1fr .62fr; gap: 14px; align-items: end; }
.story__photos .photo:first-child { aspect-ratio: 1221 / 1134; }
.story__photos .photo:last-child { aspect-ratio: 1218 / 1254; transform: translateY(-36px); }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } .story__photos { position: static; } }
.lead-feature__photo { width: clamp(150px, 18vw, 230px); aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: center 25%; box-shadow: 0 0 0 1px rgba(215, 195, 220, .25), 0 0 80px rgba(215, 195, 220, .18); }
.lead-feature + .lead-feature { margin-top: 18px; }
.lead-feature__name { color: var(--white); font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -.035em; }
.card__art img { width: 100%; height: 100%; object-fit: cover; }
.story__photos { display: block; }
.story__photos .photo:first-child { width: 88%; }
.story__photos .photo:last-child { width: 52%; margin: -90px 0 0 auto; transform: none; border: 6px solid var(--gray); }
.story__photos .photo:last-child figcaption { padding: 30px 12px 10px; font-size: .78rem; }
.gallery__item--pastor img, .gallery__item--tall img { object-position: center 22%; }
