/* ============================================================
   Liberty (MO) — Cardinal / Steel Blue / Paper
   Hero: one landscape photo as a full-width banner with a white
   content card overlapping its bottom edge
   ============================================================ */

:root {
  --card: #9E2B2F;
  --card-deep: #7D1F23;
  --card-pale: #F8E7E7;
  --steel: #4A6378;
  --steel-deep: #34485A;
  --steel-soft: #E7EDF2;
  --paper: #F8F6F2;
  --white: #FFFFFF;
  --ink: #1E2429;
  --muted: #5E656C;
  --muted-2: #99A0A7;
  --line: #E4E1DB;
  --danger-bg: #FBEAE7;
  --danger-border: #E3A79B;
  --danger-text: #8A3A2A;
  --success-bg: #E9F5EE;
  --success-border: #9FCFB4;
  --success-text: #1F5C3D;
  --r: 8px;
  --r-lg: 16px;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'Public Sans', -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(--paper); line-height: 1.62; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; color: var(--steel-deep); line-height: 1.14; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.cl { max-width: 1140px; margin: 0 auto; padding: 0 2.5rem; }
.sl { padding: 5.5rem 0; }
.sl-w { background: var(--white); }
.sl-s { background: var(--steel); }
.sl-c { background: var(--card-pale); }
@media (max-width: 860px) { .cl { padding: 0 1.3rem; } .sl { padding: 3.5rem 0; } }

/* ---------- Nav ---------- */
nav { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); border-top: 4px solid var(--card); }
.nl { max-width: 1140px; margin: 0 auto; padding: 0.75rem 2.5rem; display: flex; align-items: center; justify-content: space-between; }
.nl-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nl-logo img { width: 42px; height: 42px; }
.nl-logo span { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--steel-deep); }
.nl-links { list-style: none; display: flex; gap: 2rem; }
.nl-links a { text-decoration: none; font-weight: 600; font-size: 0.93rem; color: var(--muted); transition: color .2s; }
.nl-links a:hover { color: var(--card); }
.nl-links a.active { color: var(--card); }
.nl-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nl-btn span { width: 22px; height: 2px; background: var(--steel-deep); border-radius: 2px; }
@media (max-width: 860px) {
  .nl { padding: 0.75rem 1.3rem; }
  .nl-links { position: fixed; top: 70px; left: 0; right: 0; background: var(--white); flex-direction: column; gap: 0; padding: 0.4rem 1.5rem 1.2rem; border-bottom: 1px solid var(--line);
    opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .2s, transform .2s; }
  .nl-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nl-links li { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  .nl-links li:last-child { border-bottom: none; }
  .nl-btn { display: flex; }
}

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

/* ---------- Headings ---------- */
.ey { display: inline-block; font-weight: 700; font-size: 0.76rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--card); 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; font-size: 1.04rem; }
.hd { margin-bottom: 3rem; }
.hd.c { text-align: center; }
.hd.c .ld { margin: 0 auto; }

/* ---------- Hero: banner + card ---------- */
.bn-img { height: clamp(360px, 60vh, 580px); overflow: hidden; background: var(--steel-deep); }
.bn-img img { width: 100%; height: 100%; object-fit: cover; }
.bn-wrap { max-width: 1140px; margin: -8.5rem auto 0; padding: 0 2.5rem; position: relative; z-index: 2; }
.bn-card { display: grid; grid-template-columns: 1.45fr 1fr; background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(30,36,41,0.45); }
.bn-main { padding: clamp(2rem, 4vw, 3rem); }
.bn-main h1 { font-size: clamp(2.1rem, 3.8vw, 3.2rem); margin-bottom: 1rem; }
.bn-main h1 span { color: var(--card); }
.bn-main p { color: var(--muted); font-size: 1.06rem; margin-bottom: 1.8rem; }
.bn-b { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.bn-side { background: var(--steel-deep); padding: 2.2rem 2rem; display: flex; flex-direction: column; justify-content: center; gap: 1.2rem; }
.bn-side div b { display: block; font-family: var(--serif); font-size: 1.45rem; color: var(--white); }
.bn-side div span { font-size: 0.9rem; color: rgba(255,255,255,0.72); }
@media (max-width: 860px) { .bn-img { height: 38vh; } .bn-wrap { margin-top: -4rem; padding: 0 1.3rem; } .bn-card { grid-template-columns: 1fr; } }

/* ---------- Progress steps ---------- */
.pg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.pg-i { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem 1.4rem; }
.pg-bar { display: flex; gap: 5px; margin-bottom: 1.2rem; }
.pg-bar span { flex: 1; height: 6px; border-radius: 3px; background: var(--steel-soft); }
.pg-bar span.on { background: var(--card); }
.pg-i small { display: block; font-weight: 700; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 0.35rem; }
.pg-i h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.pg-i p { color: var(--muted); font-size: 0.96rem; }
.pg-note { margin-top: 1.8rem; background: var(--steel-soft); border-radius: var(--r); padding: 1.1rem 1.3rem; font-size: 0.96rem; }
@media (max-width: 960px) { .pg { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pg { grid-template-columns: 1fr; } }

/* ---------- Path checker ---------- */
.sl-s .ey { color: #F2B7B9; }
.sl-s .h2 { color: var(--white); }
.sl-s .ld { color: rgba(255,255,255,0.82); }
.pc { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.pc-box { background: var(--white); border-radius: var(--r-lg); padding: 2rem; }
.pc-box p.q { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; color: var(--steel-deep); margin-bottom: 1rem; }
.pc-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-bottom: 1.3rem; }
.pc-opts button { padding: 0.8rem 0.6rem; border-radius: var(--r); border: 2px solid var(--line); background: var(--white); font-family: var(--sans); font-weight: 700; font-size: 0.95rem; color: var(--muted); cursor: pointer; transition: all .15s; }
.pc-opts button.on { border-color: var(--card); background: var(--card); color: var(--white); }
.pc-out { background: var(--steel-soft); border-radius: var(--r); padding: 1.1rem 1.2rem; min-height: 6.5rem; }
.pc-out h4 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.pc-out p { color: var(--muted); font-size: 0.96rem; }
.pc-out a { color: var(--card); font-weight: 700; }
@media (max-width: 860px) { .pc { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Access options ---------- */
.ax { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.ax-c { background: var(--white); border-radius: var(--r-lg); padding: 1.9rem 1.7rem; border-top: 5px solid var(--card); }
.ax-c svg { width: 32px; height: 32px; stroke: var(--card); margin-bottom: 1rem; }
.ax-c h3 { font-size: 1.25rem; margin-bottom: 0.45rem; }
.ax-c p { color: var(--muted); }
@media (max-width: 860px) { .ax { grid-template-columns: 1fr; } }

/* ---------- Spotlight ---------- */
.sp { max-width: 880px; margin: 0 auto; text-align: center; }
.sp blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2.5vw, 1.85rem); line-height: 1.45; color: var(--steel-deep); margin-bottom: 1rem; }
.sp cite { font-style: normal; font-weight: 700; color: var(--card); }

/* ---------- Labeled accordion ---------- */
.la { max-width: 880px; margin: 0 auto; }
.la details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 0.7rem; }
.la summary { list-style: none; cursor: pointer; padding: 1.15rem 3rem 1.15rem 1.3rem; display: flex; gap: 0.9rem; align-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.05rem; color: var(--steel-deep); position: relative; }
.la summary::-webkit-details-marker { display: none; }
.la summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--card); }
.la details[open] summary::after { content: "\2212"; }
.la summary em { font-style: normal; flex-shrink: 0; font-family: var(--sans); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: var(--steel-soft); color: var(--steel-deep); border-radius: 999px; padding: 0.25rem 0.65rem; }
.la details p { padding: 0 1.3rem 1.2rem; color: var(--muted); }
.la a { color: var(--card); font-weight: 700; }

/* ---------- Local ---------- */
.lx { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.4rem; }
.lx-c { border-radius: var(--r-lg); padding: 2rem; background: var(--white); border: 1px solid var(--line); }
.lx-c.a { border-left: 6px solid var(--card); }
.lx-c.b { border-left: 6px solid var(--steel); }
.lx-c h3 { font-size: 1.35rem; margin-bottom: 0.3rem; }
.lx-c address { font-style: normal; font-weight: 700; color: var(--card); margin-bottom: 0.7rem; }
.lx-c p { color: var(--muted); }
@media (max-width: 860px) { .lx { 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; }
.ov h3:first-of-type { margin-top: 0; }
.ov p { color: var(--muted); line-height: 1.8; }
.ov a { color: var(--card); font-weight: 700; }
.sr { background: var(--steel-deep); border-radius: var(--r-lg); padding: 1.6rem; }
.sr h4 { font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: #F2B7B9; margin-bottom: 0.8rem; }
.sr a { display: block; padding: 0.9rem 0; border-top: 1px solid rgba(255,255,255,0.14); text-decoration: none; }
.sr a strong { display: block; color: var(--white); }
.sr a small { color: rgba(255,255,255,0.62); font-size: 0.86rem; }
.sr a:hover strong { color: #F2B7B9; }
@media (max-width: 860px) { .ov { grid-template-columns: 1fr; gap: 2rem; } }

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

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

/* ---------- Inner page header ---------- */
.ph { background: var(--steel-soft); padding: 3.5rem 0 3rem; border-bottom: 4px solid var(--card); }
.ph h1 { font-size: clamp(2.1rem, 3.6vw, 3rem); margin-bottom: 0.6rem; }
.ph p { color: var(--muted); max-width: 40rem; font-size: 1.04rem; }

/* ---------- 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; } }
