/* ============================================================
   Springfield (OH) — Moss / Rust / Linen
   Hero: text left, one square photo on the right cut with a diagonal
   left edge and a thin rust accent line along the cut
   ============================================================ */

:root {
  --moss: #5C6B2F;
  --moss-deep: #424E20;
  --moss-soft: #EEF0E3;
  --rust: #B5542E;
  --rust-deep: #92421F;
  --rust-pale: #F9EAE2;
  --linen: #F6F1E6;
  --white: #FFFFFF;
  --ink: #232519;
  --muted: #5F6255;
  --muted-2: #9A9D90;
  --line: #E3DDCD;
  --danger-bg: #FBEAE7;
  --danger-border: #E3A79B;
  --danger-text: #8A3A2A;
  --success-bg: #E9F5EE;
  --success-border: #9FCFB4;
  --success-text: #1F5C3D;
  --r: 6px;
  --r-lg: 14px;
  --head: 'Josefin Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --body: 'Source Sans 3', -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(--linen); line-height: 1.62; -webkit-font-smoothing: antialiased; font-size: 1.06rem; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; color: var(--moss-deep); line-height: 1.14; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.cs { max-width: 1140px; margin: 0 auto; padding: 0 2.5rem; }
.ss { padding: 5.5rem 0; }
.ss-w { background: var(--white); }
.ss-m { background: var(--moss); }
.ss-r { background: var(--rust-pale); }
@media (max-width: 860px) { .cs { padding: 0 1.3rem; } .ss { padding: 3.5rem 0; } }

/* ---------- Nav ---------- */
nav { position: sticky; top: 0; z-index: 40; background: var(--linen); border-bottom: 1px solid var(--line); box-shadow: inset 0 -4px 0 var(--moss); }
.ns { max-width: 1140px; margin: 0 auto; padding: 0.8rem 2.5rem; display: flex; align-items: center; justify-content: space-between; }
.ns-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.ns-logo img { width: 42px; height: 42px; }
.ns-logo span { font-family: var(--head); font-weight: 700; font-size: 1.08rem; letter-spacing: 0.02em; color: var(--moss-deep); text-transform: uppercase; }
.ns-links { list-style: none; display: flex; gap: 2rem; }
.ns-links a { text-decoration: none; font-family: var(--head); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.ns-links a:hover { color: var(--rust); }
.ns-links a.active { color: var(--rust); }
.ns-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.ns-btn span { width: 22px; height: 2px; background: var(--moss-deep); border-radius: 2px; }
@media (max-width: 860px) {
  .ns { padding: 0.8rem 1.3rem; }
  .ns-links { position: fixed; top: 66px; left: 0; right: 0; background: var(--linen); flex-direction: column; gap: 0; padding: 0.4rem 1.5rem 1.2rem; border-bottom: 4px solid var(--moss);
    opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .2s, transform .2s; }
  .ns-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .ns-links li { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  .ns-links li:last-child { border-bottom: none; }
  .ns-btn { display: flex; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 1rem 1.5rem 0.9rem; border-radius: var(--r); font-family: var(--head);
  font-weight: 700; font-size: 0.9rem; 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-rust { background: var(--rust); color: var(--white); }
.btn-rust:hover { background: var(--rust-deep); }
.btn-moss { background: var(--moss); color: var(--white); }
.btn-moss:hover { background: var(--moss-deep); }
.btn-ol { background: transparent; color: var(--moss-deep); border-color: var(--moss); }
.btn-ol:hover { background: var(--moss); color: var(--white); }
.btn-linen { background: var(--linen); color: var(--moss-deep); }
.btn-linen:hover { background: var(--white); }

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

/* ---------- Hero: diagonal cut ---------- */
.dg { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(520px, 78vh, 720px); background: var(--linen); overflow: hidden; }
.dg-txt { display: flex; flex-direction: column; justify-content: center; padding: 3rem clamp(1.5rem, 3vw, 2.5rem) 3rem max(2rem, calc((100vw - 1140px) / 2 + 2.5rem)); position: relative; z-index: 2; }
.dg-txt h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 1.1rem; }
.dg-txt h1 span { color: var(--rust); }
.dg-txt p { color: var(--muted); font-size: 1.1rem; max-width: 30rem; margin-bottom: 1.8rem; }
.dg-b { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.dg-b .btn { padding: 0.95rem 1.15rem 0.85rem; font-size: 0.85rem; letter-spacing: 0.03em; }
.dg-img { position: relative; clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%); background: var(--moss-soft); }
.dg-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dg-img::before { content: ""; position: absolute; inset: 0; clip-path: polygon(20% 0, 21.6% 0, 1.6% 100%, 0 100%); background: var(--rust); z-index: 2; }
@media (max-width: 860px) {
  .dg { grid-template-columns: 1fr; min-height: 0; }
  .dg-img { order: -1; height: 42vh; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
  .dg-img::before { display: none; }
  .dg-txt { padding: 2rem 1.3rem 2.6rem; }
}

/* ---------- Vertical timeline ---------- */
.vt { max-width: 820px; position: relative; padding-left: 2.6rem; }
.vt::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 3px; background: var(--line); }
.vt-i { position: relative; padding-bottom: 2.1rem; }
.vt-i:last-child { padding-bottom: 0; }
.vt-i::before { content: ""; position: absolute; left: -2.6rem; top: 3px; width: 25px; height: 25px; border-radius: 4px; background: var(--rust); border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--rust); }
.vt-i small { display: block; font-family: var(--head); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rust); margin-bottom: 0.25rem; }
.vt-i h3 { font-size: 1.25rem; margin-bottom: 0.35rem; }
.vt-i p { color: var(--muted); }

/* ---------- Compare table ---------- */
.ss-m .ey { color: #F2C9B6; }
.ss-m .h2 { color: var(--white); }
.ss-m .ld { color: rgba(255,255,255,0.82); }
.cmp-wrap { overflow-x: auto; }
.cmp { width: 100%; min-width: 620px; border-collapse: separate; border-spacing: 0; background: var(--white); border-radius: var(--r-lg); overflow: hidden; }
.cmp th, .cmp td { text-align: left; padding: 1rem 1.3rem; border-bottom: 1px solid var(--line); }
.cmp thead th { font-family: var(--head); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; background: var(--moss-deep); color: var(--white); }
.cmp thead th.hl { background: var(--rust); }
.cmp tbody td:first-child { font-weight: 700; color: var(--moss-deep); width: 30%; }
.cmp tbody td.hl { background: var(--rust-pale); font-weight: 600; }
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp-note { color: rgba(255,255,255,0.72); font-size: 0.9rem; margin-top: 1rem; }
.cmp-note a { color: #F2C9B6; font-weight: 700; }

/* ---------- Grouped conditions ---------- */
.cg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.cg-c { background: var(--white); border-radius: var(--r-lg); padding: 1.7rem; border-top: 4px solid var(--moss); }
.cg-c h3 { font-size: 1.1rem; letter-spacing: 0.03em; margin-bottom: 0.8rem; }
.cg-c ul { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.cg-c li { padding-left: 1.2rem; position: relative; color: var(--ink); font-size: 0.98rem; }
.cg-c li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; background: var(--rust); }
.cg-note { margin-top: 1.5rem; text-align: center; color: var(--muted); font-size: 0.97rem; }
.cg-note a { color: var(--rust); font-weight: 700; }
@media (max-width: 860px) { .cg { grid-template-columns: 1fr; } }

/* ---------- Local ---------- */
.lo { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.4rem; }
.lo-c { border-radius: var(--r-lg); padding: 2rem; }
.lo-c.a { background: var(--moss-deep); }
.lo-c.a .ey { color: #F2C9B6; }
.lo-c.a h3 { color: var(--white); }
.lo-c.a address { color: #F2C9B6; }
.lo-c.a p { color: rgba(255,255,255,0.8); }
.lo-tip { margin-top: 1rem; background: rgba(255,255,255,0.08); border-left: 3px solid var(--rust); padding: 0.8rem 1rem; border-radius: var(--r); font-size: 0.95rem; }
.lo-c.b { background: var(--white); border: 1px solid var(--line); }
.lo-c h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.lo-c address { font-style: normal; font-weight: 700; margin-bottom: 0.7rem; }
.lo-c p { color: var(--muted); }
@media (max-width: 860px) { .lo { grid-template-columns: 1fr; } }

/* ---------- 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: 5px solid var(--rust); }
.tq-c p { font-size: 1.08rem; margin-bottom: 1rem; }
.tq-c span { font-family: var(--head); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--moss); }
@media (max-width: 860px) { .tq { grid-template-columns: 1fr; } }

/* ---------- Two-column Q&A ---------- */
.qa2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; }
.qa2-i { padding: 1.5rem 0; border-top: 2px solid var(--line); }
.qa2-i h3 { font-size: 1.12rem; margin-bottom: 0.45rem; }
.qa2-i p { color: var(--muted); }
.qa2-i a { color: var(--rust); font-weight: 700; }
@media (max-width: 860px) { .qa2 { 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.2rem; margin: 1.5rem 0 0.5rem; }
.ov h3:first-of-type { margin-top: 0; }
.ov p { color: var(--muted); line-height: 1.8; }
.ov a { color: var(--rust); font-weight: 700; }
.sr { background: var(--white); border: 2px solid var(--moss); border-radius: var(--r-lg); overflow: hidden; }
.sr h4 { background: var(--moss); color: var(--white); font-size: 0.8rem; 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(--moss-deep); }
.sr a small { color: var(--muted-2); font-size: 0.88rem; }
.sr a:hover { background: var(--rust-pale); }
@media (max-width: 860px) { .ov { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Closing ---------- */
.cl { background: var(--rust); padding: 4.5rem 0; text-align: center; }
.cl h2 { color: var(--white); font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: 0.6rem; }
.cl p { color: rgba(255,255,255,0.9); margin-bottom: 1.8rem; }

/* ---------- Footer ---------- */
footer { background: var(--moss-deep); color: rgba(255,255,255,0.72); padding: 3.5rem 0 1.8rem; }
.fs { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.fs p { font-size: 0.94rem; line-height: 1.7; margin-top: 0.9rem; max-width: 24rem; color: rgba(255,255,255,0.64); }
footer .ns-logo span { color: var(--linen); }
footer h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: #F2C9B6; 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.96rem; }
footer a:hover { color: #F2C9B6; }
.fs-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.86rem; color: rgba(255,255,255,0.5); }
@media (max-width: 860px) { .fs { grid-template-columns: 1fr; } }

/* ---------- Inner page header ---------- */
.ph { background: var(--moss-soft); padding: 3.5rem 0 3rem; border-bottom: 4px solid var(--rust); }
.ph h1 { font-size: clamp(2.1rem, 3.6vw, 3rem); margin-bottom: 0.6rem; }
.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; } }
