/* Project 432 — one stylesheet, no build step. */

@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: optional; src: url(fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: italic; font-display: optional; src: url(fonts/cormorant-garamond-latin-600-italic.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: optional; src: url(fonts/source-sans-3-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: optional; src: url(fonts/source-sans-3-latin-600-normal.woff2) format("woff2"); }

:root {
  --slate: #142029;      /* Atlantic night */
  --slate-2: #1d2d38;
  --stone: #eef0ec;      /* cool limestone */
  --paper: #f8f9f6;
  --ink: #16212a;
  --muted: #56626b;
  --sage: #4c6b55;       /* Kerry fields */
  --lamp: #e0a93e;       /* window light from the concept render */
  --line: #cfd5d1;
  --on-dark: #e9ece8;
  --on-dark-muted: #a9b4b9;
  --display: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: min(72rem, 100% - 2.5rem);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font: 400 1.0625rem/1.65 var(--sans); color: var(--ink); background: var(--paper); overflow-x: clip; /* guard: a stray wide element must never show a white strip on phones */ }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; font-variant-numeric: lining-nums; line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--sage); text-underline-offset: .2em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--lamp); outline-offset: 3px; border-radius: 2px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 99; padding: .6rem 1rem; background: var(--lamp); color: var(--slate); }
.skip:focus { top: 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Eyebrow: letter-spaced caps, echoing "FOUR THIRTY-TWO" in the wordmark */
.eyebrow { font: 600 .78rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--sage); margin-bottom: 1.1rem; }
.dark .eyebrow { color: var(--lamp); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 38rem; }
.dark .lede { color: var(--on-dark-muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: var(--radius); border: 1px solid transparent; font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-lamp { background: var(--lamp); color: var(--slate); }
.btn-lamp:hover { background: #ecbd5f; color: var(--slate); }
.btn-line { border-color: currentColor; color: inherit; background: none; }
.btn-line:hover { color: var(--lamp); }
.btn-wa { background: #18773f; color: #fff; }
.btn-wa:hover { background: #12602f; color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Sections */
section { padding-block: clamp(4.5rem, 10vw, 7.5rem); }
.dark { background: var(--slate); color: var(--on-dark); }
.dark a:not(.btn) { color: var(--lamp); }
.stone { background: var(--stone); }
.split { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; align-items: start; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(20 32 41 / .92); backdrop-filter: blur(10px); color: var(--on-dark); border-bottom: 1px solid rgb(255 255 255 / .08); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: inherit; text-decoration: none; margin-right: auto; min-width: 0; overflow: hidden; white-space: nowrap; }
.brand svg, .site-header .btn, .menu-btn { flex-shrink: 0; }
.brand svg { width: 2.3rem; height: auto; }
.brand b { display: block; font: 600 1.35rem/1 var(--display); letter-spacing: .22em; }
.brand small { display: block; font: 600 .56rem/1 var(--sans); letter-spacing: .26em; margin-top: .3rem; color: var(--on-dark-muted); }
.site-header .btn { padding: .6rem 1.1rem; }
#nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.6rem; }
#nav a { color: var(--on-dark); text-decoration: none; font-size: .95rem; }
#nav a:hover { color: var(--lamp); }
.menu-btn { display: none; background: none; border: 1px solid rgb(255 255 255 / .25); color: inherit; border-radius: var(--radius); padding: .5rem .7rem; font: inherit; cursor: pointer; }
@media (max-width: 899px) {
  .menu-btn { display: block; }
  .site-header .wrap { gap: .6rem; }
  #nav { margin: 4.25rem 0 0 auto; inset: 0 0 auto auto; width: min(18rem, 100vw); padding: 1.25rem 1.5rem; border: 0; background: var(--slate-2); color: var(--on-dark); box-shadow: 0 20px 40px rgb(0 0 0 / .35); }
  #nav ul { flex-direction: column; gap: 1rem; }
  #nav a { font-size: 1.15rem; }
}
@media (max-width: 479px) {
  .brand svg { width: 2rem; }
  .brand b { font-size: 1.1rem; letter-spacing: .18em; }
  .brand small { display: none; }
  .site-header .btn, .menu-btn { padding: .5rem .8rem; font-size: .95rem; }
}
@media (max-width: 359px) { .brand span { display: none; } }
@media (min-width: 900px) { #nav { display: block; position: static; inset: auto; margin: 0; padding: 0; border: 0; background: none; color: inherit; overflow: visible; } }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(4rem, 9vw, 7rem) clamp(3rem, 6vw, 4.5rem); }
.hero-bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .28; mix-blend-mode: luminosity; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(20 32 41 / .2), var(--slate) 92%); }
.hero h1 { font-size: clamp(2.9rem, 7.5vw, 6rem); line-height: .98; max-width: 13ch; color: #fff; }
.hero h1 em { font-style: italic; color: var(--lamp); }
.hero .lede { margin-bottom: 2rem; }
@media (min-width: 1000px) {
  .hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 4rem; align-items: start; }
  .hero .elevation { margin-top: .4rem; }
  .hero .bays { height: 20rem; }
}

/* Signature: the funding chart drawn as a building elevation.
   Column width = phase cost (fr), fill height = % raised, slanted roofs from the logo. */
.elevation { margin: clamp(3.5rem, 8vw, 5.5rem) 0 0; }
.dim { display: flex; align-items: center; gap: .75rem; font: 600 .78rem/1 var(--sans); letter-spacing: .16em; color: var(--on-dark-muted); margin-bottom: 1rem; }
.dim::before, .dim::after { content: ""; flex: 1; height: 7px; border: solid rgb(233 236 232 / .35); border-width: 0 1px; background: linear-gradient(rgb(233 236 232 / .35), rgb(233 236 232 / .35)) center / 100% 1px no-repeat; }
.bays { display: grid; grid-template-columns: 250fr 180fr 375fr 150fr 50fr; gap: 3px; align-items: end; height: clamp(9rem, 22vw, 15rem); border-bottom: 2px solid var(--on-dark); }
.bay { position: relative; height: var(--h); overflow: hidden; clip-path: var(--roof); background: repeating-linear-gradient(-45deg, rgb(233 236 232 / .16) 0 1px, transparent 1px 7px); box-shadow: inset 0 0 0 1px rgb(233 236 232 / .25); }
.bay i { position: absolute; inset: auto 0 0; height: calc(var(--p, 0) * 1%); background: var(--lamp); transform-origin: bottom; }
.bay[data-status="completed"] i { background: var(--on-dark); }
.bay:nth-child(1) { --h: 62%; --roof: polygon(0 18%, 100% 0, 100% 100%, 0 100%); }
.bay:nth-child(2) { --h: 78%; --roof: polygon(0 10%, 100% 0, 100% 100%, 0 100%); }
.bay:nth-child(3) { --h: 100%; --roof: polygon(0 0, 100% 16%, 100% 100%, 0 100%); }
.bay:nth-child(4) { --h: 70%; --roof: polygon(0 0, 100% 22%, 100% 100%, 0 100%); }
.bay:nth-child(5) { --h: 48%; --roof: polygon(0 0, 100% 30%, 100% 100%, 0 100%); }
@media (prefers-reduced-motion: no-preference) { .bay i { animation: rise 1.6s cubic-bezier(.2, .7, .2, 1) both; } .bay:nth-child(2) i { animation-delay: .35s; } }
@keyframes rise { from { transform: scaleY(0); } }
.bay-labels { display: grid; grid-template-columns: 250fr 180fr 375fr 150fr 50fr; gap: 3px; margin-top: .6rem; font-size: .8rem; color: var(--on-dark-muted); }
.bay-labels span { overflow: hidden; white-space: nowrap; }
@media (max-width: 699px) { .bay-labels em { display: none; } }
.legend { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin-top: 1.5rem; font-size: .95rem; color: var(--on-dark-muted); }
.legend b { color: var(--on-dark); font-weight: 600; }
.key { display: inline-block; width: .8rem; height: .8rem; margin-right: .45rem; vertical-align: -1px; }
.key-built { background: var(--on-dark); }
.key-raised { background: var(--lamp); }
.key-unbuilt { background: repeating-linear-gradient(-45deg, rgb(233 236 232 / .45) 0 1px, transparent 1px 4px); box-shadow: inset 0 0 0 1px rgb(233 236 232 / .4); }

/* The need */
.need h2 span { color: var(--sage); }
.need blockquote { margin: 2rem 0 0; padding-left: 1.25rem; border-left: 3px solid var(--lamp); font: italic 600 1.6rem/1.3 var(--display); }
.need blockquote footer { font: 400 .95rem var(--sans); color: var(--muted); margin-top: .5rem; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
caption { text-align: left; font: 600 .78rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-bottom: .9rem; }
th, td { padding: .7rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
td { text-align: right; }
tfoot th, tfoot td { font-weight: 600; border-bottom: 0; color: var(--sage); }
.note { font-size: .95rem; color: var(--muted); margin-top: 1rem; }

/* The plan */
.phases { list-style: none; margin: 2.5rem 0 0; padding: 0; counter-reset: phase; }
.phase { position: relative; padding: 1.5rem 0 1.5rem 3.75rem; border-top: 1px solid var(--line); }
.phase::before { counter-increment: phase; content: counter(phase); font-variant-numeric: lining-nums; position: absolute; left: 0; top: 1.25rem; font: 600 2.4rem/1 var(--display); color: var(--line); }
.phase[data-status="completed"]::before { color: var(--sage); }
.phase[data-status="active"]::before { color: var(--lamp); }
.phase h3 { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; font-size: 1.5rem; margin-bottom: .35rem; }
.phase h3 small { font: 600 1rem/1.6 var(--sans); font-variant-numeric: tabular-nums; color: var(--muted); }
.phase p { color: var(--muted); margin: 0; }
.status { display: inline-block; margin-top: .6rem; font: 600 .75rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.phase[data-status="completed"] .status { color: var(--sage); }
.phase[data-status="active"] .status { color: #8a6418; }
.bar { height: 6px; margin-top: .75rem; max-width: 22rem; background: var(--stone); border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; width: calc(var(--p, 0) * 1%); background: var(--lamp); }
.plan-aside { position: sticky; top: 6rem; }
.plan-aside figure { margin: 0; }
.plan-aside img { border-radius: var(--radius); mix-blend-mode: multiply; }
.plan-aside figcaption, .plans figcaption { font-size: .9rem; color: var(--muted); margin-top: .75rem; }
.total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 2px solid var(--ink); }
.total strong { font: 600 2.2rem/1 var(--display); font-variant-numeric: lining-nums; }
.total span { color: var(--muted); }

/* Concept drawings: native scroll-snap strip */
.plans .strip { display: grid; grid-auto-flow: column; grid-auto-columns: min(85%, 34rem); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; margin-top: 2.5rem; }
.plans figure { margin: 0; scroll-snap-align: start; }
.plans figure a { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }

/* Give */
.give-head { display: grid; gap: 2.5rem; margin-bottom: 3rem; }
@media (min-width: 900px) { .give-head { grid-template-columns: 3fr 2fr; align-items: end; } }
.give ul { padding-left: 1.1rem; margin: 0; }
.give li::marker { color: var(--lamp); }
.goal { border: 1px solid rgb(233 236 232 / .2); border-radius: var(--radius); padding: 1.5rem; }
.goal-amounts { font-variant-numeric: lining-nums; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font: 600 1.6rem/1.2 var(--display); }
.goal-amounts span + span { color: var(--on-dark-muted); }
.goal .bar { background: rgb(233 236 232 / .15); max-width: none; height: 8px; margin: 1rem 0 .5rem; }
.goal p { margin: 0; color: var(--on-dark-muted); }
.goal p b { color: var(--lamp); font-size: 1.25rem; }
.cards { display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { background: var(--slate-2); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); }
.card h3 { color: #fff; }
.card .sub { color: var(--on-dark-muted); }
.copy-row { margin-bottom: 1rem; }
.copy-row dt { font-size: .85rem; color: var(--on-dark-muted); margin-bottom: .35rem; }
.copy-row dd { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: .5rem; align-items: center; }
.copy-row code { font: 1.05rem/1.4 var(--mono); padding: .65rem .85rem; background: var(--slate); border-radius: var(--radius); overflow-wrap: anywhere; }
.copy-row button { font: 600 .85rem var(--sans); padding: .65rem .9rem; background: none; color: var(--on-dark); border: 1px solid rgb(233 236 232 / .3); border-radius: var(--radius); cursor: pointer; }
.copy-row button:hover { border-color: var(--lamp); color: var(--lamp); }
.ref { font-size: .95rem; border-left: 3px solid var(--lamp); padding-left: .9rem; color: var(--on-dark-muted); }
.help { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.help p { margin: 0; color: var(--on-dark-muted); }

/* Voices */
.voices blockquote { margin: 0; }
.featured { font: italic 600 clamp(1.7rem, 3.4vw, 2.6rem)/1.25 var(--display); max-width: 48rem; }
.voices cite { display: block; font: 400 1rem var(--sans); color: var(--muted); margin-top: 1rem; }
.quotes { display: grid; gap: 2rem; margin-top: 3.5rem; }
@media (min-width: 800px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quotes blockquote { border-top: 1px solid var(--line); padding-top: 1.25rem; color: var(--muted); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: 2.5rem; }
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 13rem; } .gallery .tall { grid-row: span 2; } .gallery .wide { grid-column: span 2; } }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; min-height: 9rem; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; inset: auto 0 0; padding: 1.5rem .9rem .7rem; font-size: .9rem; color: #fff; background: linear-gradient(transparent, rgb(20 32 41 / .75)); }

/* FAQ: native <details> */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0; position: relative; font: 600 1.45rem/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 1.1rem; font: 400 1.6rem/1 var(--sans); color: var(--sage); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); max-width: 44rem; padding-bottom: 1.25rem; margin: 0; }

/* Prayer + contact */
.prayer dl { margin: 2rem 0 0; }
.prayer dt { font: 600 1.35rem/1.3 var(--display); margin-top: 1.5rem; }
.prayer dd { margin: .25rem 0 0; color: var(--muted); }
address { font-style: normal; white-space: pre-line; color: var(--muted); margin-bottom: 1.5rem; }
form { display: grid; gap: 1rem; margin-top: 1.5rem; }
label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
input, textarea { font: inherit; font-weight: 400; padding: .75rem .85rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); }
input:focus-visible, textarea:focus-visible { outline: 2px solid var(--sage); outline-offset: 0; border-color: var(--sage); }
textarea { min-height: 9rem; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .9rem; color: var(--muted); }
.form-status:empty { display: none; }
.form-status { padding: .75rem 1rem; border-radius: var(--radius); background: var(--stone); }
form .btn { justify-self: start; }

/* Footer */
.site-footer { padding-block: clamp(4rem, 8vw, 6rem) 2rem; }
.site-footer .cta { display: grid; gap: 1.5rem; padding-bottom: 3.5rem; border-bottom: 1px solid rgb(255 255 255 / .1); }
@media (min-width: 900px) { .site-footer .cta { grid-template-columns: 1fr auto; align-items: center; } }
.site-footer h2 { color: #fff; margin: 0 0 .5rem; }
.site-footer .cta p { margin: 0; color: var(--on-dark-muted); }
.meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 2rem; font-size: .9rem; color: var(--on-dark-muted); }
.meta p { margin: 0; }

.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: #18773f; color: #fff; box-shadow: 0 8px 24px rgb(0 0 0 / .25); }
.wa-float:hover { background: #12602f; color: #fff; }

/* Simple text pages (privacy, 404) */
.page { padding-block: 4rem 6rem; }
.page .wrap { max-width: 46rem; }
.page h1 { font-size: clamp(2.5rem, 6vw, 3.75rem); }
.page h2 { font-size: 1.75rem; margin-top: 2.5rem; }
.page li { margin-bottom: .75rem; }
