/* ============================================================
   Fredericksburg (VA) — Rust / Slate Green / Parchment
   Hero: text left, one square photo shown as a large circle on the
   right with an offset ring and a floating fact badge
   ============================================================ */

:root {
  --rust: #A2502B;
  --rust-deep: #843E1F;
  --rust-pale: #F7E7DE;
  --slate: #2F4A45;
  --slate-deep: #1F3531;
  --slate-pale: #E4ECEA;
  --river: #7AA096;
  --parch: #F8F3E8;
  --white: #FFFFFF;
  --ink: #1D2624;
  --muted: #5E6966;
  --muted-2: #97A19E;
  --line: #E6DFD0;
  --danger-bg: #FBEAE7;
  --danger-border: #E3A79B;
  --danger-text: #8A3A2A;
  --success-bg: #E9F5EE;
  --success-border: #9FCFB4;
  --success-text: #1F5C3D;
  --r: 10px;
  --r-lg: 18px;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'IBM Plex 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(--parch); line-height: 1.62; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--slate-deep); line-height: 1.12; letter-spacing: -0.01em; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.c { max-width: 1140px; margin: 0 auto; padding: 0 2.5rem; }
.b { padding: 5.5rem 0; }
.b-w { background: var(--white); }
.b-s { background: var(--slate); }
.b-r { background: var(--rust-pale); }
@media (max-width: 860px) { .c { padding: 0 1.3rem; } .b { padding: 3.5rem 0; } }

/* ---------- Nav ---------- */
nav { position: sticky; top: 0; z-index: 40; background: var(--white); box-shadow: 0 1px 0 var(--line); }
.nf { max-width: 1140px; margin: 0 auto; padding: 0.8rem 2.5rem; display: flex; align-items: center; justify-content: space-between; }
.nf-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nf-logo img { width: 42px; height: 42px; }
.nf-logo span { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; color: var(--slate-deep); }
.nf-ul { list-style: none; display: flex; gap: 2rem; }
.nf-ul a { text-decoration: none; font-weight: 500; font-size: 0.92rem; color: var(--muted); transition: color .2s; position: relative; }
.nf-ul a:hover { color: var(--rust); }
.nf-ul a.active { color: var(--rust); font-weight: 600; }
.nf-ul a.active::before { content: ""; position: absolute; left: -12px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--rust); transform: translateY(-50%); }
.nf-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nf-btn span { width: 22px; height: 2px; background: var(--slate-deep); border-radius: 2px; }
@media (max-width: 860px) {
  .nf { padding: 0.8rem 1.3rem; }
  .nf-ul { position: fixed; top: 66px; left: 0; right: 0; background: var(--white); flex-direction: column; gap: 0; padding: 0.4rem 1.5rem 1.2rem; box-shadow: 0 10px 20px -14px rgba(0,0,0,0.2);
    opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .2s, transform .2s; }
  .nf-ul.open { opacity: 1; pointer-events: auto; transform: none; }
  .nf-ul li { padding: 0.75rem 0 0.75rem 1rem; border-bottom: 1px solid var(--line); }
  .nf-ul li:last-child { border-bottom: none; }
  .nf-btn { display: flex; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 0.95rem 1.8rem; border-radius: var(--r); font-family: var(--sans);
  font-weight: 600; font-size: 0.93rem; 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-slate { background: var(--slate); color: var(--white); }
.btn-slate:hover { background: var(--slate-deep); }
.btn-bd { background: transparent; color: var(--slate-deep); border-color: var(--slate); }
.btn-bd:hover { background: var(--slate); color: var(--white); }
.btn-parch { background: var(--parch); color: var(--slate-deep); }
.btn-parch:hover { background: var(--white); }

/* ---------- Headings ---------- */
.ov { display: inline-block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--rust); margin-bottom: 0.9rem; }
.hd2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: 0.9rem; }
.hd2 em { font-style: italic; font-weight: 500; color: var(--rust); }
.tx { color: var(--muted); font-size: 1.03rem; max-width: 40rem; }
.hdb { margin-bottom: 3rem; }
.hdb.mid { text-align: center; }
.hdb.mid .tx { margin: 0 auto; }

/* ---------- Hero: circle photo ---------- */
.hero { padding: 4rem 0 5rem; overflow: hidden; }
.hero-gr { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.7rem); margin-bottom: 1.2rem; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--rust); }
.hero p { color: var(--muted); font-size: 1.07rem; max-width: 31rem; margin-bottom: 2rem; }
.hero-ac { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.orb { position: relative; width: 100%; max-width: 470px; margin-left: auto; aspect-ratio: 1 / 1; }
.orb-ring { position: absolute; inset: -18px -18px 18px 18px; border-radius: 50%; border: 2px solid var(--rust); }
.orb-img { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: var(--slate-pale); }
.orb-img img { width: 100%; height: 100%; object-fit: cover; }
.orb-badge { position: absolute; left: -1rem; bottom: 2.2rem; background: var(--slate); color: var(--parch); border-radius: var(--r-lg); padding: 1rem 1.2rem; max-width: 200px; box-shadow: 0 20px 40px -20px rgba(31,53,49,0.6); }
.orb-badge b { display: block; font-family: var(--serif); font-size: 1.4rem; color: var(--white); }
.orb-badge span { font-size: 0.82rem; color: rgba(248,243,232,0.8); }
@media (max-width: 860px) { .hero { padding: 2.5rem 0 3.5rem; } .hero-gr { grid-template-columns: 1fr; } .orb { margin: 1rem auto 0; max-width: 340px; } .orb-badge { left: 0; } }

/* ---------- Left-rule steps ---------- */
.lr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.lr-i { border-left: 4px solid var(--rust); padding: 0.4rem 0 0.4rem 1.4rem; }
.lr-i small { display: block; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--rust); margin-bottom: 0.4rem; }
.lr-i h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.lr-i p { color: var(--muted); }
@media (max-width: 860px) { .lr { grid-template-columns: 1fr; } }

/* ---------- Access card ---------- */
.acc-card { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.acc-card > div { padding: 2.2rem; }
.acc-l h3 { font-size: 1.55rem; margin-bottom: 0.7rem; }
.acc-l p { color: var(--muted); margin-bottom: 0.8rem; }
.acc-l a { color: var(--rust); font-weight: 600; }
.acc-r { background: var(--slate-pale); }
.acc-r h4 { font-size: 1.1rem; margin-bottom: 1rem; }
.acc-r ol { padding-left: 1.2rem; display: flex; flex-direction: column; gap: 0.7rem; }
.acc-r li { color: var(--ink); }
@media (max-width: 860px) { .acc-card { grid-template-columns: 1fr; } }

/* ---------- Commuter band ---------- */
.b-s .ov { color: var(--river); }
.b-s .hd2 { color: var(--parch); }
.b-s .hd2 em { color: var(--river); }
.b-s .tx { color: rgba(248,243,232,0.78); }
.cm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.cm-c { border: 1px solid rgba(248,243,232,0.2); border-radius: var(--r-lg); padding: 1.8rem; }
.cm-c h3 { color: var(--parch); font-size: 1.25rem; margin-bottom: 0.5rem; }
.cm-c p { color: rgba(248,243,232,0.75); font-size: 0.95rem; }
@media (max-width: 860px) { .cm { grid-template-columns: 1fr; } }

/* ---------- Quote pair ---------- */
.qp { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 1000px; margin: 0 auto; }
.qp-c blockquote { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.3rem; line-height: 1.45; color: var(--slate-deep); margin-bottom: 0.9rem; padding-top: 1rem; border-top: 3px solid var(--rust); }
.qp-c cite { font-style: normal; font-weight: 600; font-size: 0.88rem; color: var(--muted); }
@media (max-width: 860px) { .qp { grid-template-columns: 1fr; } }

/* ---------- Accordion ---------- */
.ac { max-width: 860px; margin: 0 auto; }
.ac details { background: var(--white); border-radius: var(--r); margin-bottom: 0.7rem; border: 1px solid var(--line); }
.ac details[open] { border-color: var(--rust); }
.ac summary { list-style: none; cursor: pointer; padding: 1.2rem 3rem 1.2rem 1.4rem; font-family: var(--serif); font-weight: 600; font-size: 1.08rem; color: var(--slate-deep); position: relative; }
.ac summary::-webkit-details-marker { display: none; }
.ac summary::after { content: ""; position: absolute; right: 1.4rem; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--rust); border-bottom: 2px solid var(--rust); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.ac details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.ac details p { padding: 0 1.4rem 1.3rem; color: var(--muted); }
.ac a { color: var(--rust); font-weight: 600; }

/* ---------- Local ---------- */
.lc2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.lc2-c { border-radius: var(--r-lg); padding: 2rem; background: var(--white); border: 1px solid var(--line); }
.lc2-c h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.lc2-c p { color: var(--muted); }
@media (max-width: 860px) { .lc2 { grid-template-columns: 1fr; } }

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

/* ---------- Closing ---------- */
.cta { background: var(--rust); padding: 4.5rem 0; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.5rem); max-width: 34rem; }
.cta p { color: rgba(255,255,255,0.85); margin-top: 0.4rem; }

/* ---------- Footer ---------- */
footer { background: var(--slate-deep); color: rgba(255,255,255,0.72); padding: 3.5rem 0 1.8rem; }
.fcol { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.fcol p { font-size: 0.88rem; line-height: 1.7; margin-top: 0.9rem; max-width: 24rem; color: rgba(255,255,255,0.6); }
footer .nf-logo span { color: var(--parch); }
footer h4 { font-family: var(--sans); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--river); 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.85); text-decoration: none; font-size: 0.9rem; }
footer a:hover { color: var(--river); }
.fcol-b { margin-top: 2.6rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; font-size: 0.8rem; color: rgba(255,255,255,0.5); }
@media (max-width: 860px) { .fcol { grid-template-columns: 1fr; } }

/* ---------- Inner page header ---------- */
.ph { background: var(--slate); padding: 3.5rem 0 3rem; }
.ph .ov { color: var(--river); }
.ph h1 { color: var(--parch); font-size: clamp(2.1rem, 3.6vw, 3rem); margin-bottom: 0.6rem; }
.ph p { color: rgba(248,243,232,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; } }
