/* FloydVirginia.com — landing page styles */
:root {
  --ink: #1d2733;
  --ink-soft: #4a5866;
  --paper: #f6f1e7;
  --paper-2: #ede5d4;
  --ridge-1: #9fb3c4;
  --ridge-2: #6f8aa1;
  --ridge-3: #44617a;
  --ridge-4: #1f2f3f;
  --ember: #b5532c;
  --ember-dark: #8f3f1f;
  --sage: #6c7f5c;
  --line: rgba(29, 39, 51, 0.14);
  --radius: 10px;
  --wrap: 1140px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ember-dark); }
a:hover { color: var(--ember); }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 3px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 6.5vw, 4.75rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.small { font-size: .925rem; color: var(--ink-soft); }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ember-dark); margin-bottom: .75rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; border-radius: 6px; }
.skip-link:focus { top: 12px; color: #fff; }

/* Buttons */
.btn { display: inline-block; font: 600 1rem/1 var(--font-body); padding: 15px 24px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ember); color: #fff; }
.btn-primary:hover { background: var(--ember-dark); color: #fff; }
.btn-ghost { border-color: currentColor; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 241, 231, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 28px; height: 28px; color: var(--ridge-3); }
.brand-thin { font-weight: 400; color: var(--ridge-3); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.site-nav a { display: block; padding: 8px 12px; color: var(--ink); text-decoration: none; font-weight: 500; border-radius: 6px; }
.site-nav a:hover { background: var(--paper-2); color: var(--ink); }
.site-nav .nav-cta { background: var(--ink); color: var(--paper); padding: 9px 16px; border-radius: 999px; margin-left: 6px; }
.site-nav .nav-cta:hover { background: var(--ridge-3); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle .bar { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); transition: transform .2s; }
.nav-toggle .bar:first-of-type { top: 17px; }
.nav-toggle .bar:last-of-type { top: 25px; }
.nav-toggle[aria-expanded="true"] .bar:first-of-type { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:last-of-type { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 68px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 10px 20px 20px; gap: 2px; }
  .site-nav a { padding: 12px; }
  .site-nav .nav-cta { margin: 8px 0 0; text-align: center; }
}

/* Hero */
.hero { position: relative; overflow: hidden; min-height: min(88vh, 760px); display: flex; align-items: flex-start; padding: clamp(64px, 12vh, 130px) 0 320px;
  background: linear-gradient(180deg, #f9efdc 0%, #f3dcc0 45%, #e9c9a8 100%); }
.hero-ridges { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 300px; }
.hero-ridges .r1 { fill: var(--ridge-1); }
.hero-ridges .r2 { fill: var(--ridge-2); }
.hero-ridges .r3 { fill: var(--ridge-3); }
.hero-ridges .r4 { fill: var(--ridge-4); }
.hero-content { position: relative; z-index: 1; }
.hero h1 { max-width: 12ch; color: var(--ink); }
.hero .lede { font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 40ch; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.hero-note { font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 600px) { .hero { padding-bottom: 190px; } .hero-ridges { height: 170px; } }

/* Facts strip */
.facts { background: var(--ridge-4); color: #e8edf2; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 28px 0 34px; gap: 20px; }
.facts-grid div { border-left: 2px solid var(--ember); padding-left: 14px; }
.facts-grid dt { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ridge-1); }
.facts-grid dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 1.35rem; color: #fff; }
@media (max-width: 760px) { .facts-grid { grid-template-columns: 1fr 1fr; } }

/* Sections */
.section { padding: clamp(64px, 10vw, 110px) 0; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p:last-child { color: var(--ink-soft); font-size: 1.1rem; }

/* Cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fffaf1; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px -18px rgba(29, 39, 51, .45); }
.card p { color: var(--ink-soft); margin: 0; }
.card-icon { display: inline-flex; width: 46px; height: 46px; border-radius: 50%; background: var(--paper-2); color: var(--ridge-3); align-items: center; justify-content: center; margin-bottom: 16px; }
.card-icon svg { width: 24px; height: 24px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* Feature */
.feature { background: var(--paper-2); }
.feature-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.feature-art svg { width: 100%; height: auto; border-radius: var(--radius); }
.fa-bg { fill: #2a3d50; }
.fa-hill { fill: var(--ridge-4); }
.fa-store rect, .fa-store path { fill: #8f3f1f; }
.fa-store .fa-door { fill: #3a1d10; }
.fa-store .fa-win { fill: #f4c56b; }
.fa-notes circle { fill: #f4c56b; }
.fa-notes path { stroke: #f4c56b; stroke-width: 3; fill: none; }
.text-link { font-weight: 600; text-decoration: none; }
@media (max-width: 820px) { .feature-grid { grid-template-columns: 1fr; } }

/* Parkway stops */
.stops { list-style: none; counter-reset: stop; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.stops li { counter-increment: stop; border-top: 3px solid var(--ridge-3); padding-top: 18px; }
.stops li::before { content: "0" counter(stop); font-family: var(--font-display); font-size: .95rem; color: var(--ember-dark); display: block; margin-bottom: 6px; }
.stops p { color: var(--ink-soft); margin: 0; }
@media (max-width: 760px) { .stops { grid-template-columns: 1fr; } }

/* FAQ */
.faq { background: #fffaf1; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.6rem; color: var(--ember); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-soft); padding-right: 36px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-form { background: #fffaf1; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid rgba(29, 39, 51, .28); border-radius: 8px; padding: 12px 14px; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px rgba(181, 83, 44, .2); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 6px 0 18px; min-height: 65px; }
.form-status { margin: 14px 0 0; font-weight: 500; min-height: 1.5em; }
.form-status.is-success { color: var(--sage); }
.form-status.is-error { color: #b3261e; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--ridge-4); color: #c9d4de; padding: 48px 0 40px; }
.site-footer .small { color: #9fb3c4; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 28px; align-items: start; }
.footer-brand { color: #fff; margin-bottom: 8px; }
.footer-brand .brand-thin { color: var(--ridge-1); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: #e8edf2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }

/* 404 */
.notfound { min-height: 70vh; display: flex; align-items: center; }
