/* ============================================================
   Beavercreek (OH) — Midnight / Canvas Tan / White
   Hero: text left, 3 photos crossfading inside one rounded frame on
   the right (4s each, 12s cycle; only one visible at a time)
   ============================================================ */

:root {
  --mid: #0F2A44;
  --mid-soft: #1C3A58;
  --mid-pale: #E6ECF2;
  --tan: #D9C7A3;
  --tan-deep: #B09A6C;
  --tan-pale: #F8F3E8;
  --prairie: #7A9660;
  --bg: #FBFAF7;
  --white: #FFFFFF;
  --ink: #18222C;
  --muted: #5A6570;
  --muted-2: #97A1AA;
  --line: #E4E1D9;
  --danger-bg: #FBEAE7;
  --danger-border: #E3A79B;
  --danger-text: #8A3A2A;
  --success-bg: #E9F5EE;
  --success-border: #9FCFB4;
  --success-text: #1F5C3D;
  --r: 6px;
  --r-lg: 14px;
  --head: 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'Libre Franklin', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.64; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; color: var(--mid); line-height: 1.12; letter-spacing: 0.01em; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.cb { max-width: 1140px; margin: 0 auto; padding: 0 2.5rem; }
.sb { padding: 5.5rem 0; }
.sb-w { background: var(--white); }
.sb-m { background: var(--mid); }
.sb-t { background: var(--tan-pale); }
@media (max-width: 860px) { .cb { padding: 0 1.3rem; } .sb { padding: 3.5rem 0; } }

/* ---------- Nav ---------- */
nav { position: sticky; top: 0; z-index: 40; background: var(--mid); border-bottom: 3px solid var(--tan); }
.nb { max-width: 1140px; margin: 0 auto; padding: 0.8rem 2.5rem; display: flex; align-items: center; justify-content: space-between; }
.nb-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nb-logo img { width: 42px; height: 42px; }
.nb-logo span { font-family: var(--head); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--white); }
.nb-links { list-style: none; display: flex; gap: 2rem; }
.nb-links a { text-decoration: none; font-family: var(--head); font-weight: 500; font-size: 0.98rem; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,0.72); transition: color .2s; }
.nb-links a:hover { color: var(--white); }
.nb-links a.active { color: var(--tan); }
.nb-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nb-btn span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; }
@media (max-width: 860px) {
  .nb { padding: 0.8rem 1.3rem; }
  .nb-links { position: fixed; top: 69px; left: 0; right: 0; background: var(--mid); flex-direction: column; gap: 0; padding: 0.4rem 1.5rem 1.2rem; border-bottom: 3px solid var(--tan);
    opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .2s, transform .2s; }
  .nb-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nb-links li { padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nb-links li:last-child { border-bottom: none; }
  .nb-btn { display: flex; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 0.9rem 1.4rem; border-radius: var(--r); font-family: var(--head);
  font-weight: 500; font-size: 1rem; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-mid { background: var(--mid); color: var(--white); }
.btn-mid:hover { background: var(--mid-soft); }
.btn-tan { background: var(--tan); color: var(--mid); }
.btn-tan:hover { background: var(--tan-deep); color: var(--white); }
.btn-ol { background: transparent; color: var(--mid); border-color: var(--mid); }
.btn-ol:hover { background: var(--mid); color: var(--white); }

/* ---------- Headings ---------- */
.ey { display: inline-block; font-family: var(--head); font-weight: 500; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tan-deep); margin-bottom: 0.8rem; }
.h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 0.9rem; text-transform: uppercase; }
.ld { color: var(--muted); max-width: 40rem; }
.hd { margin-bottom: 3rem; }
.hd.c { text-align: center; }
.hd.c .ld { margin: 0 auto; }

/* ---------- Hero: framed crossfade ---------- */
.hero { padding: 4rem 0 4.5rem; }
.hero-g { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 4.8vw, 4rem); margin-bottom: 1.2rem; text-transform: uppercase; }
.hero h1 span { color: var(--tan-deep); }
.hero p { color: var(--muted); font-size: 1.08rem; max-width: 31rem; margin-bottom: 2rem; }
.hero-b { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.frm { position: relative; width: 100%; max-width: 430px; margin-left: auto; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--mid-pale); border: 8px solid var(--white); box-shadow: -12px 12px 0 var(--tan); }
.frm-s { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; animation: fade 12s infinite; }
.frm-s:nth-child(1) { animation-delay: 0s; }
.frm-s:nth-child(2) { animation-delay: 4s; }
.frm-s:nth-child(3) { animation-delay: 8s; }
@keyframes fade { 0% { opacity: 0; } 8% { opacity: 1; } 33.33% { opacity: 1; } 41.33% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .frm-s { animation: none; } .frm-s:first-child { opacity: 1; } }
@media (max-width: 860px) { .hero { padding: 2.5rem 0 3.5rem; } .hero-g { grid-template-columns: 1fr; gap: 2.5rem; } .frm { margin: 0 auto; max-width: 330px; } }

/* ---------- Fact strip ---------- */
.fs { background: var(--mid); }
.fs-g { display: grid; grid-template-columns: repeat(4, 1fr); }
.fs-i { padding: 1.5rem 1.4rem; border-left: 1px solid rgba(255,255,255,0.1); }
.fs-i:first-child { border-left: none; }
.fs-i b { display: block; font-family: var(--head); font-weight: 600; font-size: 1.45rem; letter-spacing: 0.03em; color: var(--tan); text-transform: uppercase; }
.fs-i span { font-size: 0.9rem; color: rgba(255,255,255,0.75); }
@media (max-width: 860px) { .fs-g { grid-template-columns: 1fr 1fr; } .fs-i:nth-child(3) { border-left: none; } .fs-i:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.1); } }

/* ---------- Dotted timeline ---------- */
.tl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; position: relative; }
.tl::before { content: ""; position: absolute; top: 22px; left: 11%; right: 11%; border-top: 3px dotted var(--tan-deep); }
.tl-i { text-align: center; position: relative; }
.tl-i b { width: 46px; height: 46px; border-radius: 50%; background: var(--mid); color: var(--tan); font-family: var(--head); font-size: 1.2rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--white); }
.tl-i h3 { font-size: 1.15rem; margin-bottom: 0.4rem; text-transform: uppercase; }
.tl-i p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) { .tl { grid-template-columns: 1fr 1fr; row-gap: 2rem; } .tl::before { display: none; } }
@media (max-width: 520px) { .tl { grid-template-columns: 1fr; } }

/* ---------- Veterans & military ---------- */
.sb-m .ey { color: var(--tan); }
.sb-m .h2 { color: var(--white); }
.sb-m .ld { color: rgba(255,255,255,0.82); }
.vm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.vm-c { background: var(--mid-soft); border-radius: var(--r-lg); padding: 1.8rem 1.6rem; border-top: 4px solid var(--tan); }
.vm-c small { display: inline-block; font-family: var(--head); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mid); background: var(--tan); border-radius: 999px; padding: 0.2rem 0.7rem; margin-bottom: 0.9rem; }
.vm-c h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 0.5rem; }
.vm-c p { color: rgba(255,255,255,0.8); font-size: 0.96rem; }
.vm-note { color: rgba(255,255,255,0.6); font-size: 0.88rem; margin-top: 1.3rem; }
@media (max-width: 860px) { .vm { grid-template-columns: 1fr; } }

/* ---------- Local ---------- */
.lb { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.4rem; }
.lb-c { border-radius: var(--r-lg); padding: 2rem; }
.lb-c.a { background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--mid); }
.lb-c.b { background: var(--tan-pale); }
.lb-c h3 { font-size: 1.35rem; margin-bottom: 0.3rem; text-transform: uppercase; }
.lb-c address { font-style: normal; font-weight: 600; color: var(--tan-deep); margin-bottom: 0.7rem; }
.lb-c p { color: var(--muted); }
@media (max-width: 860px) { .lb { grid-template-columns: 1fr; } }

/* ---------- Condition chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; max-width: 980px; margin: 0 auto; }
.chips span { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 0.45rem 0.9rem; font-size: 0.93rem; font-weight: 500; color: var(--mid); }
.chips-note { text-align: center; margin-top: 1.4rem; color: var(--muted); font-size: 0.96rem; }
.chips-note a { color: var(--mid); font-weight: 700; }

/* ---------- Testimonials ---------- */
.tq { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.tq-c { background: var(--white); border-radius: var(--r-lg); padding: 2rem; border-bottom: 4px solid var(--tan); }
.tq-c p { font-size: 1.06rem; margin-bottom: 1rem; }
.tq-c span { font-family: var(--head); font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.9rem; color: var(--tan-deep); }
@media (max-width: 860px) { .tq { grid-template-columns: 1fr; } }

/* ---------- Two-column accordion ---------- */
.a2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1.4rem; align-items: start; }
.a2 details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.a2 summary { list-style: none; cursor: pointer; padding: 1.15rem 2.8rem 1.15rem 1.3rem; font-weight: 600; font-size: 1.02rem; color: var(--mid); position: relative; }
.a2 summary::-webkit-details-marker { display: none; }
.a2 summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--tan-deep); }
.a2 details[open] summary::after { content: "\2212"; }
.a2 details p { padding: 0 1.3rem 1.2rem; color: var(--muted); }
.a2 a { color: var(--mid); font-weight: 700; }
@media (max-width: 860px) { .a2 { grid-template-columns: 1fr; } }

/* ---------- Overview ---------- */
.ov { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3.5rem; align-items: start; }
.ov h3 { font-size: 1.25rem; margin: 1.5rem 0 0.5rem; text-transform: uppercase; }
.ov h3:first-of-type { margin-top: 0; }
.ov p { color: var(--muted); line-height: 1.8; }
.ov a { color: var(--mid); font-weight: 700; }
.sr { background: var(--white); border: 2px solid var(--mid); border-radius: var(--r-lg); overflow: hidden; }
.sr h4 { background: var(--mid); color: var(--tan); font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 1rem 1.3rem; }
.sr a { display: block; padding: 1rem 1.3rem; border-top: 1px solid var(--line); text-decoration: none; }
.sr a:first-of-type { border-top: none; }
.sr a strong { display: block; color: var(--mid); }
.sr a small { color: var(--muted-2); font-size: 0.86rem; }
.sr a:hover { background: var(--tan-pale); }
@media (max-width: 860px) { .ov { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Closing ---------- */
.cl { background: var(--tan); padding: 4.5rem 0; }
.cl-in { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cl h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); max-width: 34rem; text-transform: uppercase; }
.cl p { color: var(--mid); opacity: 0.85; margin-top: 0.4rem; }

/* ---------- Footer ---------- */
footer { background: var(--mid); color: rgba(255,255,255,0.72); padding: 3.5rem 0 1.8rem; }
.fb { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.fb p { font-size: 0.92rem; line-height: 1.7; margin-top: 0.9rem; max-width: 24rem; color: rgba(255,255,255,0.62); }
footer h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--tan); margin-bottom: 0.9rem; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
footer a { color: rgba(255,255,255,0.86); text-decoration: none; font-size: 0.94rem; }
footer a:hover { color: var(--tan); }
.fb-b { margin-top: 2.6rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.14); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; font-size: 0.84rem; color: rgba(255,255,255,0.5); }
@media (max-width: 860px) { .fb { grid-template-columns: 1fr; } }

/* ---------- Inner page header ---------- */
.ph { background: var(--mid-pale); padding: 3.5rem 0 3rem; border-bottom: 3px solid var(--tan); }
.ph h1 { font-size: clamp(2.2rem, 3.8vw, 3.2rem); margin-bottom: 0.6rem; text-transform: uppercase; }
.ph p { color: var(--muted); max-width: 40rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease-out, transform .5s ease-out; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
