/* ============================================================
   Staunton (VA) — Olive / Clay / Parchment
   Hero: text left, 3 photos crossfading inside one rounded frame on
   the right (4s per photo, 12s cycle; only one visible at a time)
   ============================================================ */

:root {
  --olv: #5E6B3A;
  --olv-deep: #434D29;
  --olv-soft: #EDF0E3;
  --clay: #C8704A;
  --clay-deep: #A85833;
  --clay-pale: #FBEDE5;
  --parch: #F8F4EA;
  --white: #FFFFFF;
  --ink: #22251A;
  --muted: #62665A;
  --muted-2: #9A9E90;
  --line: #E6E1D2;
  --danger-bg: #FBEAE7;
  --danger-border: #E3A79B;
  --danger-text: #8A3A2A;
  --success-bg: #E9F5EE;
  --success-border: #9FCFB4;
  --success-text: #1F5C3D;
  --r: 10px;
  --r-lg: 20px;
  --serif: 'Cardo', Georgia, serif;
  --sans: 'Schibsted Grotesk', -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: 700; color: var(--olv-deep); line-height: 1.12; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wr { max-width: 1140px; margin: 0 auto; padding: 0 2.5rem; }
.bl { padding: 5.5rem 0; }
.bl-w { background: var(--white); }
.bl-o { background: var(--olv); }
.bl-c { background: var(--clay-pale); }
@media (max-width: 860px) { .wr { padding: 0 1.3rem; } .bl { padding: 3.5rem 0; } }

/* ---------- Nav ---------- */
nav { position: sticky; top: 0; z-index: 40; background: var(--olv-deep); }
.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(--serif); font-weight: 700; font-size: 1.2rem; color: var(--parch); }
.ns-links { list-style: none; display: flex; gap: 2rem; }
.ns-links a { text-decoration: none; font-weight: 500; font-size: 0.92rem; color: rgba(248,244,234,0.72); transition: color .2s; }
.ns-links a:hover { color: var(--parch); }
.ns-links a.active { color: var(--clay); font-weight: 600; }
.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(--parch); 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(--olv-deep); flex-direction: column; gap: 0; padding: 0.4rem 1.5rem 1.2rem;
    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 rgba(255,255,255,0.08); }
  .ns-links li:last-child { border-bottom: none; }
  .ns-btn { display: flex; }
}

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

/* ---------- Headings ---------- */
.ey { display: inline-block; font-weight: 600; font-size: 0.76rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--clay-deep); margin-bottom: 0.9rem; }
.h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 0.9rem; }
.ld { color: var(--muted); font-size: 1.04rem; max-width: 40rem; }
.hh { margin-bottom: 3rem; }
.hh.c { text-align: center; }
.hh.c .ld { margin: 0 auto; }

/* ---------- Hero: framed crossfade ---------- */
.hero { padding: 4rem 0 5rem; }
.hero-g { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); margin-bottom: 1.1rem; }
.hero h1 em { font-style: italic; color: var(--clay-deep); }
.hero p { color: var(--muted); font-size: 1.08rem; max-width: 31rem; margin-bottom: 2rem; }
.hero-b { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.frm { position: relative; width: 100%; max-width: 440px; margin-left: auto; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--olv-soft); border: 8px solid var(--white); box-shadow: 0 30px 60px -30px rgba(67,77,41,0.55); }
.frm-s { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; animation: frmFade 12s infinite; }
.frm-s:nth-child(1) { animation-delay: 0s; }
.frm-s:nth-child(2) { animation-delay: 4s; }
.frm-s:nth-child(3) { animation-delay: 8s; }
@keyframes frmFade { 0% { opacity: 0; } 8% { opacity: 1; } 33.33% { opacity: 1; } 41.33% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .frm-s { animation: none; } .frm-s:first-child { opacity: 1; } }
@media (max-width: 860px) { .hero { padding: 2.5rem 0 3.5rem; } .hero-g { grid-template-columns: 1fr; gap: 2.5rem; } .frm { margin: 0 auto; max-width: 340px; } }

/* ---------- Update card ---------- */
.up { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: start; background: var(--white); border-radius: var(--r-lg); padding: 2.2rem; border: 1px solid var(--line); border-left: 6px solid var(--clay); }
.up-badge { background: var(--clay); color: var(--white); border-radius: var(--r); padding: 0.9rem 1rem; text-align: center; min-width: 120px; }
.up-badge b { display: block; font-family: var(--serif); font-size: 1.4rem; line-height: 1.1; }
.up-badge span { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.9; }
.up h2 { font-size: 1.6rem; margin-bottom: 0.3rem; }
.up address { font-style: normal; font-weight: 600; color: var(--clay-deep); margin-bottom: 0.8rem; }
.up p { color: var(--muted); margin-bottom: 0.7rem; }
.up p:last-child { margin-bottom: 0; font-size: 0.88rem; }
.up a { color: var(--clay-deep); font-weight: 600; }
@media (max-width: 700px) { .up { grid-template-columns: 1fr; gap: 1.2rem; } .up-badge { justify-self: start; } }

/* ---------- Time-based steps ---------- */
.ts { display: flex; flex-direction: column; max-width: 860px; }
.ts-i { display: grid; grid-template-columns: 160px 1fr; gap: 2rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.ts-i:last-child { border-bottom: none; }
.ts-t { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--clay-deep); }
.ts-i h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.ts-i p { color: var(--muted); }
@media (max-width: 700px) { .ts-i { grid-template-columns: 1fr; gap: 0.4rem; } }

/* ---------- Now / soon ---------- */
.bl-o .ey { color: var(--clay-pale); }
.bl-o .h2 { color: var(--white); }
.bl-o .ld { color: rgba(248,244,234,0.8); }
.ns2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.ns2-c { border-radius: var(--r-lg); padding: 2rem; }
.ns2-c.now { background: var(--parch); }
.ns2-c.soon { background: rgba(255,255,255,0.08); border: 1px dashed rgba(248,244,234,0.4); }
.ns2-c small { display: inline-block; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; border-radius: 999px; padding: 0.3rem 0.75rem; margin-bottom: 1rem; }
.ns2-c.now small { background: var(--olv); color: var(--white); }
.ns2-c.soon small { background: var(--clay); color: var(--white); }
.ns2-c h3 { font-size: 1.45rem; margin-bottom: 0.6rem; }
.ns2-c.soon h3 { color: var(--white); }
.ns2-c p { color: var(--muted); }
.ns2-c.soon p { color: rgba(248,244,234,0.8); }
.ns2-c a { color: var(--clay-deep); font-weight: 600; }
@media (max-width: 860px) { .ns2 { grid-template-columns: 1fr; } }

/* ---------- Quotes ---------- */
.qs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.qs-c { background: var(--white); border-radius: var(--r-lg); padding: 2rem; border: 1px solid var(--line); }
.qs-c p { font-family: var(--serif); font-size: 1.25rem; line-height: 1.45; color: var(--olv-deep); margin-bottom: 1rem; }
.qs-c span { font-weight: 600; font-size: 0.88rem; color: var(--clay-deep); }
@media (max-width: 860px) { .qs { 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(--olv-soft); }
.qa2-i h3 { font-family: var(--sans); font-weight: 600; font-size: 1.04rem; color: var(--ink); margin-bottom: 0.4rem; }
.qa2-i p { color: var(--muted); font-size: 0.97rem; }
.qa2-i a { color: var(--clay-deep); font-weight: 600; }
@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.35rem; 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(--clay-deep); font-weight: 600; }
.sr { background: var(--olv); 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(--clay-pale); margin-bottom: 0.8rem; }
.sr a { display: block; padding: 0.9rem 0; border-top: 1px solid rgba(255,255,255,0.15); text-decoration: none; }
.sr a strong { display: block; color: var(--white); font-size: 0.96rem; }
.sr a small { color: rgba(255,255,255,0.65); font-size: 0.84rem; }
.sr a:hover strong { color: var(--clay-pale); }
@media (max-width: 860px) { .ov { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Closing ---------- */
.cz { background: var(--clay); padding: 4.5rem 0; }
.cz-in { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cz h2 { color: var(--white); font-size: clamp(1.9rem, 3.2vw, 2.6rem); max-width: 34rem; }
.cz p { color: rgba(255,255,255,0.88); margin-top: 0.4rem; }

/* ---------- Footer ---------- */
footer { background: var(--olv-deep); color: rgba(255,255,255,0.72); padding: 3.5rem 0 1.8rem; }
.ft { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.ft p { font-size: 0.9rem; line-height: 1.7; margin-top: 0.9rem; max-width: 24rem; color: rgba(255,255,255,0.6); }
footer h4 { font-family: var(--sans); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--clay); 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.92rem; }
footer a:hover { color: var(--clay-pale); }
.ft-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.82rem; color: rgba(255,255,255,0.5); }
@media (max-width: 860px) { .ft { grid-template-columns: 1fr; } }

/* ---------- Inner page header ---------- */
.ph { background: var(--olv-soft); padding: 3.5rem 0 3rem; }
.ph h1 { font-size: clamp(2.2rem, 3.8vw, 3.2rem); 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; } }
