/* FloydVirginia.com: relocation section (loads after styles.css) */

/* Page hero */
.page-hero { position: relative; overflow: hidden; padding: clamp(40px, 8vh, 80px) 0 150px;
  background: linear-gradient(180deg, #f9efdc 0%, #f1dcc2 100%); }
.page-hero-ridges { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 130px; }
.page-hero-ridges .r2 { fill: var(--ridge-2); }
.page-hero-ridges .r4 { fill: var(--ridge-4); }
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); font-weight: 700; max-width: 16ch; }
.page-hero .lede { font-size: clamp(1.08rem, 1.8vw, 1.25rem); max-width: 46ch; }
.updated { font-size: .9rem; color: var(--ink-soft); }

.breadcrumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: var(--ink-soft); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--ridge-2); }
.breadcrumbs a { color: var(--ink-soft); }

/* Key numbers */
.keystats { background: var(--ridge-4); color: #e8edf2; }
.keystats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 34px 0 40px; }
.keystats-grid > div { border-left: 2px solid var(--ember); padding-left: 16px; }
.keystats-grid dt { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ridge-1); }
.keystats-grid dd { margin: 4px 0 2px; font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 600; color: #fff; line-height: 1.1; }
.keystats-grid p { margin: 0; font-size: .88rem; color: #b9c7d4; }
@media (max-width: 860px) { .keystats-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .keystats-grid { grid-template-columns: 1fr; } }

/* Layout helpers */
.tint { background: var(--paper-2); }
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split-reverse > figure { order: -1; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-reverse > figure { order: 0; } }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.panel { background: #fffaf1; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.panel p:last-child { margin-bottom: 0; }
.center { text-align: center; margin-top: 36px; }

/* Charts (inline SVG) */
.chart { margin: 0; background: #fffaf1; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 16px; }
.chart figcaption { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; margin-bottom: 12px; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .bar { fill: var(--ember); }
.chart .bar-muted { fill: var(--ridge-2); }
.chart .axis { stroke: var(--ink-soft); stroke-width: 1; }
.chart .val { font-family: var(--font-display); font-size: 22px; font-weight: 600; fill: var(--ink); text-anchor: middle; }
.chart .val-light { fill: #fff; }
.chart .val-left { text-anchor: start; font-size: 18px; }
.chart .lbl { font-family: var(--font-body); font-size: 14px; fill: var(--ink); text-anchor: middle; }
.chart .lbl-sub { fill: var(--ink-soft); font-size: 12px; }
.chart .lbl-left { text-anchor: start; }
.chart-source { font-size: .82rem; color: var(--ink-soft); margin: 10px 0 0; }

/* Age bar */
.agebar { list-style: none; display: flex; margin: 28px 0 0; padding: 0; border-radius: var(--radius); overflow: hidden; min-height: 76px; }
.agebar li { display: flex; flex-direction: column; justify-content: center; padding: 12px 14px; color: #fff; }
.agebar span { font-size: .85rem; opacity: .9; }
.agebar strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.age-young { flex: 18 1 0; background: var(--sage); }
.age-mid { flex: 56 1 0; background: var(--ridge-3); }
.age-old { flex: 25 1 0; background: var(--ember); }

/* Drive times */
.drive-list { list-style: none; margin: 0 0 14px; padding: 0; }
.drive-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.drive-list li span:last-child { font-weight: 600; white-space: nowrap; }

/* Guides panel */
.guides-panel { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 5vw, 64px); align-items: start;
  background: #fffaf1; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.guides-intro p:not(.eyebrow) { color: var(--ink-soft); }
.guides-intro .btn { margin-top: 8px; line-height: 1.25; text-align: center; }
.guides-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.guides-list > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.guides-list dt { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; }
.guides-list dd { margin: 4px 0 0; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 900px) { .guides-panel { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .guides-list { grid-template-columns: 1fr; } }
.soon { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ember-dark); background: rgba(181, 83, 44, .1); padding: 4px 9px; border-radius: 999px; margin-bottom: 12px; }

/* Sources */
.sources { padding-top: 48px; padding-bottom: 48px; }
.sources h2 { font-size: 1.3rem; }
.sources ul { margin: 0; padding-left: 1.2em; color: var(--ink-soft); font-size: .95rem; }
.sources li { margin-bottom: 8px; }

/* Closing call to action */
.cta-band { background: var(--ridge-3); color: #fff; padding: clamp(48px, 8vw, 80px) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #e3eaf0; margin: 0; max-width: 52ch; }
.btn-light { background: #fff; color: var(--ink); white-space: nowrap; }
.btn-light:hover { background: var(--paper); color: var(--ink); }
@media (max-width: 760px) { .cta-inner { flex-direction: column; align-items: flex-start; } }

/* Active nav item */
.site-nav a[aria-current="page"] { color: var(--ember-dark); font-weight: 600; }
