/*
Theme Name: Choice Driven Home
Theme URI: https://example.org/
Author: Choice Driven Ministry
Author URI: https://example.org/
Description: Lightweight WordPress theme providing a focused, pilot-phase homepage for a child-centered coordinated access model in Charles County, MD.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: choice-driven-home
Tags: one-column, custom-logo, accessibility-ready, responsive-layout
*/

:root {
  --maxw: 1100px;
  --pad: 1.25rem;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(0,0,0,.08);
  --text: #111827;
  --muted: #4b5563;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg2: #f9fafb;
  --accent: #0f766e;
  --accent2: #0b5e58;
}

*{box-sizing:border-box}
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.55;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

.cdh-container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.cdh-skip {
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.cdh-skip:focus {
  left: var(--pad); top: var(--pad);
  width:auto; height:auto; padding:.5rem .75rem;
  background:#000; color:#fff; border-radius: 8px; z-index: 9999;
}

.cdh-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
}
.cdh-header__inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: .85rem 0;
  gap: 1rem;
}
.cdh-brand {
  display:flex;
  align-items:center;
  gap:.75rem;
  min-width: 220px;
}
.cdh-brand__mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #1d4ed8);
  box-shadow: var(--shadow);
}
.cdh-brand__name {
  font-weight: 750;
  letter-spacing: .2px;
}
.cdh-nav {
  display:flex;
  gap: 1rem;
  align-items:center;
  flex-wrap: wrap;
  justify-content:flex-end;
}
.cdh-nav a {
  color: var(--text);
  font-weight: 600;
  font-size: .95rem;
  padding: .4rem .55rem;
  border-radius: 10px;
}
.cdh-nav a:hover {
  background: var(--bg2);
  text-decoration:none;
}

.cdh-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: .72rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-weight: 700;
  text-decoration:none;
  gap:.5rem;
}
.cdh-btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.cdh-btn--primary:hover {
  background: var(--accent2);
  border-color: var(--accent2);
  text-decoration:none;
}
.cdh-btn--ghost {
  background: #fff;
}
.cdh-btn--ghost:hover {
  background: var(--bg2);
  text-decoration:none;
}

.cdh-hero {
  padding: 3rem 0 2.25rem;
  background: radial-gradient(1200px 500px at 30% 0%, rgba(15,118,110,.12), transparent 60%),
              radial-gradient(900px 500px at 85% 20%, rgba(29,78,216,.10), transparent 55%),
              var(--bg);
}
.cdh-hero__grid {
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  align-items:start;
}
.cdh-kicker {
  display:inline-flex;
  gap:.5rem;
  align-items:center;
  border:1px solid var(--line);
  background:#fff;
  border-radius: 999px;
  padding: .35rem .65rem;
  font-weight:700;
  font-size:.9rem;
  width: fit-content;
}
.cdh-dot {
  width:10px;height:10px;border-radius:999px;background: var(--accent);
}
.cdh-h1 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height:1.1;
  margin: .9rem 0 .8rem;
  letter-spacing:-.6px;
}
.cdh-lead {
  font-size: 1.08rem;
  color: var(--muted);
  margin: 0 0 1.15rem;
}
.cdh-cta {
  display:flex;
  gap:.75rem;
  flex-wrap:wrap;
  margin-top: 1rem;
}
.cdh-card {
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cdh-side {
  padding: 1.25rem;
}
.cdh-side h3 {
  margin:0 0 .35rem;
  font-size:1.05rem;
}
.cdh-side p {
  margin: 0 0 .85rem;
  color: var(--muted);
}
.cdh-bullets {
  margin: .25rem 0 0;
  padding-left: 1.1rem;
  color: var(--text);
}
.cdh-bullets li {
  margin: .4rem 0;
}
.cdh-banner {
  margin-top: 1rem;
  padding: .8rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(15,118,110,.25);
  background: rgba(15,118,110,.08);
  color: #064e3b;
  font-weight: 700;
}

.cdh-section {
  padding: 2.4rem 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.cdh-section--alt {
  background: var(--bg2);
}
.cdh-h2 {
  font-size: 1.6rem;
  margin: 0 0 .6rem;
  letter-spacing: -.3px;
}
.cdh-sub {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 70ch;
}
.cdh-grid3 {
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.cdh-panel {
  padding: 1.15rem;
}
.cdh-panel h3 {
  margin:.2rem 0 .4rem;
  font-size: 1.08rem;
}
.cdh-panel p {
  margin:0;
  color: var(--muted);
}
.cdh-small {
  font-size:.95rem;
  color: var(--muted);
}

.cdh-list {
  margin: .3rem 0 0;
  padding-left: 1.1rem;
}
.cdh-list li {
  margin: .45rem 0;
}

.cdh-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0;
  background: #fff;
}
.cdh-footer__grid {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.cdh-footnote {
  color: var(--muted);
  font-size: .92rem;
}
.cdh-pill {
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding: .35rem .6rem;
  border-radius: 999px;
  border:1px solid var(--line);
  background: #fff;
  font-weight: 700;
  font-size: .9rem;
}

@media (max-width: 900px) {
  .cdh-hero__grid { grid-template-columns: 1fr; }
  .cdh-footer__grid { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .cdh-grid3 { grid-template-columns: 1fr; }
  .cdh-nav { gap: .25rem; }
}


/* Contact forms */
.cdh-form label { display:block; font-weight:700; margin:.65rem 0 .25rem; }
.cdh-form input[type="text"],
.cdh-form input[type="email"],
.cdh-form textarea {
  width:100%;
  padding:.7rem .8rem;
  border:1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  background:#fff;
}
.cdh-form textarea { min-height: 140px; resize: vertical; }
.cdh-form .cdh-row { display:grid; grid-template-columns: 1fr 1fr; gap:.75rem; }
.cdh-form .cdh-hp { position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }
.cdh-form .cdh-check { display:flex; gap:.5rem; align-items:flex-start; margin-top:.65rem; }
.cdh-form .cdh-check input { margin-top:.15rem; }
.cdh-form .cdh-help { margin:.45rem 0 0; color: var(--muted); font-size:.92rem; }
@media (max-width: 780px){ .cdh-form .cdh-row { grid-template-columns: 1fr; } }

