:root {
  --navy: #062d63;
  --navy-deep: #031d42;
  --gold: #cf9415;
  --gold-light: #f6d783;
  --cream: #fffaf0;
  --sky: #eaf4ff;
  --white: #ffffff;
  --ink: #142236;
  --muted: #5f6b7a;
  --line: #dbe2ea;
  --shadow: 0 24px 60px rgba(3, 29, 66, .14);
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Manrope, sans-serif; font-size: 16px; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--navy-deep); font-family: "Libre Baskerville", serif; line-height: 1.15; }
h1 { max-width: 780px; font-size: clamp(2.8rem, 7vw, 5.8rem); letter-spacing: -.05em; }
h2 { font-size: clamp(2rem, 4vw, 3.55rem); letter-spacing: -.035em; }
h3 { font-size: 1.25rem; }
p { margin: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--navy); color: white; padding: .8rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; z-index: 50; top: 0; display: flex; align-items: center; justify-content: space-between; min-height: 82px; padding: .7rem clamp(1rem, 4vw, 4.5rem); background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(6,45,99,.1); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: .75rem; color: var(--navy); text-decoration: none; }
.brand img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(207,148,21,.35); }
.brand span { display: flex; flex-direction: column; line-height: 1.15; }
.brand strong { font-family: "Libre Baskerville", serif; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; }
.brand small { margin-top: .2rem; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 2rem); }
nav a { color: var(--navy-deep); font-size: .92rem; font-weight: 700; text-decoration: none; }
nav a:hover, nav a:focus { color: var(--gold); }
.nav-contact { padding: .65rem 1rem; color: white; background: var(--navy); border-radius: 999px; }
nav .nav-contact:hover, nav .nav-contact:focus { color: white; background: var(--gold); }
.menu-button { display: none; padding: .55rem .85rem; color: var(--navy); background: white; border: 1px solid var(--navy); border-radius: 8px; font: inherit; font-weight: 700; }
.hero { position: relative; display: grid; align-items: center; min-height: calc(100vh - 82px); overflow: hidden; background: var(--navy-deep); isolation: isolate; }
.hero-backdrop { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(3,29,66,.98) 0%, rgba(3,29,66,.86) 40%, rgba(3,29,66,.16) 78%), url("assets/sonshine-home-hero.png") center/cover; }
.hero-backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,29,66,.6), transparent 45%); }
.hero-content { width: min(1220px, calc(100% - 2rem)); margin: auto; padding: 6rem 0; color: white; }
.hero h1 { color: white; }
.eyebrow { margin-bottom: .8rem; color: var(--gold); font-weight: 800; letter-spacing: .13em; text-transform: uppercase; font-size: .78rem; }
.hero .eyebrow { color: var(--gold-light); }
.hero-copy { max-width: 700px; margin-top: 1.5rem; color: #edf5ff; font-size: clamp(1.1rem, 2vw, 1.35rem); }
.hero-actions, .action-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .75rem 1.25rem; border: 0; border-radius: 999px; font: inherit; font-weight: 800; text-align: center; text-decoration: none; cursor: pointer; transition: .2s ease; }
.button:hover, .button:focus { transform: translateY(-2px); }
.button-primary { color: var(--navy-deep); background: var(--gold-light); box-shadow: 0 8px 24px rgba(207,148,21,.25); }
.button-primary:hover, .button-primary:focus { background: #ffe39b; }
.button-secondary { color: white; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.52); }
.button-outline { color: var(--navy); background: white; border: 1px solid var(--navy); }
.button-dark { color: white; background: var(--navy-deep); }
.housing-section, .services-section, .faq-section { padding: clamp(4rem, 8vw, 7.5rem) max(1rem, calc((100vw - 1220px) / 2)); }
.section-heading { max-width: 830px; margin-bottom: 2.4rem; }
.section-heading > p:last-child { margin-top: 1rem; color: var(--muted); font-size: 1.06rem; }
.housing-heading { display: flex; max-width: none; align-items: end; justify-content: space-between; gap: 2rem; }
.housing-heading > div { max-width: 820px; }
.verified-note { flex: 0 0 auto; padding: .55rem .85rem; color: var(--navy); background: var(--sky); border-radius: 999px; font-size: .82rem; font-weight: 800; }
.search-panel { display: grid; grid-template-columns: 1.5fr .8fr 1fr auto auto; align-items: end; gap: .8rem; padding: 1.2rem; background: var(--navy); border-radius: var(--radius); box-shadow: var(--shadow); }
.search-panel label { color: white; font-size: .76rem; font-weight: 800; letter-spacing: .04em; }
.search-panel input[type="search"], .search-panel select { width: 100%; height: 50px; margin-top: .35rem; padding: 0 .85rem; color: var(--ink); background: white; border: 1px solid transparent; border-radius: 10px; font: inherit; }
.availability-check { display: flex; min-height: 50px; align-items: center; gap: .55rem; white-space: nowrap; }
.availability-check input { width: 19px; height: 19px; accent-color: var(--gold); }
.results-bar { display: flex; align-items: center; justify-content: space-between; margin: 2.4rem 0 1rem; color: var(--navy); }
.text-button { color: var(--navy); background: none; border: 0; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.housing-results { display: grid; gap: 1rem; }
.empty-state { padding: clamp(2rem, 5vw, 4rem); text-align: center; background: linear-gradient(145deg, var(--cream), white); border: 1px solid #f1e4be; border-radius: var(--radius); }
.empty-state .empty-icon { display: grid; width: 58px; height: 58px; place-items: center; margin: 0 auto 1rem; color: var(--navy); background: var(--gold-light); border-radius: 50%; font-size: 1.6rem; }
.empty-state p { max-width: 650px; margin: .8rem auto 1.4rem; color: var(--muted); }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.provider-callout { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 1.2rem; padding: 1.6rem 2rem; color: white; background: var(--gold); border-radius: var(--radius); }
.provider-callout h3 { color: var(--navy-deep); }
.provider-callout .eyebrow { color: var(--navy-deep); }
.provider-callout p:last-child { margin-top: .4rem; color: #2b3540; }
.services-section { background: var(--sky); }
.centered { margin-right: auto; margin-left: auto; text-align: center; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.service-grid article { position: relative; min-height: 310px; padding: 2rem 1.5rem; overflow: hidden; background: white; border: 1px solid rgba(6,45,99,.08); border-radius: var(--radius); box-shadow: 0 14px 30px rgba(3,29,66,.06); }
.service-grid article > span { display: block; margin-bottom: 3rem; color: var(--gold); font-family: "Libre Baskerville", serif; font-size: 2.5rem; }
.service-grid p { margin-top: .8rem; color: var(--muted); }
.action-row { justify-content: center; }
.partnership-section { position: relative; display: grid; grid-template-columns: minmax(250px, .65fr) minmax(0, 1.35fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); overflow: hidden; padding: clamp(4rem, 8vw, 7.5rem) max(1rem, calc((100vw - 1220px) / 2)); color: white; background: var(--navy-deep); }
.partnership-section::after { content: ""; position: absolute; right: -10%; bottom: -70%; width: 520px; height: 520px; border: 1px solid rgba(246,215,131,.18); border-radius: 50%; box-shadow: 0 0 0 70px rgba(246,215,131,.04), 0 0 0 140px rgba(246,215,131,.03); pointer-events: none; }
.partnership-mark { position: relative; z-index: 1; display: grid; width: min(100%, 340px); aspect-ratio: 1; place-content: center; justify-items: center; margin: auto; color: var(--gold-light); border: 1px solid rgba(246,215,131,.55); border-radius: 50%; font-family: "Libre Baskerville", serif; text-transform: uppercase; letter-spacing: .16em; }
.partnership-mark::before, .partnership-mark::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.partnership-mark::after { inset: 38px; }
.partnership-mark strong { margin: .45rem 0; color: white; font-size: 2.4rem; font-weight: 400; line-height: 1; }
.partnership-copy { position: relative; z-index: 1; max-width: 720px; }
.partnership-copy h2 { color: white; }
.partnership-copy > p:not(.eyebrow) { margin: 1.2rem 0 2rem; color: #dbe8f6; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.banner-section { display: grid; grid-template-columns: minmax(260px, 380px) minmax(0, 1fr); align-items: center; justify-content: center; max-width: 1220px; margin: auto; padding: clamp(4rem, 8vw, 7.5rem) 1rem; gap: clamp(2rem, 6vw, 5rem); }
.banner-section > img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.ministry-photo { max-width: 380px; justify-self: center; aspect-ratio: 2 / 3; object-fit: cover; object-position: center top; }
.banner-copy > p:not(.eyebrow) { margin-top: 1.2rem; color: var(--muted); font-size: 1.06rem; }
blockquote { margin: 2rem 0 0; padding-left: 1.2rem; color: var(--navy); border-left: 4px solid var(--gold); font-family: "Libre Baskerville", serif; font-size: 1.1rem; }
cite { display: block; margin-top: .4rem; color: var(--muted); font-family: Manrope, sans-serif; font-size: .85rem; font-style: normal; }
.resources-section { background: var(--cream); }
.resource-card, .contact-card { padding: clamp(3rem, 7vw, 7rem) max(1rem, calc((100vw - 1220px) / 2)); }
.resource-card { background: var(--cream); }
.contact-card { color: white; background: var(--navy); }
.contact-card h2, .contact-card .eyebrow { color: white; }
.resource-card p:not(.eyebrow), .contact-card p:not(.eyebrow) { margin: 1rem 0 1.6rem; }
.book-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.book-card { display: flex; min-height: 280px; flex-direction: column; padding: 1.6rem; background: white; border: 1px solid rgba(6,45,99,.1); border-radius: var(--radius); box-shadow: 0 14px 30px rgba(3,29,66,.06); }
.book-card-featured { color: white; background: var(--navy-deep); }
.book-card > span { color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.book-card-featured > span { color: var(--gold-light); }
.book-card h3 { margin-top: 1rem; font-size: 1.35rem; }
.book-card-featured h3 { color: white; }
.book-card p { color: var(--muted); }
.book-card-featured p { color: #dbe8f6; }
.book-card a { margin-top: auto; color: var(--navy); font-weight: 800; }
.book-card-featured a { color: var(--gold-light); }
.resource-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.contact-card a { color: var(--gold-light); font-weight: 800; overflow-wrap: anywhere; }
.contact-disclosure { max-width: 620px; }
.contact-disclosure summary { display: inline-flex; min-height: 50px; align-items: center; padding: .75rem 1.25rem; color: var(--navy-deep); background: var(--gold-light); border-radius: 999px; font-weight: 800; cursor: pointer; list-style: none; }
.contact-disclosure summary::-webkit-details-marker { display: none; }
.contact-disclosure summary::after { content: "+"; margin-left: .65rem; font-size: 1.25rem; line-height: 1; }
.contact-disclosure[open] summary::after { content: "−"; }
.contact-options { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; margin-top: 1rem; padding: 1.2rem; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; }
.contact-options address { margin-top: .55rem; color: #dbe8f6; font-style: normal; }
.contact-options address strong { display: block; margin-bottom: .2rem; color: white; }
.faq-section { background: white; }
.faq-list { display: grid; max-width: 900px; gap: .85rem; margin: auto; }
.faq-list details { overflow: hidden; background: var(--cream); border: 1px solid #f1e4be; border-radius: 14px; }
.faq-list summary { position: relative; padding: 1.25rem 3.5rem 1.25rem 1.25rem; color: var(--navy-deep); font-family: "Libre Baskerville", serif; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; color: var(--gold); font-family: Manrope, sans-serif; font-size: 1.6rem; transform: translateY(-50%); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 1.25rem 1.25rem; color: var(--muted); }
footer { display: grid; grid-template-columns: 1fr auto; gap: 2rem; padding: 3rem max(1rem, calc((100vw - 1220px) / 2)); color: #d7e3f1; background: var(--navy-deep); }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { width: 66px; height: 66px; border-radius: 50%; }
.footer-brand strong { color: white; font-family: "Libre Baskerville", serif; }
.footer-brand p { margin-top: .25rem; font-size: .85rem; }
.footer-contact { position: relative; justify-self: end; }
.footer-contact summary { padding: .7rem 1.1rem; color: white; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; font-weight: 800; cursor: pointer; list-style: none; }
.footer-contact summary::-webkit-details-marker { display: none; }
.footer-contact summary::after { content: "+"; margin-left: .6rem; color: var(--gold-light); }
.footer-contact[open] summary::after { content: "−"; }
.footer-contact-details { display: flex; min-width: min(360px, calc(100vw - 2rem)); flex-direction: column; align-items: flex-end; gap: .55rem; margin-top: 1rem; padding: 1.2rem; color: #d7e3f1; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; text-align: right; }
.footer-contact-details a { color: var(--gold-light); font-weight: 800; overflow-wrap: anywhere; }
.footer-contact-details address { color: #d7e3f1; font-style: normal; }
.footer-contact-details address strong { display: block; color: white; }
.legal { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.15); font-size: .8rem; }
@media (max-width: 1000px) {
  .search-panel { grid-template-columns: 1fr 1fr; }
  .search-panel .button { align-self: end; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-grid article { min-height: 260px; }
  .book-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .menu-button { display: block; }
  nav { position: absolute; left: 1rem; right: 1rem; top: 74px; display: none; align-items: stretch; padding: 1rem; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
  nav.open { display: grid; }
  nav a { padding: .55rem; }
  .nav-contact { text-align: center; }
  .housing-heading { align-items: start; flex-direction: column; }
  .partnership-section, .banner-section { grid-template-columns: 1fr; }
  .partnership-mark { width: min(70vw, 280px); }
  .resource-card, .contact-card { padding: 4rem max(1rem, calc((100vw - 1220px) / 2)); }
}
@media (max-width: 620px) {
  .site-header { min-height: 72px; }
  .brand img { width: 50px; height: 50px; }
  .brand strong { font-size: .9rem; }
  .brand small { font-size: .6rem; }
  .hero { min-height: 720px; }
  .hero-backdrop { background-image: linear-gradient(90deg, rgba(3,29,66,.97), rgba(3,29,66,.58)), url("assets/sonshine-home-hero.png"); background-position: 67% center; }
  .search-panel, .service-grid, .book-grid { grid-template-columns: 1fr; }
  .availability-check { min-height: 38px; }
  .provider-callout { align-items: stretch; flex-direction: column; }
  .empty-actions, .resource-links { align-items: stretch; flex-direction: column; }
  .service-grid article { min-height: 0; }
  .service-grid article > span { margin-bottom: 1.4rem; }
  .ministry-photo { max-width: 340px; }
  footer { grid-template-columns: 1fr; }
  .footer-contact { justify-self: start; }
  .footer-contact-details { min-width: 0; align-items: flex-start; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }
