/* Providence Mission Homes — 2026 */
@view-transition { navigation: auto; }

:root {
  --navy: #0F1B2D;
  --navy-2: #17263D;
  --navy-3: #2A3A55;
  --gold: #C9A86A;
  --gold-2: #DCC69A;
  --brass: #8A6A2E;
  --cream: #F9F7F4;
  --paper: #FFFFFF;
  --panel: #F7F0E3;
  --line: #E2DACB;
  --ink: #0F1B2D;
  --muted: #4F5868;
  --on-dark: #F6F2EA;
  --on-dark-muted: #AEB6C4;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Sora", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --r-lg: 32px;
  --r: 22px;
  --r-sm: 14px;
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: clamp(80px, 12vw, 168px) 0; position: relative; }
.sec.sm { padding: clamp(56px, 8vw, 104px) 0; }
.dark { background: var(--navy); color: var(--on-dark); }
.panel { background: var(--panel); }
.cream { background: var(--paper); }

/* Type */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brass);
}
.label::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.dark .label { color: var(--gold); }
.mega {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(44px, 6.4vw, 104px); line-height: .95; letter-spacing: -.025em;
}
.xl {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 5.4vw, 88px); line-height: 1; letter-spacing: -.02em;
}
.xl em, .lg em, .mega em { font-style: italic; }
.lg { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -.015em; }
.md { font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--muted); max-width: 820px; }
.dark .lede { color: var(--on-dark-muted); }
.small { font-size: 14px; }
.muted { color: var(--muted); }
.dark .muted { color: var(--on-dark-muted); }
.stack > * + * { margin-top: 24px; }
.stack-sm > * + * { margin-top: 12px; }

/* Buttons */
.btn {
  --bg: var(--navy); --fg: var(--cream);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg); font: 600 15px/1 var(--sans); letter-spacing: .005em;
  text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn .arr { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--fg); color: var(--bg); margin-right: -12px; transition: transform .4s var(--ease); }
.btn .arr svg { width: 12px; height: 12px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(15, 27, 45, .55); }
.btn:hover .arr { transform: translateX(3px); }
.btn.gold { --bg: var(--gold); --fg: var(--navy); }
.btn.light { --bg: var(--cream); --fg: var(--navy); }
.btn.ghost { background: transparent; color: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn.ghost .arr { background: var(--ink); color: var(--paper); }
.dark .btn.ghost .arr, .app-aside .btn.ghost .arr { background: var(--cream); color: var(--navy); }
.tile.navy .label, .app-aside .label { color: var(--gold); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.tlink { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }

/* Floating nav */
.topnav { position: sticky; top: 14px; z-index: 50; padding: 0 var(--gutter); margin-top: 14px; pointer-events: none; }
.topnav-in {
  pointer-events: auto; max-width: var(--wrap); margin: 0 auto; height: 68px; padding: 0 10px 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: rgba(249, 247, 244, .8); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(228, 220, 203, .8); border-radius: 999px;
  box-shadow: 0 10px 40px -20px rgba(15, 27, 45, .35);
}
.brand img { height: 32px; width: auto; }
.links { display: flex; gap: 4px; align-items: center; }
.links a { text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 10px 14px; border-radius: 999px; transition: background .25s; }
.links a:hover { background: rgba(15, 27, 45, .07); }
.links a[aria-current="page"] { background: var(--navy); color: var(--cream); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.nav-cta .btn { min-height: 48px; padding: 0 22px; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--navy); color: var(--cream); cursor: pointer; place-items: center; }
.menu-btn svg { width: 20px; height: 20px; }
.sheet {
  position: fixed; inset: 0; z-index: 70; background: var(--navy); color: var(--cream);
  padding: 24px var(--gutter) 40px; display: flex; flex-direction: column;
  clip-path: circle(0% at calc(100% - 48px) 48px); visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s .7s;
}
.sheet.open { clip-path: circle(150% at calc(100% - 48px) 48px); visibility: visible; transition: clip-path .7s var(--ease); }
.sheet-top { display: flex; justify-content: space-between; align-items: center; height: 64px; }
.sheet-top img { height: 28px; }
.sheet-close { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--cream); color: var(--navy); cursor: pointer; display: grid; place-items: center; }
.sheet-close svg { width: 20px; height: 20px; }
.sheet nav { margin-top: auto; display: grid; }
.sheet nav a { font-family: var(--serif); font-size: clamp(40px, 11vw, 64px); line-height: 1.15; text-decoration: none; font-style: italic; }
.sheet .btns { margin-top: 36px; }
@media (max-width: 1080px) {
  .links { display: none; }
  .menu-btn { display: grid; }
  .nav-cta .btn.hide-sm { display: none; }
  .topnav-in { height: 62px; padding-left: 20px; }
  .brand img { height: 26px; }
}
@media (max-width: 420px) {
  .nav-cta .btn { padding: 0 18px; }
  .brand img { height: 22px; }
}

/* Photos: full color (PMH, Nov 2026). The navy behind each photo shows only while it loads. */
.ph { position: relative; overflow: hidden; border-radius: var(--r); background: radial-gradient(120% 90% at 70% 20%, #4A5F80 0%, #26364F 45%, var(--navy) 100%); isolation: isolate; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: filter .9s var(--ease), opacity .9s var(--ease), transform 1.2s var(--ease); }
.ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,27,45,0) 55%, rgba(15,27,45,.55) 100%); pointer-events: none; }
.ph:hover img { transform: scale(1.03); }
.ph .cap { position: absolute; z-index: 1; left: 18px; bottom: 14px; right: 18px; font-size: 12.5px; color: rgba(246, 242, 234, .92); letter-spacing: .01em; }
.ph.tint { background: radial-gradient(120% 90% at 30% 20%, var(--gold-2) 0%, var(--gold) 40%, var(--brass) 100%); }
.ph.tint .cap { color: var(--navy); }
.ph.tint::after { background: none; }

/* Reveal on scroll */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
}

/* HERO */
.hero { padding: clamp(40px, 6vw, 72px) 0 0; }
/* Desktop: label and headline on the left, the big seal on the right (top level with the label, centered over the two buttons), lede and buttons along the bottom. */
.hero-top {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto 1fr auto;
  grid-template-areas: "label seal" "title seal" "count seal" "lede btns"; gap: 28px clamp(32px, 5vw, 72px);
}
.hero-top .label { grid-area: label; justify-self: start; }
.hero-top .mega { grid-area: title; }
.hero-count { grid-area: count; align-self: start; display: inline-flex; align-items: center; gap: 12px; font-size: clamp(16px, 1.4vw, 19px); font-weight: 600; color: var(--navy); letter-spacing: -.005em; }
.hero-count::before { content: ""; flex: none; width: 30px; height: 30px; background: url(/assets/img/sent-home-star-navy.svg) center / contain no-repeat; }
.hero-seal { grid-area: seal; align-self: start; justify-self: center; width: clamp(170px, 18vw, 260px); height: auto; margin-bottom: 24px; }
.hero-top .lede { grid-area: lede; align-self: center; max-width: 640px; }
.hero-top .btns { grid-area: btns; align-self: center; flex-wrap: nowrap; }
/* Tablet: the seal stays top right beside the label and a two-line headline; lede and buttons stack below. */
@media (max-width: 999px) {
  .hero-top { grid-template-rows: none; grid-template-areas: "label seal" "title seal" "count count" "lede lede" "btns btns"; gap: 28px 32px; }
  .hero-top .mega { font-size: clamp(44px, 10vw, 80px); }
  .hero-seal { width: clamp(110px, 18vw, 170px); margin-bottom: 0; }
  .hero-top .btns { flex-wrap: wrap; }
}
/* Phone: the label gets its own line; the seal sits beside the two-line headline. */
@media (max-width: 560px) {
  .hero-top { grid-template-areas: "label label" "title seal" "count count" "lede lede" "btns btns"; gap: 28px 16px; }
  .hero-top .mega { font-size: min(60px, calc((100vw - 128px) * .155)); }
  .hero-seal { width: 80px; }
}
.hero-side p { color: var(--muted); }
.hero-frame { margin-top: clamp(32px, 5vw, 56px); position: relative; }
.hero-frame .ph { border-radius: var(--r-lg); height: clamp(420px, 66vh, 760px); transform-origin: center top; }
.hero-frame .ph img { object-position: 50% 82%; }
.hero-chip {
  position: absolute; z-index: 2; left: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px);
  display: flex; align-items: center; gap: 14px; padding: 10px 20px 10px 10px; border-radius: 999px;
  background: rgba(249, 247, 244, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 14px; font-weight: 500;
}
.hero-chip img { width: 40px; height: 40px; }
.hero-stats {
  position: absolute; z-index: 2; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px);
  display: flex; gap: 6px; padding: 6px; border-radius: 22px; background: rgba(15, 27, 45, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--cream);
}
.hero-stats div { padding: 10px 18px; text-align: center; }
.hero-stats b { display: block; font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1; }
.hero-stats span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
@supports (animation-timeline: view()) {
  .hero-frame .ph { animation: heroShrink linear both; animation-timeline: view(); animation-range: exit -10% exit 60%; }
  @keyframes heroShrink { to { transform: scale(.94); border-radius: 56px; } }
}
@media (max-width: 860px) {
  .hero-stats { left: 16px; right: 16px; bottom: 16px; justify-content: space-between; }
  .hero-stats div { padding: 8px 4px; flex: 1; }
  .hero-stats b { font-size: 26px; }
  .hero-stats span { font-size: 9.5px; letter-spacing: .08em; }
  .hero-chip { top: 16px; bottom: auto; }
}

/* Marquee */
.marquee { overflow: hidden; white-space: nowrap; user-select: none; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: inline-flex; gap: 48px; animation: slide var(--speed, 40s) linear infinite; padding-right: 48px; }
/* Community photo carousel: full-color photos sliding by on their own */
.photo-carousel .marquee-track { gap: 18px; padding-right: 18px; align-items: stretch; }
.photo-carousel figure { margin: 0; flex: none; width: clamp(260px, 34vw, 480px); }
.photo-carousel .ph { aspect-ratio: 4 / 3; white-space: normal; }
.marquee.rev .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.words { font-family: var(--serif); font-style: italic; font-size: clamp(36px, 5vw, 72px); line-height: 1.25; color: var(--navy); }
.words span { display: inline-flex; align-items: center; gap: 48px; }
.words span::after { content: ""; width: 16px; height: 16px; background: var(--brass); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }

/* Kinetic statement: words light up as you scroll */
/* Sized to the container so the lines break the same way at every desktop and tablet width, each running full. Retune if the copy changes. */
.statement-wrap { container-type: inline-size; }
.statement { font-family: var(--serif); font-size: clamp(30px, 4.6vw, 68px); font-size: clamp(26px, 4.2cqi, 60px); line-height: 1.12; letter-spacing: -.012em; }
@media (max-width: 560px) { .statement { font-size: 6.6cqi; } }
.statement .w { opacity: .2; transition: opacity .5s var(--ease); }
.statement .w.on { opacity: 1; }
.statement em { color: var(--brass); }

/* Arrive: sticky scrolly */
.arrive { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
/* Sticky photo is centered in the space below the floating nav (about 84px tall), with even room above and below. */
.arrive-media { --arrive-h: min(760px, calc(100vh - 200px)); position: sticky; top: calc((100vh - var(--arrive-h)) / 2 + 42px); height: var(--arrive-h); }
.arrive-media .ph { height: 100%; border-radius: var(--r-lg); }
.arrive-media .ph img { position: absolute; inset: 0; transition: opacity .8s var(--ease), filter .9s var(--ease); }
.arrive-steps { padding: 6vh 0 12vh; }
.arrive-step { min-height: 46vh; display: flex; flex-direction: column; justify-content: center; gap: 14px; opacity: .25; transition: opacity .6s var(--ease); }
.arrive-step.on { opacity: 1; }
.arrive-step .num { font-size: 13px; font-weight: 600; letter-spacing: .16em; color: var(--brass); }
.arrive-step h3 { font-family: var(--serif); font-size: clamp(40px, 4.6vw, 72px); font-weight: 500; line-height: 1; letter-spacing: -.015em; }
.arrive-step p { color: var(--muted); max-width: 420px; font-size: 18px; }
@media (max-width: 860px) {
  .arrive { grid-template-columns: 1fr; }
  .arrive-media { position: relative; top: 0; height: 56vh; }
  .arrive-step { min-height: auto; padding: 36px 0; opacity: 1; border-bottom: 1px solid var(--line); }
}

/* Bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(200px, auto); gap: 14px; }
.tile { border-radius: var(--r); padding: 28px; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; position: relative; overflow: hidden; }
.tile h3 { font-size: 21px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.tile p { color: var(--muted); font-size: 15px; }
.tile .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--panel); color: var(--navy); }
.tile .ic svg { width: 24px; height: 24px; }
.tile.navy { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.tile.navy p { color: var(--on-dark-muted); }
.tile.navy .ic { background: var(--navy-3); color: var(--gold); }
.tile.gold { background: var(--gold); border-color: var(--gold); }
.tile.gold p { color: var(--navy); opacity: .8; }
/* Rent by home size inside a navy tile (home page) */
.rent-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.rent-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(246, 242, 234, .16); }
.rent-list li:last-child { border-bottom: 0; }
.rent-list span { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.rent-list b { font-family: var(--serif); font-size: clamp(36px, 3.6vw, 52px); font-weight: 600; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.rent-list small { font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--on-dark-muted); margin-left: 4px; }
/* Map links under the Allen and Mentor cards (on phones each sits under its own card) */
.homes .map-link { display: inline-flex; align-items: center; gap: 10px; justify-self: start; margin-top: -4px; font-size: 14.5px; font-weight: 600; color: var(--navy); text-decoration: none; padding: 8px 14px 8px 8px; border-radius: 999px; transition: background .25s; }
.homes .map-link:hover { background: rgba(15, 27, 45, .07); }
.homes .map-link img { width: 26px; height: 26px; }
@media (max-width: 860px) {
  .homes > :nth-child(1) { order: 1; } .homes > :nth-child(3) { order: 2; }
  .homes > :nth-child(2) { order: 3; } .homes > :nth-child(4) { order: 4; }
}
.tile .range { font-family: var(--serif); font-size: clamp(44px, 4.4vw, 68px); line-height: .95; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
/* Major gift needs (Give page) */
.needs { list-style: none; margin: 0; padding: 0; width: 100%; }
.needs li { display: grid; grid-template-columns: minmax(110px, auto) 1fr; gap: 20px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line, rgba(15,27,45,.1)); }
.needs li:first-child { padding-top: 0; }
.needs li:last-child { border-bottom: 0; padding-bottom: 0; }
.needs b { font-family: var(--serif); font-size: clamp(30px, 2.8vw, 40px); font-weight: 600; line-height: 1; color: var(--navy); }
.needs span { font-size: 16.5px; }
.legacy-seal { width: 84px; height: 84px; }
.bento .tile.legacy-video { background: var(--navy); min-width: 0; min-height: 0; justify-content: center; }
.legacy-video video { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--navy); }
.legacy-quote { justify-content: center; }
.legacy-quote blockquote { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; font-weight: 600; letter-spacing: -.01em; color: var(--navy); margin: 0; text-wrap: balance; }
/* Mailing list (Contact page) */
.mailing { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.mailing-icon { width: 52px; height: 52px; margin-bottom: 6px; }
@media (max-width: 860px) { .mailing { grid-template-columns: 1fr; } }
/* Our Story page */
.story-seal { display: grid; place-items: center; }
.story-seal img { width: clamp(180px, 22vw, 300px); height: auto; }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px) clamp(32px, 5vw, 72px); }
.story-block { display: grid; gap: 14px; align-content: start; padding-top: 24px; border-top: 1px solid var(--line); }
.story-block p { font-size: 17.5px; line-height: 1.7; }
.story-cta { display: grid; justify-items: center; text-align: center; gap: 22px; }
.story-cta .btns { justify-content: center; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story-seal img { width: 140px; } }
.tile .big { font-family: var(--serif); font-size: clamp(64px, 7vw, 112px); line-height: .85; font-weight: 600; letter-spacing: -.03em; }
.tile.ph-tile { padding: 0; border: 0; }
.tile.ph-tile .ph { height: 100%; border-radius: 0; }
.c3 { grid-column: span 3; } .c4 { grid-column: span 4; } .c5 { grid-column: span 5; } .c6 { grid-column: span 6; } .c7 { grid-column: span 7; } .c8 { grid-column: span 8; }
.r2 { grid-row: span 2; }
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .c3, .c4, .c5, .c6, .c7, .c8 { grid-column: span 1; }
  .bento .wide-sm { grid-column: 1 / -1; }
  .r2 { grid-row: span 1; }
  .tile.ph-tile { min-height: 280px; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .tile { padding: 24px; }
}

/* Section heads */
.head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; margin-bottom: clamp(40px, 6vw, 72px); }
.head .stack-sm { max-width: 760px; }
@media (max-width: 760px) { .head { grid-template-columns: 1fr; } }

/* Homes */
.homes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.home-card { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: clamp(460px, 62vh, 640px); color: var(--cream); text-decoration: none; display: flex; }
.home-card .ph { position: absolute; inset: 0; border-radius: 0; }
.home-card .ph::after { background: linear-gradient(180deg, rgba(15,27,45,.05) 30%, rgba(15,27,45,.92) 100%); }
.home-body { position: relative; z-index: 1; margin-top: auto; padding: clamp(24px, 3vw, 40px); width: 100%; display: grid; gap: 16px; }
.home-body h3 { font-family: var(--serif); font-size: clamp(56px, 6vw, 96px); font-style: italic; font-weight: 500; line-height: .9; }
.home-body .addr { font-size: 14px; opacity: .85; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; background: rgba(246, 242, 234, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.chip b { font-weight: 700; }
.chips.light .chip { background: var(--panel); backdrop-filter: none; }
.chips.outline .chip { background: transparent; border: 1.5px solid var(--line); padding: 12px 20px; font-size: 15px; }
/* Partners "We Work With" wall: uniform tiles, navy logos or names (data/partners.js); site.js sizes each logo to a similar visual weight. */
.orgs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; width: 100%; list-style: none; margin: 8px 0 0; padding: 0; }
.org { flex: 0 0 calc((100% - 60px) / 6); min-height: 104px; padding: 20px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); transition: border-color .3s var(--ease); }
.org:hover { border-color: var(--gold); }
.org-name { font-size: 16px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; text-wrap: balance; color: var(--ink); opacity: .75; transition: opacity .3s var(--ease); }
.org:hover .org-name { opacity: 1; }
.org-note { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.org img { width: auto; max-width: min(150px, 100%); object-fit: contain; opacity: .8; transition: opacity .3s var(--ease); }
.org:hover img { opacity: 1; }
/* Icon + name lockup (New Life Vision Church, GMS). */
.org-lockup { display: inline-flex; align-items: center; gap: 10px; text-align: left; }
.org-lockup .org-icon { flex: none; width: auto; height: 40px; max-width: none; }
.org-lockup .org-name { opacity: .85; }
/* 36 tiles fill every row at 6, 4, 3 and 2 columns. */
@media (max-width: 1239px) { .org { flex-basis: calc((100% - 36px) / 4); } }
@media (max-width: 989px) { .org { flex-basis: calc((100% - 24px) / 3); } }
@media (max-width: 739px) { .org { flex-basis: calc((100% - 12px) / 2); } }
@media (max-width: 560px) { .orgs { gap: 8px; } .org { flex-basis: calc((100% - 8px) / 2); min-height: 64px; padding: 12px 10px; gap: 3px; } .org-name { font-size: 14px; } .org img { max-height: 40px; } .org-lockup { gap: 8px; } .org-lockup .org-icon { height: 32px; } }
.dark .chips.outline .chip { border-color: var(--navy-3); }
.home-card .go { position: absolute; z-index: 1; top: 24px; right: 24px; width: 56px; height: 56px; border-radius: 50%; background: var(--cream); color: var(--navy); display: grid; place-items: center; transition: transform .5s var(--ease); }
.home-card:hover .go { transform: rotate(-45deg); }
.home-card .go svg { width: 20px; height: 20px; }
@media (max-width: 860px) { .homes { grid-template-columns: 1fr; } }

/* Horizontal gallery */
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 30vw, 420px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 24px; scrollbar-width: none; scroll-padding: 0 var(--gutter); }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll figure { scroll-snap-align: start; }
.hscroll .ph { aspect-ratio: 4 / 5; }
.hscroll figure:nth-child(even) .ph { aspect-ratio: 1; margin-top: 48px; }
.hscroll figcaption { margin-top: 14px; font-size: 15px; color: var(--muted); }
.hscroll figcaption b { display: block; font-family: var(--serif); font-size: 28px; font-weight: 600; font-style: italic; line-height: 1.1; color: var(--ink); }
.hs-ctrl { display: flex; gap: 8px; }
/* Community B: one even row of landscape photos, first photo lined up with the page content */
.photo-reel { --reel-pad: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); grid-auto-columns: clamp(280px, 40vw, 560px); padding-inline: var(--reel-pad); scroll-padding-inline: var(--reel-pad); outline: none; }
.photo-reel .ph, .photo-reel figure:nth-child(even) .ph { aspect-ratio: 4 / 3; margin-top: 0; }
.photo-reel:focus-visible .ph { box-shadow: 0 0 0 2px var(--gold); }
.reel-head .stack-sm { max-width: none; }
.photo-reel + .wrap .small { margin-top: 4px; }
@media (max-width: 560px) { .photo-reel { grid-auto-columns: 82%; } }
.round { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; display: grid; place-items: center; cursor: pointer; transition: background .3s, color .3s, border-color .3s; flex-shrink: 0; }
.round:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.round svg { width: 18px; height: 18px; }

/* Voices */
.voices { display: grid; gap: 16px; }
.vcard { width: 380px; white-space: normal; background: var(--paper); border-radius: var(--r); padding: 24px; display: grid; gap: 16px; align-content: start; border: 1px solid var(--line); }
.dark .vcard { background: var(--navy-2); border-color: var(--navy-3); color: var(--cream); }
.vwho { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--navy); display: grid; place-items: center; flex-shrink: 0; }
.dark .avatar { background: var(--navy-3); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar img.icon { width: 22px; height: 22px; object-fit: contain; }
.vname { font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.vregion { font-size: 13px; opacity: .7; line-height: 1.3; }
.vcard p { font-size: 16px; line-height: 1.55; }
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vgrid .vcard { width: auto; }
@media (max-width: 960px) { .vgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .vgrid { grid-template-columns: 1fr; } .vcard { width: 300px; } }

/* Doors */
.doors { border-top: 1px solid var(--navy-3); }
.door { display: grid; grid-template-columns: 200px 1fr auto; align-items: center; gap: 24px; padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--navy-3); text-decoration: none; }
.door .k { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.door h3 { font-family: var(--serif); font-size: clamp(40px, 6vw, 88px); font-weight: 500; line-height: 1; letter-spacing: -.02em; transition: transform .6s var(--ease), color .4s; }
.door h3 em { font-style: italic; }
.door:hover h3 { transform: translateX(16px); color: var(--gold); }
.door .round { border-color: var(--navy-3); }
.door:hover .round { background: var(--gold); color: var(--navy); border-color: var(--gold); }
@media (max-width: 760px) { .door { grid-template-columns: 1fr auto; gap: 8px 16px; } .door .k { grid-column: 1 / -1; } }

/* Inner page hero */
.phero { padding: clamp(56px, 9vw, 128px) 0 clamp(40px, 6vw, 80px); }
.phero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
@media (max-width: 860px) { .phero-grid { grid-template-columns: 1fr; } }

/* Property detail */
.prop { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; scroll-margin-top: 110px; }
.prop + .prop { margin-top: clamp(80px, 10vw, 140px); }
.prop.flip > :first-child { order: 2; }
.prop.top { align-items: start; }
.story-mural { aspect-ratio: 1600 / 706; }
.stack > .story-mural { margin-top: clamp(28px, 4vw, 44px); }
/* Our Story archive: the staircase photo runs the full height of the right column, so its bottom lines up with the Sent Home Star Icon block. */
.prop.story-archive { align-items: stretch; }
.story-archive-photo { min-height: 560px; }
.story-archive-photo img { position: absolute; inset: 0; object-position: 50% 30%; }
.star-block { display: grid; gap: 14px; margin-top: clamp(24px, 3vw, 36px); padding: clamp(22px, 2.6vw, 32px); background: var(--panel); border-radius: var(--r); }
.star-block-head { display: flex; align-items: center; gap: 18px; }
.star-block-mark { flex: none; width: 76px; height: 76px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; }
.star-block-mark img { width: 48px; height: auto; }
.star-block h3 { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 32px); font-weight: 600; line-height: 1.1; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; }
.star-block-sub { margin-top: 4px; font-size: 15px; font-weight: 600; color: var(--brass); }
.star-block p { font-size: 15px; line-height: 1.6; text-wrap: pretty; }
.star-block-list { display: grid; gap: 6px; list-style: none; margin: 0; padding: 0; }
.star-block-list li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.5; text-wrap: balance; }
.star-block-list li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.star-block-list b { color: var(--ink); font-weight: 700; }
@media (max-width: 860px) { .story-archive-photo { min-height: 0; aspect-ratio: 1207 / 1600; } .story-archive-photo img { position: static; } }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--navy); box-shadow: 0 24px 60px -30px rgba(15,27,45,.45); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.prop-gal { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.prop-gal .ph:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.prop-gal .ph { aspect-ratio: 1; }
.mix { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.mix div { padding: 18px 8px; text-align: center; border-right: 1px solid var(--line); }
.mix div:last-child { border-right: 0; }
.mix b { display: block; font-family: var(--serif); font-size: 44px; line-height: 1; font-weight: 600; }
.mix span { font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .prop { grid-template-columns: 1fr; } .prop.flip > :first-child { order: 0; } }

/* Price cards */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.price { border-radius: var(--r); padding: 28px; background: var(--paper); border: 1px solid var(--line); display: grid; gap: 6px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.price:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(15, 27, 45, .45); }
.price .t { font-weight: 600; }
.price .amt { font-family: var(--serif); font-size: 64px; line-height: 1; font-weight: 600; letter-spacing: -.02em; margin-top: 12px; }
.price .amt small { font: 400 15px var(--sans); color: var(--muted); letter-spacing: 0; }
.price .s { font-size: 14px; color: var(--muted); }
.price.feat { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.price.feat .amt small, .price.feat .s { color: var(--on-dark-muted); }
.note { font-size: 13.5px; color: var(--brass); margin-top: 14px; display: flex; gap: 8px; align-items: center; }
.note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
@media (max-width: 760px) { .prices { grid-template-columns: 1fr; } }

/* Ticks + terms */
.ticks { display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; }
.ticks li::before { content: ""; width: 24px; height: 24px; border-radius: 50%; margin-top: 1px; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23C9A86A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px no-repeat; }
.dark .ticks li::before { background-color: var(--gold); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%230F1B2D' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.terms > div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.terms > div:first-child { border-top: 1px solid var(--line); }
.terms dt { font-weight: 600; } .terms dd { color: var(--muted); }
@media (max-width: 560px) { .terms > div { grid-template-columns: 1fr; gap: 2px; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: transform .4s var(--ease), background .3s; font-style: normal; font-size: 20px; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--navy); color: var(--cream); border-color: var(--navy); }
.faq details p { color: var(--muted); padding: 0 64px 26px 0; max-width: 820px; }

/* Forms (native, app-like) */
.field { display: grid; gap: 8px; }
.field > span { font-size: 13.5px; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--paper);
  padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--r-sm); transition: border-color .25s, box-shadow .25s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230F1B2D' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; padding-right: 44px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(201, 168, 106, .5); }
.field .hint { font-size: 13px; color: var(--muted); }
.field.bad input, .field.bad select, .field.bad textarea { border-color: #B4442F; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .grid2 { grid-template-columns: 1fr; } }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.qlabel { font-size: 15px; font-weight: 600; margin-bottom: 12px; display: block; }

.choice { display: flex; flex-wrap: wrap; gap: 10px; }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.choice span { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-size: 15px; font-weight: 500; transition: all .2s; }
.choice input:checked + span { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(201, 168, 106, .7); }
.choice.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.choice.cards label { display: grid; }
.choice.cards span { display: grid; align-content: start; gap: 4px; min-height: 0; padding: 20px; border-radius: var(--r-sm); height: 100%; }
.choice.cards span b { font-size: 16px; }
.choice.cards span small { font-size: 13.5px; font-weight: 400; opacity: .75; }

/* App shell for apply / give / contact */
.app { display: grid; grid-template-columns: 380px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.app-aside { position: sticky; top: 110px; border-radius: var(--r-lg); padding: 32px; background: var(--navy); color: var(--cream); display: grid; gap: 24px; }
.app-aside .ph { aspect-ratio: 4 / 3; border-radius: var(--r); }
.steps-nav { display: grid; gap: 4px; }
.steps-nav li { display: flex; align-items: center; gap: 14px; padding: 8px 0; color: var(--on-dark-muted); font-size: 15px; }
.steps-nav li i { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--navy-3); display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; transition: all .3s; flex-shrink: 0; }
.steps-nav li.on { color: var(--cream); font-weight: 600; }
.steps-nav li.on i { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.steps-nav li.done i { background: var(--navy-3); border-color: var(--navy-3); color: var(--gold); }
.app-main { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 56px); min-height: 600px; display: flex; flex-direction: column; }
.progress { height: 4px; border-radius: 4px; background: var(--panel); overflow: hidden; margin-bottom: 36px; }
.progress b { display: block; height: 100%; width: 25%; background: var(--navy); border-radius: 4px; transition: width .6s var(--ease); }
.step { display: none; }
.step.on { display: grid; gap: 28px; animation: stepIn .6s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } }
.step h2 { font-family: var(--serif); font-size: clamp(34px, 3.6vw, 52px); font-weight: 500; line-height: 1.02; letter-spacing: -.015em; }
.step h2 em { font-style: italic; }
.step-foot { margin-top: auto; padding-top: 36px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.back { background: none; border: 0; font-weight: 600; cursor: pointer; padding: 12px 0; display: inline-flex; gap: 8px; align-items: center; }
.back.hidden { visibility: hidden; }
.saved { font-size: 13px; color: var(--muted); }
.study-more { display: grid; gap: 14px; }
.study-more[hidden] { display: none; }
.addr { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 14px; }
.addr legend { padding: 0; margin-bottom: 6px; }
.addr .hint { font-size: 13px; color: var(--muted); margin: 0 0 2px; }
.agreement { display: grid; gap: 18px; padding: clamp(20px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--r); background: var(--cream); }
.agreement h3 { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; line-height: 1.1; }
.agreement h3 span { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-family: var(--sans, inherit); font-size: 13px; font-weight: 700; flex-shrink: 0; }
.agree-text { display: grid; gap: 10px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.agree-text strong { color: var(--navy); font-weight: 600; }
.agree-text ul { display: grid; gap: 6px; padding-left: 20px; list-style: disc; }
.agree-check { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; font-size: 15px; font-weight: 500; line-height: 1.55; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--paper); transition: border-color .2s; }
.agree-check input { width: 22px; height: 22px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--navy); cursor: pointer; }
.agree-check:has(input:checked) { border-color: var(--navy); }
.agree-check.bad { border-color: #B4442F; }
.review { display: grid; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.review div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 15px; }
.review div:last-child { border-bottom: 0; }
.review dt { color: var(--muted); } .review dd { font-weight: 500; overflow-wrap: anywhere; white-space: pre-line; }
@media (max-width: 560px) { .review div { grid-template-columns: 1fr; gap: 2px; } }
.done-state { display: none; text-align: center; justify-items: center; gap: 20px; padding: 40px 0; margin: auto 0; }
.done-state.on { display: grid; animation: stepIn .6s var(--ease); }
.done-state img { width: 96px; height: 96px; }
.done-state h2 { font-family: var(--serif); font-size: clamp(40px, 4vw, 60px); font-style: italic; font-weight: 500; line-height: 1; }
.done-state p { max-width: 460px; }
.err { color: #9B2C1F; font-size: 14px; min-height: 1em; }
@media (max-width: 960px) {
  .app { grid-template-columns: 1fr; }
  .app-aside { position: relative; top: 0; padding: 22px 24px; }
  .app-aside .hide-sm { display: none; }
  .steps-nav { grid-auto-flow: column; justify-content: space-between; }
  .steps-nav li span { display: none; }
  .steps-nav li.on span { display: inline; }
  .app-main { min-height: 0; }
}

/* Give */
.amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.amounts label { position: relative; cursor: pointer; }
.amounts input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.amounts span { display: grid; place-items: center; height: 76px; border-radius: var(--r-sm); border: 1.5px solid var(--line); font-family: var(--serif); font-size: 34px; font-weight: 600; transition: all .2s; background: var(--paper); }
.amounts input:checked + span { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.amounts input:focus-visible + span { box-shadow: 0 0 0 4px rgba(201, 168, 106, .7); }
.seg { display: inline-grid; grid-auto-flow: column; padding: 5px; border-radius: 999px; background: var(--panel); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.seg span { display: block; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 14.5px; transition: all .25s; }
.seg input:checked + span { background: var(--paper); box-shadow: 0 2px 10px -4px rgba(15, 27, 45, .35); }
/* Give: Tithe.ly form embedded after choosing an amount */
.give-form { display: grid; gap: 18px; animation: stepIn .6s var(--ease); }
.give-form[hidden] { display: none; }
.give-form-head { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.give-form-head p { margin: 0; }
.give-form-head b { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.btn.sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.give-frame { position: relative; border-radius: var(--r); overflow: hidden; background: #ece6dc; min-height: 1180px; }
.give-frame iframe { display: block; width: 100%; height: 1180px; border: 0; opacity: 0; transition: opacity .4s; }
.give-frame.ready iframe { opacity: 1; }
.give-loading { position: absolute; top: 40px; left: 0; right: 0; text-align: center; }
.give-frame.ready .give-loading { display: none; }
.give-fallback a { color: inherit; text-decoration: underline; }
@media (max-width: 600px) {
  .give-frame { min-height: 1560px; margin: 0 -10px; }
  .give-frame iframe { height: 1560px; }
}
.impact { border-radius: var(--r); background: var(--panel); padding: 20px 22px; display: flex; gap: 16px; align-items: center; }
.impact img { width: 44px; height: 44px; flex-shrink: 0; }
.impact b { font-family: var(--serif); font-size: 26px; font-weight: 600; display: block; line-height: 1.1; }
.custom-amt { position: relative; }
.custom-amt::before { content: "$"; position: absolute; left: 18px; bottom: 17px; font-weight: 600; z-index: 1; }
.custom-amt input { padding-left: 34px; }
@media (max-width: 560px) { .amounts { grid-template-columns: 1fr 1fr; } }

/* Footer */
.foot { background: var(--navy); color: var(--on-dark-muted); padding: clamp(64px, 8vw, 104px) 0 28px; overflow: hidden; }
.foot-cta { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--navy-3); }
.foot-cta h2 { color: var(--cream); }
.foot-cols { display: grid; grid-template-columns: auto 1fr 1fr auto; gap: 32px; padding: 48px 0; font-size: 15px; }
@media (max-width: 1240px) { .foot-cols { grid-template-columns: 1fr 1fr auto; } .foot-cols > :first-child { grid-column: 1 / -1; } }
.foot-seal { display: block; width: 96px; height: 96px; margin-bottom: 22px; }
@media (max-width: 560px) { .foot-seal { width: 80px; height: 80px; margin-bottom: 18px; } }
.foot h4 { color: var(--gold); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.foot ul { display: grid; gap: 10px; }
.foot a { text-decoration: none; transition: color .2s; } .foot a:hover { color: var(--cream); }
.foot p, .foot a { overflow-wrap: break-word; }
.foot-mark { width: 100%; height: auto; opacity: .95; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; padding-top: 24px; border-top: 1px solid var(--navy-3); margin-top: 40px; }
.foot-legal { display: flex; flex-wrap: wrap; row-gap: 4px; }
.foot-legal > span + span::before { content: "\00B7"; margin: 0 10px; color: var(--gold); }
.foot-credit { white-space: nowrap; }
.foot-credit a { color: var(--cream); }
.foot-credit a:hover { color: var(--gold); }
@media (max-width: 560px) { .foot-legal > span { flex-basis: 100%; } .foot-legal > span + span::before { content: none; } }
.foot-local { display: flex; flex-wrap: wrap; row-gap: 4px; font-variant-numeric: tabular-nums; }
.foot-local > span:empty, .foot-local > [hidden] { display: none; }
.foot-local > span + span::before { content: "\00B7"; margin: 0 10px; color: var(--gold); }
@media (max-width: 560px) { .foot-local > span:first-child { flex-basis: 100%; } .foot-local > span:nth-child(2)::before { content: none; } }
@media (max-width: 860px) {
  .foot-cta { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-cols > :first-child { grid-column: 1 / -1; }
}

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); padding: 10px 16px; border-radius: 8px; }
.center { text-align: center; }
.mt-l { margin-top: clamp(40px, 6vw, 72px); }
.pill { display: inline-flex; padding: 7px 14px; border-radius: 999px; background: var(--panel); color: var(--brass); font-size: 13px; font-weight: 500; white-space: nowrap; }
.dark .pill { background: var(--navy-2); color: var(--gold); }

/* Dark panels that aren't .dark sections */
.app-aside .muted, .tile.navy .muted { color: var(--on-dark-muted); }
.head > .btn, .head > .pill { justify-self: start; }

/* Photo lightbox */
.zoomable { cursor: zoom-in; }
.zoomable:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: var(--r); }
html.lb-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 24px; background: rgba(10, 18, 31, .92); }
.lightbox[hidden] { display: none; }
.lb-fig { margin: 0; display: grid; justify-items: center; gap: 14px; min-width: 0; }
.lb-fig img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: var(--r); box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.lb-fig figcaption { color: var(--cream); font-size: 15px; text-align: center; }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(249,247,244,.25); background: rgba(249,247,244,.08); color: var(--cream); display: grid; place-items: center; cursor: pointer; }
.lb-btn:hover { background: rgba(249,247,244,.18); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { position: absolute; top: 18px; right: 18px; }
@media (max-width: 640px) {
  .lightbox { grid-template-columns: 1fr 1fr; padding: 72px 12px 24px; align-content: center; }
  .lb-fig { grid-column: 1 / -1; grid-row: 1; }
  .lb-prev { grid-row: 2; justify-self: end; } .lb-next { grid-row: 2; justify-self: start; }
  .lb-fig img { max-height: calc(100vh - 220px); }
}

/* Count-up number (10,000 guests) */
.count { display: inline-block; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Focus ring that shows on both light and dark backgrounds (gold alone is too faint on cream) */
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; box-shadow: 0 0 0 3px var(--gold); }
.dark :focus-visible, .foot :focus-visible, .sheet :focus-visible, .app-aside :focus-visible, .tile.navy :focus-visible, .lightbox :focus-visible { outline-color: var(--gold); box-shadow: none; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: none; }

/* Pause control for moving carousels */
.motion-toggle { display: inline-flex; align-items: center; gap: 8px; margin: 14px auto 0; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--navy); font: 600 13px var(--sans); cursor: pointer; }
.dark .motion-toggle { background: var(--navy-2); border-color: var(--navy-3); color: var(--cream); }
.motion-wrap { display: flex; justify-content: center; }
.marquee.paused .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .motion-wrap { display: none; } }

/* 404 */
.notfound { min-height: 60vh; display: flex; align-items: center; }
.notfound-mark { width: 88px; height: 88px; }

/* Privacy Policy and Terms Of Use */
.legal { display: grid; grid-template-columns: 260px minmax(0, 760px); gap: clamp(32px, 5vw, 80px); align-items: start; }
.legal-toc { position: sticky; top: 110px; display: grid; gap: 14px; }
.legal-toc ol { list-style: none; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.legal-toc a { color: var(--muted); text-decoration: none; }
.legal-toc a:hover { color: var(--navy); text-decoration: underline; }
.legal-body { display: grid; gap: clamp(28px, 3vw, 40px); }
.legal-body section { display: grid; gap: 12px; scroll-margin-top: 100px; }
.legal-body h2 { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 32px); font-weight: 600; line-height: 1.15; color: var(--navy); }
.legal-body p, .legal-body li { font-size: 16.5px; line-height: 1.7; color: var(--muted); }
.legal-body b { color: var(--ink); font-weight: 600; }
.legal-body ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; }
.legal-body li::marker { color: var(--brass); }
.legal-body a { color: var(--navy); }
.legal-draft { padding: 16px 20px; border-radius: var(--r-sm); background: var(--panel); border: 1px solid var(--line); font-size: 15px; color: var(--ink); }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal-toc { position: static; } }
.form-consent a { color: inherit; }

/* Zoom-parallax gallery (Life At Providence): a tall section with a sticky stage.
   All photos sit in a collage; scrolling zooms each photo in turn up to near full
   screen and back into the collage (see site.js). */
.zp, .zp-note { display: none; }
.js .zp { display: block; position: relative; height: 1060vh; }
.js .zp-grid { display: none; }
.zp-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--cream); }
.zp-collage {
  position: absolute; inset: 0; padding: 104px var(--gutter) 92px;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr)); gap: 12px;
  max-width: 1560px; margin: 0 auto;
}
.zp-item { position: relative; margin: 0; min-width: 0; min-height: 0; border-radius: var(--r-sm); overflow: hidden; background: var(--navy-3); cursor: zoom-in; transform-origin: 0 0; }
.zp-item img { width: 100%; height: 100%; object-fit: cover; }
/* Collage layout: 6 x 4 on desktop, 4 x 6 on phones (one cell per photo, a few span two) */
.zp-item:nth-child(1) { grid-row: 1; grid-column: 1 / 3; }
.zp-item:nth-child(2) { grid-row: 1 / 3; grid-column: 3 / 5; }
.zp-item:nth-child(3) { grid-row: 1; grid-column: 5; }
.zp-item:nth-child(4) { grid-row: 1; grid-column: 6; }
.zp-item:nth-child(5) { grid-row: 2; grid-column: 1; }
.zp-item:nth-child(6) { grid-row: 2; grid-column: 2; }
.zp-item:nth-child(7) { grid-row: 2; grid-column: 5; }
.zp-item:nth-child(8) { grid-row: 2 / 4; grid-column: 6; }
.zp-item:nth-child(9) { grid-row: 3; grid-column: 1 / 3; }
.zp-item:nth-child(10) { grid-row: 3; grid-column: 4; }
.zp-item:nth-child(11) { grid-row: 4; grid-column: 4 / 6; }
.zp-item:nth-child(12) { grid-row: 4; grid-column: 1; }
.zp-item:nth-child(13) { grid-row: 4; grid-column: 2; }
.zp-item:nth-child(14) { grid-row: 3 / 5; grid-column: 3; }
.zp-item:nth-child(15) { grid-row: 3; grid-column: 5; }
.zp-item:nth-child(16) { grid-row: 4; grid-column: 6; }
.zp-moving .zp-item.on { will-change: transform; }
.zp-item.on { z-index: 3; box-shadow: 0 30px 80px -30px rgba(15, 27, 45, .55); }
.zp-veil { position: absolute; inset: 0; z-index: 2; background: var(--cream); opacity: 0; pointer-events: none; }
/* Phones: four columns, six rows */
@media (max-width: 700px) {
  .zp-collage { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(6, minmax(0, 1fr)); gap: 8px; padding: 92px 16px 88px; }
  .zp-item { border-radius: 10px; }
  .zp-item:nth-child(1) { grid-row: 1; grid-column: 1 / 3; }
  .zp-item:nth-child(2) { grid-row: 1 / 3; grid-column: 3 / 5; }
  .zp-item:nth-child(3) { grid-row: 2; grid-column: 1; }
  .zp-item:nth-child(4) { grid-row: 2; grid-column: 2; }
  .zp-item:nth-child(5) { grid-row: 3; grid-column: 1; }
  .zp-item:nth-child(6) { grid-row: 3; grid-column: 2; }
  .zp-item:nth-child(7) { grid-row: 3; grid-column: 3; }
  .zp-item:nth-child(8) { grid-row: 3 / 5; grid-column: 4; }
  .zp-item:nth-child(9) { grid-row: 4; grid-column: 1 / 3; }
  .zp-item:nth-child(10) { grid-row: 4; grid-column: 3; }
  .zp-item:nth-child(11) { grid-row: 5; grid-column: 1 / 3; }
  .zp-item:nth-child(12) { grid-row: 5; grid-column: 3; }
  .zp-item:nth-child(13) { grid-row: 6; grid-column: 1; }
  .zp-item:nth-child(14) { grid-row: 5 / 7; grid-column: 4; }
  .zp-item:nth-child(15) { grid-row: 6; grid-column: 2; }
  .zp-item:nth-child(16) { grid-row: 6; grid-column: 3; }
}
.zp-ui { position: absolute; z-index: 4; left: 0; right: 0; bottom: max(20px, env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; padding: 0 var(--gutter); }
.zp-cap { position: absolute; left: 50%; bottom: calc(100% + 10px); max-width: calc(100% - 32px); translate: -50% 0; margin: 0; padding: 10px 18px; border-radius: 999px; background: rgba(15, 27, 45, .72); color: var(--on-dark); font-size: 14px; white-space: nowrap; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.zp-cap:empty { display: none; }
.zp-focus .zp-cap { opacity: 1; transform: none; }
.zp-skip { min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--navy); font: 600 14px var(--sans); cursor: pointer; }
@media (max-width: 700px) { .zp-ui { gap: 8px; } .zp-cap { padding: 8px 14px; font-size: 13px; } .zp-all, .zp-skip { min-height: 42px; font-size: 13px; padding: 0 16px; } }
.zp-all { min-height: 46px; padding: 0 22px; font-size: 14px; box-shadow: 0 10px 30px -12px rgba(15, 27, 45, .5); }
.zp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.zp-grid figure { margin: 0; }
.zp-grid .ph { aspect-ratio: 4 / 3; }
@media (max-width: 640px) { .zp-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .zp-grid .ph .cap { font-size: 11.5px; left: 12px; right: 12px; bottom: 10px; } }
/* No JavaScript, or reduced motion: a plain photo grid instead of the zoom effect */
html:not(.js) .zp-grid { display: grid; }
html:not(.js) .zp-note { display: block; margin-top: 16px; }
@media (prefers-reduced-motion: reduce) {
  .js .zp { display: none; }
  .js .zp-grid { display: grid; }
  .js .zp-note { display: block; margin-top: 16px; }
}
.js .zp-sec { padding-bottom: clamp(40px, 6vw, 80px); }
@media (prefers-reduced-motion: reduce) { .js .zp-sec { padding-bottom: clamp(80px, 12vw, 168px); } }
