/* Via Dolorosa Recovery
   Layout: left-aligned, one 1180px column; a sunset-orange hero with topo contours and a ridge silhouette
   (the only bold moment), then quiet alternating paper and mist bands. */
:root {
  --ridge: #B83F0D;       /* sunset orange over the Cumberland ridges */
  --ridge-deep: #7C2D12;  /* dusk */
  --ridge-soft: #9A3412;
  --mist: #FFF4EC;        /* warm evening light */
  --paper: #FFFFFF;
  --ink: #26150E;
  --stone: #5C4A40;       /* secondary text, 8:1 on paper */
  --line: #F0D5C3;
  --dawn: #FCC24A;        /* sun gold from the logo */
  --dawn-ink: #7A4C0C;    /* amber that reads as text on light */
  --on-ridge: #FFF7F0;
  --on-ridge-2: #FFEADF;
  --focus: #F2C46B;
  --ff-display: "Young Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --ff-body: "Libre Franklin", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --step--1: .9rem;
  --step-0: 1.125rem;
  --step-1: 1.35rem;
  --step-2: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem);
  --step-3: clamp(2.1rem, 1.4rem + 2.8vw, 3.4rem);
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--ff-body); font-size: var(--step-0); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ridge); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--ff-display); font-weight: 400; line-height: 1.15; text-wrap: balance; margin: 0 0 .6em; letter-spacing: -.005em; }
h1 { font-size: var(--step-3); }
h2 { font-size: var(--step-2); }
h3, .h3 { font-size: var(--step-1); font-family: var(--ff-display); font-weight: 400; line-height: 1.2; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: var(--gutter); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 820px; }
.small { font-size: var(--step--1); color: var(--stone); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.hp { position: absolute !important; left: -5000px; width: 1px; height: 1px; opacity: 0; }

/* buttons */
.btn { font-variant-numeric: lining-nums; display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 48px; padding: .7em 1.25em; border-radius: 6px; font: 700 1rem/1.2 var(--ff-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-dawn { background: var(--dawn); color: var(--ink); }
.btn-dawn:hover { background: #FDD06E; }
.btn-ridge { background: var(--ridge); color: var(--on-ridge); }
.btn-ridge:hover { background: var(--ridge-soft); }
.btn-line { border-color: var(--ridge); color: var(--ridge); background: transparent; }
.btn-line:hover { background: var(--mist); }
.btn-line-light { border-color: var(--on-ridge-2); color: var(--on-ridge); }
.btn-line-light:hover { background: var(--ridge-soft); }
.more { font-weight: 700; }
.more-light { color: var(--on-ridge); }

/* header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--paper); }
.head-row { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-logo { width: auto; height: 40px; }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 50% 70%, var(--dawn) 0 34%, var(--ridge) 35%); }
.brand-name { font-family: var(--ff-display); font-size: 1.2rem; line-height: 1.05; }
.brand-name span { display: block; font-family: var(--ff-body); font-size: .72rem; letter-spacing: .14em; font-weight: 600; color: var(--stone); }
.nav { margin-left: auto; }
.nav-list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-list a { display: block; white-space: nowrap; padding: 10px 9px; text-decoration: none; color: var(--ink); font-size: .98rem; font-weight: 600; border-radius: 4px; }
.nav-list a:hover { background: var(--mist); }
.nav-list a[aria-current="page"] { color: var(--ridge); box-shadow: inset 0 -3px 0 var(--dawn); border-radius: 0; }
.nav-cta a { color: var(--ridge); }
.menu-btn { display: none; }
.head-call { padding: .55em 1em; font-size: .95rem; white-space: nowrap; flex-shrink: 0; }
.hc-n { font-variant-numeric: lining-nums proportional-nums; }
@media (max-width: 1380px) { .hc-l { display: none; } }
@media (max-width: 1160px) {
  .menu-btn { display: inline-flex; min-height: 44px; padding: 0 14px; border: 2px solid var(--ridge); border-radius: 6px; background: var(--paper); color: var(--ridge); font: 700 1rem var(--ff-body); align-items: center; cursor: pointer; }
  .nav { order: 3; margin-left: 0; }
  .head-call { margin-left: auto; }
  .nav-list { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px var(--gutter); box-shadow: 0 12px 24px rgba(60, 22, 6, .14); }
  .nav-list.open { display: flex; }
  .nav-list a { padding: 12px 8px; font-size: 1.1rem; }
  .nav-list a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--dawn); }
}
@media (max-width: 520px) {
  .brand-name { display: none; }
  .head-row { gap: 10px; }
  .head-call { font-size: .9rem; padding: .5em .8em; }
}
@media (max-width: 360px) {
  .brand-logo { height: 32px; }
  .head-row { gap: 8px; }
  .head-call { font-size: .85rem; padding: .5em .6em; }
  .menu-btn { padding: 0 10px; }
}

/* hero */
.hero { position: relative; background: var(--ridge) url(img/contours.svg) center / cover no-repeat; color: var(--on-ridge); padding-block: 56px 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-bottom: 96px; }
.hero-copy { min-width: 0; }
.hero-place { font-weight: 700; color: var(--on-ridge); margin-bottom: .7em; }
.hero h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.75rem); line-height: 1.06; }
.lede { font-size: var(--step-1); line-height: 1.5; max-width: 60ch; }
.hero .lede { color: var(--on-ridge); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 1.2em; }
.hero-ins { color: var(--on-ridge-2); font-size: var(--step--1); max-width: 52ch; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; border-radius: 4px; box-shadow: 14px 14px 0 var(--dawn); }
.ridge-line { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; fill: var(--paper); }
.hero + .band-mist { margin-top: 0; }
.hero:has(+ .band-mist) .ridge-line { fill: var(--mist); }
@media (max-width: 860px) {
  .hero { padding-top: 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 80px; }
  .hero-photo img { box-shadow: 8px 8px 0 var(--dawn); }
}

/* inner page head */
.page-head { background: var(--mist); padding-block: 40px 48px; border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 22ch; }
.crumbs { font-size: var(--step--1); color: var(--stone); }
.crumbs a { color: var(--stone); }

/* bands */
.band { padding-block: 72px; background: var(--paper); }
.band-mist { background: var(--mist); }
.band-ridge { background: var(--ridge); color: var(--on-ridge); }
.band-ridge a { color: var(--on-ridge); }
@media (max-width: 700px) { .band { padding-block: 52px; } }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 1.2em; }
.sec-head h2 { margin: 0; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.split-h p { color: var(--stone); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* services list: rules, not cards */
.svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.svc li { border-top: 3px solid var(--ridge); padding-top: 14px; min-width: 0; }
.svc h3 { margin-bottom: .35em; }
.svc p { color: var(--stone); font-size: 1.04rem; }
@media (max-width: 600px) { .svc { grid-template-columns: 1fr; } }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%; background: var(--ridge); }
.checks li::after { content: ""; position: absolute; left: 6px; top: calc(.32em + 5px); width: 8px; height: 5px; border-left: 2px solid var(--dawn); border-bottom: 2px solid var(--dawn); transform: rotate(-45deg); }

/* programs */
.programs { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.prog { display: block; text-decoration: none; color: var(--ink); }
.prog img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; margin-bottom: 18px; }
.prog h3 { text-decoration: underline; text-decoration-color: var(--dawn); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.prog p { color: var(--stone); }
.prog:hover h3 { color: var(--ridge); }
@media (max-width: 720px) { .programs { grid-template-columns: 1fr; } }

.lived { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.lived-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.pull { font-family: var(--ff-display); font-size: var(--step-1); color: var(--ridge); border-left: 4px solid var(--dawn); padding-left: 16px; margin: 1.2em 0; }
@media (max-width: 860px) { .lived { grid-template-columns: 1fr; gap: 28px; } }

.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.cols3 p, .cols2 p { color: var(--stone); }
@media (max-width: 860px) { .cols2, .cols3 { grid-template-columns: 1fr; gap: 28px; } }
.band > .wrap.cols3 { align-items: start; }
.band > .wrap > h2 + .cols3 { margin-top: 8px; }

/* admission steps: a real sequence, drawn as a trail */
.trail { list-style: none; margin: 1.4em 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: step; position: relative; }
.trail::before { content: ""; position: absolute; top: 22px; left: 22px; right: 16%; border-top: 3px dashed var(--dawn); }
.trail li { position: relative; counter-increment: step; padding-top: 62px; min-width: 0; }
.trail h3 { margin-bottom: .4em; }
.trail li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ridge); color: var(--on-ridge); font: 700 1.1rem/1 var(--ff-body); font-variant-numeric: tabular-nums; box-shadow: 0 0 0 6px var(--paper); }
.band-mist .trail li::before { box-shadow: 0 0 0 6px var(--mist); }
.trail p { color: var(--stone); }
@media (max-width: 760px) {
  .trail { grid-template-columns: 1fr; gap: 28px; }
  .trail::before { top: 22px; bottom: 30px; left: 22px; right: auto; border-top: 0; border-left: 3px dashed var(--dawn); }
  .trail li { padding: 10px 0 0 66px; }
}

/* quotes */
.stories h2 { color: var(--on-ridge); }
.quotes { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 28px 48px; margin-bottom: 28px; }
.q { margin: 0; }
.q blockquote { margin: 0; }
.q p { font-family: var(--ff-display); font-size: 1.2rem; line-height: 1.5; }
.q figcaption { margin-top: 1.1em; font-size: var(--step--1); color: var(--on-ridge-2); }
.q-big { grid-row: span 2; }
.q-big p { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.4; }
.q-big p::before { content: "\201C"; display: block; height: .42em; margin-bottom: .3em; font-size: 3.4rem; line-height: 1; color: var(--dawn); }
.quotes .q:not(.q-big) { border-top: 1px solid var(--ridge-soft); padding-top: 18px; }
@media (max-width: 800px) { .quotes { grid-template-columns: 1fr; } .q-big { grid-row: auto; } }
.tgrid { columns: 2 340px; column-gap: 40px; }
.q-card { break-inside: avoid; border-left: 4px solid var(--dawn); padding: 4px 0 4px 20px; margin: 0 0 36px; }
.q-card figcaption { color: var(--stone); }

/* mosaic + gallery */
.mosaic { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.m-a { grid-row: span 2; aspect-ratio: 4 / 3; }
.m-b, .m-c { aspect-ratio: 3 / 2; }
@media (max-width: 640px) { .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; } .m-a { grid-column: span 2; grid-row: auto; } }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.g-item { margin: 0; }
.g-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 4px; overflow: hidden; }
.g-open img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .3s ease; }
.g-open:hover img { transform: scale(1.03); }
.g-item figcaption { font-size: var(--step--1); color: var(--stone); margin-top: 8px; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(38, 14, 4, .9); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 4px; }
.lb-cap { color: var(--on-ridge); text-align: center; margin-top: 10px; }
.lb-close { display: block; margin: 0 0 10px auto; min-height: 44px; padding: 0 16px; border: 2px solid var(--on-ridge); background: transparent; color: var(--on-ridge); border-radius: 6px; font: 700 1rem var(--ff-body); cursor: pointer; }

/* faq */
.faq { border-bottom: 1px solid var(--line); }
.faq:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 700; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font: 400 1.7rem/1.2 var(--ff-display); color: var(--ridge); }
.faq[open] summary::after { content: "\2212"; }
.faq p { padding-bottom: 18px; color: var(--stone); max-width: 68ch; }

/* cta band */
.cta { padding-block: 56px; }
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-row > div:first-child { max-width: 62ch; }
.cta-h { color: var(--on-ridge); }
.cta p { color: var(--on-ridge-2); }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn-line { border-color: var(--on-ridge-2); color: var(--on-ridge); }
.cta .btn-line:hover { background: var(--ridge-soft); }

/* contact + form */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.tel-line { display: grid; gap: 2px; }
.tel-label { font-size: var(--step--1); color: var(--stone); font-weight: 600; }
.big-tel { font: 700 clamp(1.5rem, 1.2rem + 1vw, 1.9rem)/1.2 var(--ff-body); font-variant-numeric: lining-nums; letter-spacing: -.01em; white-space: nowrap; text-decoration: none; color: var(--ridge); justify-self: start; }
.big-tel:hover { text-decoration: underline; }
.inq { background: var(--mist); border: 1px solid var(--line); border-radius: 6px; padding: 28px; display: grid; gap: 16px; }
.band-mist .inq { background: var(--paper); }
.inq-h { margin: 0; font-size: var(--step-1); }
.inq-note { font-size: var(--step--1); color: var(--stone); margin: 0; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .f-row { grid-template-columns: 1fr; } .inq { padding: 20px; } }
.f { display: grid; gap: 6px; min-width: 0; }
.f label { font-weight: 600; font-size: 1rem; }
.opt { font-weight: 400; color: var(--stone); }
.f input, .f select, .f textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid #A88878; border-radius: 6px; font: 400 1.05rem var(--ff-body); color: var(--ink); background: var(--paper); }
.f textarea { min-height: 96px; resize: vertical; }
.f [aria-invalid="true"] { border-color: #B3261E; box-shadow: 0 0 0 1px #B3261E; }
.f-status { margin: 0; font-weight: 600; }
.f-status.err { color: #B3261E; }
.inq .btn { justify-self: start; }
.inq-done { background: var(--paper); border-left: 4px solid var(--dawn); padding: 20px; border-radius: 4px; }
.crisis-box { margin-top: 24px; padding: 16px 18px; border: 1px solid var(--line); border-left: 4px solid var(--ridge); border-radius: 4px; font-size: 1rem; }

/* team */
.team { display: grid; gap: 48px; }
.person { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: start; max-width: 900px; }
.person img, .mono { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; }
.mono { display: grid; place-items: center; background: var(--ridge); color: var(--dawn); font: 400 3.4rem/1 var(--ff-display); }
.person h2 { margin-bottom: .1em; }
.role { color: var(--dawn-ink); font-weight: 700; margin-bottom: .8em; }
.person p:not(.role) { color: var(--stone); }
@media (max-width: 640px) { .person { grid-template-columns: 1fr; gap: 16px; } .person img, .mono { width: 140px; height: 140px; } .mono { font-size: 2.6rem; } }

/* prose, news */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose .checks { margin-bottom: 1em; }
.sources { font-size: var(--step--1); color: var(--stone); padding-left: 1.2em; }
.sources li { margin-bottom: .5em; }
sup a { text-decoration: none; font-weight: 700; padding: 0 2px; }
.post { border-bottom: 1px solid var(--line); padding-bottom: 40px; margin-bottom: 40px; }
.post:last-child { border-bottom: 0; margin-bottom: 0; }
.post-date { color: var(--dawn-ink); font-weight: 700; font-size: var(--step--1); margin-bottom: .4em; }
.post-img img { max-width: 340px; border-radius: 4px; margin-top: 8px; }
.needs { background: #FFF6D6; border: 2px dashed #C99A1E; border-radius: 6px; padding: 20px 22px; color: #4A3A08; }
.needs-h { font-weight: 700; }
.needs ul { margin: .5em 0 0; padding-left: 1.2em; }

/* footer */
.site-foot { background: var(--ridge-deep); color: var(--on-ridge-2); padding-block: 56px 96px; font-size: 1rem; }
.site-foot a { color: var(--on-ridge); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-name { font-family: var(--ff-display); font-size: 1.4rem; color: var(--on-ridge); margin-bottom: .4em; }
.foot-motto { color: var(--dawn); }
.foot-h { font: 700 1rem var(--ff-body); color: var(--on-ridge); margin-bottom: .6em; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.crisis { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--ridge-soft); }
.crisis p { max-width: 80ch; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 24px; font-size: var(--step--1); }
.foot-base a { margin-left: 14px; }
.foot-base a:first-child { margin-left: 0; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* mobile call bar */
.call-bar { display: none; }
@media (max-width: 760px) {
  .call-bar { display: grid; grid-template-columns: 2fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--ridge-deep); padding: 8px max(10px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px)); gap: 8px; box-shadow: 0 -6px 18px rgba(0, 0, 0, .18); }
  .call-bar a { display: grid; place-items: center; min-height: 48px; border-radius: 6px; font-weight: 700; text-decoration: none; }
  .call-bar a:first-child { background: var(--dawn); color: var(--ink); }
  .call-bar a:last-child { border: 2px solid var(--on-ridge-2); color: var(--on-ridge); }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

a[href^="tel:"] { white-space: nowrap; }
