/* ============================================================
   Altoona (PA) — Allegheny Forest / Rail Rust / Sky / Brass
   Hero: text left, one square photo shown as a large circle on the
   right with a thin offset ring behind it (nothing overlaps the photo)
   ============================================================ */

:root {
  --forest: #2F5D46;
  --forest-deep: #1F4231;
  --forest-soft: #E7F0EA;
  --rust: #B5472F;
  --rust-deep: #92361F;
  --rust-pale: #FAECE7;
  --sky: #EAF1F4;
  --brass: #C9A45C;
  --paper: #FAF8F3;
  --white: #FFFFFF;
  --ink: #1E2622;
  --muted: #5B6560;
  --muted-2: #9AA29E;
  --line: #E1E4DE;
  --danger-bg: #FBEAE7;
  --danger-border: #E3A79B;
  --danger-text: #8A3A2A;
  --success-bg: #E9F5EE;
  --success-border: #9FCFB4;
  --success-text: #1F5C3D;
  --r: 10px;
  --r-lg: 18px;
  --serif: 'Libre Caslon Text', Georgia, serif;
  --sans: 'Nunito', -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.66; -webkit-font-smoothing: antialiased; font-size: 1.04rem; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; color: var(--forest-deep); line-height: 1.18; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.ca { max-width: 1140px; margin: 0 auto; padding: 0 2.5rem; }
.sa { padding: 5.5rem 0; }
.sa-w { background: var(--white); }
.sa-f { background: var(--forest-deep); }
.sa-s { background: var(--sky); }
@media (max-width: 860px) { .ca { padding: 0 1.3rem; } .sa { padding: 3.5rem 0; } }

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

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

/* ---------- Headings ---------- */
.ey { display: inline-block; font-weight: 800; font-size: 0.76rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--rust); margin-bottom: 0.9rem; }
.h2 { font-size: clamp(1.8rem, 3.1vw, 2.5rem); 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: circle photo ---------- */
.hero { padding: 4rem 0 5rem; overflow: hidden; }
.hero-g { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 3.8vw, 3.2rem); margin-bottom: 1.2rem; }
.hero h1 em { color: var(--rust); }
.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; }
.orb { position: relative; width: 100%; max-width: 460px; margin-left: auto; aspect-ratio: 1 / 1; }
.orb::before { content: ""; position: absolute; inset: -18px -18px 18px 18px; border-radius: 50%; border: 3px solid var(--brass); }
.orb-img { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: var(--forest-soft); }
.orb-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .hero { padding: 2.5rem 0 3.5rem; } .hero-g { grid-template-columns: 1fr; gap: 2.8rem; } .orb { margin: 0 auto; max-width: 320px; } }

/* ---------- 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: 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(--forest); border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--forest); }
.vt-i small { display: block; font-weight: 800; font-size: 0.76rem; 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); }
.fee { margin-top: 2rem; max-width: 820px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.fee div { background: var(--sky); border-radius: var(--r); padding: 1rem 1.2rem; }
.fee b { display: block; font-family: var(--serif); font-size: 1.4rem; color: var(--forest-deep); }
.fee span { font-size: 0.92rem; color: var(--muted); }
@media (max-width: 700px) { .fee { grid-template-columns: 1fr; } }

/* ---------- OUD section ---------- */
.sa-f .ey { color: var(--brass); }
.sa-f .h2 { color: var(--white); }
.sa-f .ld { color: rgba(255,255,255,0.84); }
.oud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.oud-c { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--r-lg); padding: 1.9rem 1.6rem; }
.oud-c small { display: inline-block; font-weight: 800; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--forest-deep); background: var(--brass); border-radius: 999px; padding: 0.22rem 0.7rem; margin-bottom: 0.9rem; }
.oud-c h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 0.5rem; }
.oud-c p { color: rgba(255,255,255,0.82); font-size: 0.97rem; }
.help { margin-top: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; background: var(--white); border-radius: var(--r-lg); padding: 1.3rem 1.6rem; }
.help p { color: var(--ink); margin: 0; }
.help a { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: var(--rust); text-decoration: none; white-space: nowrap; }
@media (max-width: 860px) { .oud { grid-template-columns: 1fr; } }

/* ---------- Conditions ---------- */
.chips-wrap { max-width: 1000px; margin: 0 auto; text-align: center; }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; justify-content: center; }
.chips span { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.9rem; font-size: 0.93rem; font-weight: 700; color: var(--forest-deep); }
.chips span.hl { border-color: var(--rust); background: var(--rust-pale); color: var(--rust-deep); }
.chips-note { margin-top: 1.3rem; color: var(--muted); font-size: 0.93rem; }
.chips-note a { color: var(--rust); font-weight: 800; }

/* ---------- Local ---------- */
.lc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.4rem; }
.lc-c { border-radius: var(--r-lg); padding: 2rem; }
.lc-c.a { background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--forest); }
.lc-c.b { background: var(--rust-pale); }
.lc-c h3 { font-size: 1.35rem; margin-bottom: 0.3rem; }
.lc-c address { font-style: normal; font-weight: 800; color: var(--rust); margin-bottom: 0.7rem; }
.lc-c p { color: var(--muted); margin-bottom: 0.7rem; }
.lc-c p:last-child { margin-bottom: 0; }
.lc-c a { color: var(--forest); font-weight: 800; }
@media (max-width: 860px) { .lc { 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-top: 4px solid var(--brass); }
.tq-c p { font-family: var(--serif); font-style: italic; font-size: 1.08rem; line-height: 1.6; margin-bottom: 1rem; }
.tq-c span { font-weight: 800; font-size: 0.9rem; color: var(--forest); }
@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.1rem; margin-bottom: 0.45rem; }
.qa2-i p { color: var(--muted); }
.qa2-i a { color: var(--rust); font-weight: 800; }
@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(--forest); font-weight: 800; }
.sr { background: var(--forest-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: var(--brass); 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.64); font-size: 0.86rem; }
.sr a:hover strong { color: var(--brass); }
@media (max-width: 860px) { .ov { grid-template-columns: 1fr; gap: 2rem; } }

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

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

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