/* Compassionate Christian Counseling — site styles */

:root {
  --ivory: #faf7f2;
  --sand: #f2ece2;
  --white: #ffffff;
  --ink: #1f2a37;
  --ink-soft: #4a5565;
  --muted: #6b7482;
  --blue: #2f6fa3;
  --blue-deep: #1f4f86;
  --blue-tint: #e6f0f7;
  --gold: #c9964a;
  --gold-tint: #f6ecdb;
  --sage: #8fa89a;
  --sage-tint: #e9efeb;
  --line: #e4ddd1;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(31, 42, 55, .04), 0 8px 28px rgba(31, 42, 55, .07);
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  color: var(--ink);
  font-variation-settings: "SOFT" 60;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); color: var(--ink-soft); }
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--sand { background: var(--sand); }
.section--tint { background: var(--blue-tint); }
.center { text-align: center; }
.center .lead, .center.narrow { margin-left: auto; margin-right: auto; }
.section-head { max-width: 680px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 .98rem/1 var(--sans);
  padding: 1rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(47, 111, 163, .25); }
.btn--primary:hover { background: var(--blue-deep); color: #fff; }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn--light { background: #fff; color: var(--blue-deep); }
.btn--light:hover { background: var(--ivory); color: var(--blue-deep); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #b5833b; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row { justify-content: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 52px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-size: 1.3rem; letter-spacing: .01em; }
.brand-sub { font-size: .62rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--blue); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-size: .95rem; font-weight: 500; color: var(--ink-soft); text-decoration: none;
  padding: .5rem .8rem; border-radius: 999px; transition: color .2s, background .2s;
}
.nav a:hover { color: var(--ink); background: var(--sand); }
.nav a[aria-current="page"] { color: var(--blue-deep); background: var(--blue-tint); }
.nav .nav-give { color: var(--gold); }
.nav .btn { margin-left: 8px; padding: .8rem 1.25rem; font-size: .92rem; color: #fff; }
.nav .btn:hover { background: var(--blue-deep); color: #fff; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 78px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--ivory); padding: 12px var(--gutter) 28px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(31, 42, 55, .08);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: .9rem 1rem; font-size: 1.05rem; }
  .nav .btn { margin: 12px 0 0; padding: 1rem; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--blue); }
.hero .lead { max-width: 34ch; margin-bottom: 2rem; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius-lg); aspect-ratio: 4 / 4.4; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.hero-note {
  position: absolute; left: -28px; bottom: 32px; max-width: 250px;
  background: #fff; border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow);
  font-size: .92rem; line-height: 1.5; color: var(--ink-soft);
}
.hero-note strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--ink); }
.rays {
  position: absolute; z-index: 0; pointer-events: none; opacity: .07;
  width: min(900px, 120vw); right: -18%; top: -6%;
}
.hero > .wrap { position: relative; z-index: 1; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media img { aspect-ratio: 4 / 3; }
  .hero-note { left: 16px; bottom: -24px; }
  .hero { padding-bottom: 72px; }
}

/* Page hero (interior pages) */
.page-hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); text-align: center; }
.page-hero .lead { max-width: 640px; margin: 0 auto; }
.page-hero .rays { right: 50%; transform: translateX(50%); top: -40%; opacity: .06; }

/* Scripture */
.scripture { text-align: center; }
.scripture blockquote { margin: 0 auto; max-width: 860px; }
.scripture p {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.5rem, 3.2vw, 2.35rem); line-height: 1.4; color: var(--ink); margin-bottom: .8em;
}
.scripture cite { font-style: normal; font-size: .82rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.scripture .mark { width: 64px; margin: 0 auto 28px; opacity: .9; }

/* Image band with overlay */
.band { position: relative; color: #fff; overflow: hidden; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 34, 52, .55), rgba(20, 34, 52, .72)); }
.band .wrap { position: relative; z-index: 1; }
.band h2, .band p, .band cite { color: #fff; }
.band .scripture cite { color: var(--gold-tint); }

/* Cards */
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border-radius: var(--radius); padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .ref { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: .9rem; }
.card-img { margin: calc(-1 * clamp(24px, 3vw, 36px)) calc(-1 * clamp(24px, 3vw, 36px)) 24px; }
.card-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.card .more { margin-top: auto; padding-top: 18px; font-weight: 600; text-decoration: none; }
.card .more::after { content: " →"; }

.icon-dot {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue-tint); color: var(--blue); font-family: var(--serif); font-size: 1.3rem; margin-bottom: 18px;
}

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step-num {
  font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--blue); opacity: .35; margin-bottom: 12px; display: block;
}

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--rev .split-media { order: 2; }
.split-media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 5 / 4; object-fit: cover; box-shadow: var(--shadow); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--rev .split-media { order: 0; }
}

.checklist { list-style: none; padding: 0; margin: 0 0 1.6em; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: .7em; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--sage-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%235f7d6c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 4px 0 0; }
.chips li {
  font-size: .9rem; padding: .45rem .9rem; border-radius: 999px;
  background: var(--sage-tint); color: #3e5649;
}

/* Need rows on How We Help */
.need { display: grid; grid-template-columns: 340px 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--line); }
.need:first-of-type { border-top: 0; }
.need img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.need .num { font-family: var(--serif); color: var(--blue); font-size: 1rem; letter-spacing: .1em; }
@media (max-width: 760px) { .need { grid-template-columns: 1fr; } }

/* Services */
.service { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: grid; grid-template-columns: 300px 1fr; }
.service img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.service-body { padding: clamp(24px, 3vw, 40px); }
.service-body p:last-child { margin-bottom: 0; }
.service + .service { margin-top: 24px; }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; background: var(--gold-tint); color: #8a6326; margin-bottom: 12px; }
@media (max-width: 760px) { .service { grid-template-columns: 1fr; } .service img { aspect-ratio: 16 / 9; min-height: 0; } }

/* Pricing */
.price-card { text-align: center; align-items: center; }
.price { font-family: var(--serif); font-size: 3.2rem; line-height: 1; color: var(--ink); margin: 10px 0 6px; }
.price small { font-family: var(--sans); font-size: 1rem; color: var(--muted); }
.price-card--featured { background: var(--blue-deep); color: #e8eef5; }
.price-card--featured h3, .price-card--featured .price { color: #fff; }
.price-card--featured .price small { color: #b9cbe0; }
.price-card .muted { color: var(--muted); font-size: .95rem; }
.price-card--featured .muted { color: #c6d5e6; }

.embed-frame { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.embed-frame iframe { display: block; width: 100%; border: 0; }
.embed-fallback { text-align: center; font-size: .95rem; color: var(--muted); margin-top: 16px; }

.note-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.note { background: var(--white); border-radius: var(--radius); padding: 22px 24px; border: 1px solid var(--line); font-size: .97rem; }
.note strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.15rem; margin-bottom: 4px; }
.note p { margin: 0; color: var(--ink-soft); }
@media (max-width: 860px) { .note-row { grid-template-columns: 1fr; } }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.about-photo { position: sticky; top: 110px; }
.about-photo img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.about-photo figcaption { margin-top: 14px; font-size: .9rem; color: var(--muted); text-align: center; }
.mission { background: #fff; border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 24px 28px; box-shadow: var(--shadow); margin-bottom: 40px; }
.mission p { margin: 0; font-size: 1.1rem; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-photo { position: static; } }

/* FAQ */
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 20px; }
details.faq { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 14px; }
details.faq summary {
  list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; position: relative;
  font-family: var(--serif); font-size: 1.2rem; line-height: 1.35;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 26px; height: 26px; margin-top: -13px;
  border-radius: 50%; background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%232f6fa3' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M10 5v10M5 10h10'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .3s;
}
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .faq-body { padding: 0 26px 24px; color: var(--ink-soft); }
details.faq .faq-body p:last-child { margin-bottom: 0; }

/* Forms */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
label, legend { display: block; font-size: .92rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--ivory); border: 1.5px solid var(--line); border-radius: 12px; padding: .8rem 1rem;
  transition: border-color .2s, background .2s;
}
input:focus, textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
textarea { min-height: 150px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.radio-row { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-row label {
  display: flex; align-items: center; gap: 8px; font-weight: 500; margin: 0;
  padding: .6rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; background: var(--ivory);
}
.radio-row input { accent-color: var(--blue); }
.radio-row label:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 14px; font-weight: 500; }
.form-status.ok { color: #3e6b52; }
.form-status.err { color: #a2412f; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.contact-list .icon-dot { margin: 0; flex: none; width: 44px; height: 44px; }
.contact-list .icon-dot svg { width: 20px; height: 20px; }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--blue); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Give */
.give-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.give-placeholder { padding: clamp(32px, 5vw, 56px); text-align: center; }
.give-placeholder p { color: var(--ink-soft); }
.badge-501 { display: inline-flex; gap: 10px; align-items: center; background: var(--sage-tint); color: #3e5649; border-radius: 999px; padding: .5rem 1rem; font-size: .9rem; font-weight: 600; margin-bottom: 20px; }
@media (max-width: 900px) { .give-grid { grid-template-columns: 1fr; } }

/* CTA band */
.cta {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px);
  position: relative; overflow: hidden; text-align: center;
}
.cta h2, .cta p { color: #fff; }
.cta p { opacity: .88; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta .rays { opacity: .1; width: min(760px, 140%); right: 50%; transform: translateX(50%); top: 38%; }
.cta .rays path { fill: #fff; }
.cta > *:not(.rays) { position: relative; z-index: 1; }
.cta .btn-row { justify-content: center; margin-top: 28px; }
.cta .btn--ghost { color: #fff; }
.cta .btn--ghost:hover { background: #fff; color: var(--blue-deep); border-color: #fff; }

/* Footer */
.site-footer { background: #17212d; color: #b9c2cd; padding: 72px 0 32px; font-size: .95rem; margin-top: clamp(64px, 9vw, 120px); }
.site-footer a { color: #dfe5ec; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand-sub { color: #8db8dc; }
.footer-brand p { margin-top: 18px; max-width: 34ch; }
.site-footer h4 { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: #8b95a1; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .nav { transition: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* Keep long words (email addresses) from widening narrow layouts */
.contact-grid > *, .footer-grid > *, .give-grid > *, .about-grid > * { min-width: 0; }
.contact-list a, .site-footer a { overflow-wrap: break-word; }
.price-btn { margin-top: auto; }
.price-card p:not(.muted) { margin-bottom: 1.4em; }
.give-grid figure img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.field-hint { font-size: .9rem; color: var(--muted); margin: -6px 0 16px; }
