/* ============================================================
   Joplin (MO) — Navy / Copper / Mist
   Hero: text left, one square photo on the right cut with a diagonal
   left edge and a thin copper accent line along the cut
   ============================================================ */

:root {
  --navy: #1B2A49;
  --navy-deep: #111C33;
  --navy-soft: #E7EBF2;
  --cop: #C7773B;
  --cop-deep: #A05A2A;
  --cop-pale: #FAEEE4;
  --pool: #5484A4;
  --mist: #F4F1EC;
  --white: #FFFFFF;
  --ink: #1A2233;
  --muted: #5E6573;
  --muted-2: #9AA0AB;
  --line: #E4DFD6;
  --danger-bg: #FBEAE7;
  --danger-border: #E3A79B;
  --danger-text: #8A3A2A;
  --success-bg: #E9F5EE;
  --success-border: #9FCFB4;
  --success-text: #1F5C3D;
  --r: 8px;
  --r-lg: 16px;
  --serif: 'Libre Baskerville', Georgia, serif;
  --sans: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--mist); line-height: 1.62; -webkit-font-smoothing: antialiased; font-size: 1.06rem; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; color: var(--navy); line-height: 1.18; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.cj { max-width: 1140px; margin: 0 auto; padding: 0 2.5rem; }
.sj { padding: 5.5rem 0; }
.sj-w { background: var(--white); }
.sj-n { background: var(--navy); }
.sj-c { background: var(--cop-pale); }
@media (max-width: 860px) { .cj { padding: 0 1.3rem; } .sj { padding: 3.5rem 0; } }

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

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 0.95rem 1.5rem; border-radius: var(--r); font-family: var(--sans);
  font-weight: 700; font-size: 0.98rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-cop { background: var(--cop); color: var(--white); }
.btn-cop:hover { background: var(--cop-deep); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-ln { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ln:hover { background: var(--navy); color: var(--white); }
.btn-mist { background: var(--mist); color: var(--navy); }
.btn-mist:hover { background: var(--white); }

/* ---------- Headings ---------- */
.ey { display: inline-block; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cop-deep); margin-bottom: 0.9rem; }
.h2 { font-size: clamp(1.7rem, 2.9vw, 2.3rem); 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, photo right ---------- */
.dgj { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(520px, 78vh, 720px); background: var(--mist); overflow: hidden; }
.dgj-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; }
.dgj-txt h1 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 1.1rem; }
.dgj-txt h1 span { color: var(--cop-deep); font-style: italic; }
.dgj-txt p { color: var(--muted); font-size: 1.1rem; max-width: 30rem; margin-bottom: 1.8rem; }
.dgj-b { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.dgj-img { position: relative; clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%); background: var(--navy-soft); }
.dgj-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dgj-img::before { content: ""; position: absolute; inset: 0; clip-path: polygon(20% 0, 21.6% 0, 1.6% 100%, 0 100%); background: var(--cop); z-index: 2; }
@media (max-width: 860px) {
  .dgj { grid-template-columns: 1fr; min-height: 0; }
  .dgj-img { order: -1; height: 42vh; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
  .dgj-img::before { display: none; }
  .dgj-txt { padding: 2rem 1.3rem 2.6rem; }
}

/* ---------- Fact strip ---------- */
.fs { background: var(--navy-deep); }
.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(--serif); font-size: 1.4rem; color: var(--cop); }
.fs-i span { font-size: 0.92rem; color: rgba(244,241,236,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); } }

/* ---------- 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.2rem; }
.vt-i:last-child { padding-bottom: 0; }
.vt-i::before { content: ""; position: absolute; left: -2.6rem; top: 4px; width: 25px; height: 25px; border-radius: 50%; background: var(--cop); border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--cop); }
.vt-i small { display: block; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cop-deep); margin-bottom: 0.25rem; }
.vt-i h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.vt-i p { color: var(--muted); }
.vt-note { margin-top: 2rem; max-width: 820px; background: var(--navy-soft); border-radius: var(--r); padding: 1.1rem 1.3rem; font-size: 0.98rem; }

/* ---------- Reasons grid ---------- */
.sj-n .ey { color: var(--cop); }
.sj-n .h2 { color: var(--white); }
.sj-n .ld { color: rgba(244,241,236,0.78); }
.rg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.rg-c { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--r-lg); padding: 1.7rem 1.4rem; }
.rg-c b { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--cop); line-height: 1; margin-bottom: 0.7rem; }
.rg-c h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 0.4rem; }
.rg-c p { color: rgba(244,241,236,0.75); font-size: 0.97rem; }
.rg-note { color: rgba(244,241,236,0.6); font-size: 0.88rem; margin-top: 1.2rem; }
@media (max-width: 960px) { .rg { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .rg { grid-template-columns: 1fr; } }

/* ---------- Spotlight quote ---------- */
.sq { max-width: 860px; margin: 0 auto; background: var(--white); border-radius: var(--r-lg); padding: clamp(2rem, 4vw, 3rem); border-top: 5px solid var(--cop); text-align: center; }
.sq blockquote { font-family: var(--serif); font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.5; color: var(--navy); margin-bottom: 1rem; }
.sq cite { font-style: normal; font-weight: 700; color: var(--cop-deep); }

/* ---------- Two-column Q&A ---------- */
.qj { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.qj-i { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; }
.qj-i h3 { font-family: var(--sans); font-weight: 700; font-size: 1.08rem; color: var(--navy); margin-bottom: 0.45rem; }
.qj-i p { color: var(--muted); font-size: 0.99rem; }
.qj-i a { color: var(--cop-deep); font-weight: 700; }
@media (max-width: 860px) { .qj { grid-template-columns: 1fr; } }

/* ---------- Local ---------- */
.lj { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.4rem; }
.lj-c { border-radius: var(--r-lg); padding: 2rem; }
.lj-c.a { background: var(--navy); color: var(--mist); }
.lj-c.a h3 { color: var(--white); }
.lj-c.a address { color: var(--cop); }
.lj-c.a p { color: rgba(244,241,236,0.78); }
.lj-c.a .ey { color: var(--cop); }
.lj-c.b { background: var(--white); border: 1px solid var(--line); }
.lj-c h3 { font-size: 1.25rem; margin-bottom: 0.3rem; }
.lj-c address { font-style: normal; font-weight: 700; margin-bottom: 0.7rem; }
.lj-c p { color: var(--muted); }
@media (max-width: 860px) { .lj { grid-template-columns: 1fr; } }

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

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

/* ---------- Footer ---------- */
footer { background: var(--navy-deep); color: rgba(255,255,255,0.72); padding: 3.5rem 0 1.8rem; }
.fj { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.fj p { font-size: 0.94rem; line-height: 1.7; margin-top: 0.9rem; max-width: 24rem; color: rgba(255,255,255,0.62); }
footer .nj-logo span { color: var(--mist); }
footer h4 { font-family: var(--sans); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--cop); 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: var(--cop); }
.fj-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) { .fj { grid-template-columns: 1fr; } }

/* ---------- Inner page header ---------- */
.ph { background: var(--navy); padding: 3.5rem 0 3rem; }
.ph .ey { color: var(--cop); }
.ph h1 { color: var(--white); font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 0.6rem; }
.ph p { color: rgba(244,241,236,0.8); 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; } }
