/* ==========================================================================
   Weknz Patio Furniture — Shacklefords, VA
   Heritage family showroom. Palette from the Weknz logo:
   bark-brown wordmark (walnut), palm green, beach sand, sky.
   ========================================================================== */

:root {
  /* Walnut (logo wordmark + trunk) — the dark ink of the site */
  --walnut-950: #1f150d;
  --walnut-900: #2b1d13;
  --walnut-800: #3e2a1c;
  --walnut-600: #6f4a32;
  --walnut-300: #c9ad93;

  /* Palm green (logo leaves) — action color */
  --green-800: #145a32;
  --green-700: #1b7a41;   /* 5.3:1 with white */
  --green-500: #249c54;
  --green-100: #e6f2e4;

  /* Sand (logo beach) */
  --sand-400: #f5c55a;
  --sand-300: #fcd884;
  --sand-200: #fbe8b8;
  --sand-100: #fbf1da;

  /* Sky (logo background) — accent only, never body text on light */
  --sky-400: #5cc9ee;
  --sky-200: #bfe9f8;

  /* Semantic */
  --bg: #faf6ec;
  --paper: #fffdf7;
  --text: #2b1d13;
  --text-body: #47362a;
  --text-muted: #6b5a4c;      /* 6.2:1 on --bg */
  --on-dark: #f6ecdc;
  --on-dark-muted: #d8c6b0;   /* 9:1 on walnut-900 */
  --rule: #e6dac3;
  --rule-strong: #cdbb9c;
  --primary: var(--green-700);
  --primary-hover: var(--green-800);
  --focus: #1b7a41;
  --danger: #a3261b;

  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-body: "Libre Franklin", "Segoe UI", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(43, 29, 19, .06), 0 2px 8px rgba(43, 29, 19, .05);
  --shadow: 0 10px 30px -14px rgba(43, 29, 19, .35);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 8vw, 112px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset & browser surfaces ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px;
  scrollbar-color: var(--walnut-300) var(--bg); accent-color: var(--green-700);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  caret-color: var(--green-700);
}
::selection { background: var(--sand-300); color: var(--walnut-950); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-hover); text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--text); margin: 0 0 .5em; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; line-height: 1.1; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-family: var(--font-body); font-weight: 700; font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.3; letter-spacing: -0.005em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
strong { color: var(--text); font-weight: 650; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--walnut-900); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus, .skip-link:hover { top: 12px; color: #fff; }
.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; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }
.section--sand { background: var(--sand-100); }
.section--paper { background: var(--paper); }
.center { text-align: center; }
.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

.section-head { max-width: 680px; margin-bottom: clamp(32px, 4.5vw, 52px); }
.section-head.center { margin-inline: auto; }
.section-head p, .lead { color: var(--text-muted); font-size: 1.125rem; }
.section-head p:last-child { margin-bottom: 0; }

/* The horizon: sky over sand, lifted straight from the logo's beach */
.horizon { height: 8px; background: linear-gradient(var(--sky-400) 0 50%, var(--sand-300) 50% 100%); }

/* Unconfirmed business details, deliberately loud so they can't ship unnoticed */
.todo { background: #fff1b8; color: #5c3d00; border: 1px dashed #b7791f; border-radius: 4px; padding: 0 4px; font-style: normal; }

/* ---------- Buttons ---------- */
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font-weight: 650; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border-radius: var(--radius-sm); border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-hover); color: #fff; }
.btn--cta { background: var(--sand-300); color: var(--walnut-950); }
.btn--cta:hover { background: var(--sand-400); color: var(--walnut-950); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--rule-strong); }
.btn--ghost:hover { border-color: var(--walnut-800); color: var(--text); }
.btn--light { background: transparent; color: var(--on-dark); border-color: rgba(246,236,220,.45); }
.btn--light:hover { border-color: var(--on-dark); color: #fff; }
.btn[disabled] { opacity: .65; cursor: progress; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--walnut-900); color: var(--on-dark-muted); font-size: .875rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__info { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center; }
.topbar__info a, .topbar__info > span { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.topbar__info a:hover { color: var(--sand-300); }
.topbar__info .icon { width: 15px; height: 15px; color: var(--sand-300); }
.topbar__status { color: var(--on-dark); font-weight: 600; }
.topbar__social { display: flex; align-items: center; gap: 6px; }
.social-link {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  color: var(--on-dark); transition: background-color .2s, color .2s;
}
.social-link:hover { background: var(--sand-300); color: var(--walnut-950); }
.social-link .icon { width: 16px; height: 16px; }
@media (max-width: 899px) {
  .topbar__social, .topbar__hide-sm { display: none !important; }
  .topbar .container { justify-content: center; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { border-color: var(--rule); box-shadow: 0 8px 24px -18px rgba(43,29,19,.5); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: auto; height: 60px; }
.nav { display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 13px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .97rem; color: var(--text); text-decoration: none;
  background: none; border: 0; cursor: pointer;
  transition: color .2s, background-color .2s;
}
.nav__link:hover { color: var(--text); background: var(--sand-100); text-decoration: none; }
.nav__link[aria-current="page"] { color: var(--green-700); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav__link .icon { width: 16px; height: 16px; transition: transform .2s; }
.nav__link[aria-expanded="true"] .icon { transform: rotate(180deg); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; translate: -50% 0;
  min-width: 270px; padding: 8px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: var(--shadow); list-style: none;
  display: none;
}
.has-dropdown.is-open .dropdown { display: block; }
.dropdown a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem;
}
.dropdown a:hover { background: var(--sand-100); }
.dropdown .icon { color: var(--green-700); }

.header-call { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); flex: none; }
.header-call:hover { color: var(--text); text-decoration: none; }
.header-call__icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--green-700); color: #fff; transition: background-color .2s;
}
.header-call:hover .header-call__icon { background: var(--green-800); }
.header-call small { display: block; font-size: .8rem; color: var(--text-muted); line-height: 1.2; }
.header-call strong { font-size: 1.1rem; line-height: 1.3; font-variant-numeric: tabular-nums; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: var(--radius-sm); cursor: pointer;
  background: var(--walnut-900); color: #fff; border: 0; place-items: center;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 1099px) {
  .nav-toggle { display: grid; }
  .header-call .header-call__text { display: none; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); z-index: 120;
    flex-direction: column; align-items: stretch;
    background: var(--bg); padding: 96px 20px 32px;
    box-shadow: -20px 0 50px -20px rgba(0,0,0,.35);
    transform: translateX(100%); visibility: hidden;
    transition: transform .3s var(--ease), visibility .3s;
    overflow-y: auto;
  }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { width: 100%; justify-content: space-between; padding: 14px 16px; font-size: 1.05rem; }
  .nav__link[aria-current="page"] { text-underline-offset: 6px; }
  .dropdown { position: static; translate: none; min-width: 0; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 12px; }
  .nav__cta { margin-top: 20px; }
  .header-actions { display: flex; align-items: center; gap: 10px; }
  .nav-toggle { position: relative; z-index: 130; }
  .nav-backdrop {
    position: fixed; inset: 0; z-index: 110; background: rgba(31, 21, 13, .5);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
}
@media (min-width: 1100px) {
  .nav__cta, .nav-backdrop { display: none; }
  .header-actions { display: contents; }
}
@media (max-width: 520px) {
  .brand img { height: 50px; }
  .site-header .container { min-height: 68px; }
}

/* ---------- Home hero ---------- */
.hero { padding-block: clamp(32px, 5vw, 64px) clamp(48px, 6vw, 80px); }
.hero .container { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__est {
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
  font-family: var(--font-display); font-size: 1.15rem; color: var(--walnut-600);
}
.hero__est::after { content: ""; flex: 1; max-width: 120px; height: 1px; background: var(--rule-strong); }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--green-700); }
.hero__text { font-size: 1.2rem; color: var(--text-body); max-width: 33em; margin-bottom: 32px; }
.hero__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 28px; font-size: .95rem; color: var(--text-muted); }
.hero__proof a { color: inherit; }
.hero__proof .stars { color: #b7791f; }
.hero__photo { position: relative; margin: 0; }
.hero__photo img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; object-position: 30% 60%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.hero__photo figcaption { margin-top: 12px; font-size: .9rem; color: var(--text-muted); }
.hero__status {
  position: absolute; left: 16px; top: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; background: var(--paper); color: var(--text);
  font-weight: 650; font-size: .9rem; box-shadow: var(--shadow-sm);
}
.hero__status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--green-500); }
.hero__status.is-closed::before { background: #c2410c; }
/* The one authored entrance: headline and photo settle in together */
@keyframes settle { from { opacity: .35; transform: translateY(14px); } }
.hero h1, .hero__photo { animation: settle .9s var(--ease) both; }
.hero__photo { animation-delay: .12s; }
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero__photo img { aspect-ratio: 16 / 11; }
}

/* ---------- Marquee (quiet, pausable) ---------- */
.marquee {
  position: relative; display: flex; align-items: center; overflow: hidden;
  background: var(--sand-100); border-block: 1px solid var(--rule);
}
.marquee__window { display: flex; overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; flex: none; gap: 40px; padding: 18px 40px 18px 0; animation: marquee 60s linear infinite; }
.marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 40px; white-space: nowrap; font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--walnut-800); }
.marquee__item .icon { width: 22px; height: 22px; color: var(--green-500); }
.marquee__pause {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-inline: 8px 12px;
  border-radius: 50%; border: 1px solid var(--rule-strong); background: var(--paper); color: var(--walnut-800); cursor: pointer;
}
.marquee__pause:hover { border-color: var(--walnut-800); }
.marquee__pause .icon { width: 16px; height: 16px; }
.marquee__pause .i-play, .marquee.is-paused .marquee__pause .i-pause { display: none; }
.marquee.is-paused .marquee__pause .i-play { display: block; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Plan your visit ---------- */
.visit { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.visit__where { font-size: 1.15rem; margin-bottom: 20px; }
.visit__where strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }
.visit__card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: clamp(22px, 3.5vw, 32px); }
.visit__card h3 { margin-bottom: 4px; }
.bring { list-style: none; display: grid; gap: 0; margin: 8px 0 24px; counter-reset: bring; }
.bring li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.bring li::before { counter-increment: bring; content: counter(bring); grid-row: span 2; font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; color: var(--green-700); }
.bring strong { display: block; }
.bring span { color: var(--text-muted); font-size: .97rem; }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } }

/* Hours table + live status */
.hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px dashed var(--rule-strong); text-align: left; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { font-weight: 600; color: var(--text); }
.hours td { text-align: right; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--green-700); font-weight: 700; }
.hours tr.is-today th::after { content: " · today"; font-weight: 500; }
.hours .closed { color: #9a3412; }
.open-status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .88rem; background: var(--green-100); color: var(--green-800); margin-bottom: 12px; }
.open-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); }
.open-status.is-closed { background: #fbe9e1; color: #9a3412; }
.open-status.is-closed::before { background: #c2410c; }

/* ---------- Heritage story ---------- */
.story { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 6vw, 88px); align-items: start; }
.story__year { font-family: var(--font-display); font-size: clamp(5rem, 13vw, 10rem); line-height: .85; color: var(--walnut-800); letter-spacing: -0.03em; }
.story__year small { display: block; font-family: var(--font-body); font-size: .95rem; letter-spacing: 0; color: var(--text-muted); margin-top: 14px; }
.story__body { max-width: 640px; }
.story__body p { font-size: 1.125rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 28px 0 28px; border-top: 1px solid var(--rule-strong); }
.facts div { padding: 16px 16px 0 0; }
.facts dt { font-weight: 700; color: var(--text); }
.facts dd { margin: 2px 0 0; color: var(--text-muted); font-size: .95rem; }
@media (max-width: 760px) {
  .story { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts div { padding: 14px 0; border-bottom: 1px solid var(--rule); }
}

/* ---------- How it's built (spec sheet) ---------- */
.built { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.spec { list-style: none; border-top: 2px solid var(--walnut-800); }
.spec li { display: grid; grid-template-columns: minmax(150px, .7fr) 1.3fr; gap: 8px 32px; padding: 20px 0; border-bottom: 1px solid var(--rule-strong); }
.spec h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; margin: 0; }
.spec p { margin: 0; color: var(--text-body); }
@media (max-width: 900px) { .built { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .spec li { grid-template-columns: 1fr; } }

/* ---------- Showroom mosaic (gallery + categories) ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; list-style: none; }
.mosaic li:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic li:nth-child(3) { grid-row: span 2; }
.mosaic li:nth-child(5), .mosaic li:nth-child(6) { grid-column: span 2; }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%;
  overflow: hidden; border-radius: var(--radius); text-decoration: none; color: #fff; background: var(--walnut-800);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(31,21,13,.82)); }
.tile:hover img { transform: scale(1.04); }
.tile__label { position: relative; z-index: 1; padding: 16px 18px; }
.tile__label strong { display: block; color: #fff; font-size: 1.1rem; line-height: 1.3; }
.tile__label span { display: block; font-size: .9rem; color: #f1e6d6; }
.tile__label .icon { display: inline-block; vertical-align: -3px; margin-left: 4px; width: 18px; height: 18px; transition: transform .25s var(--ease); }
.tile__label strong .nw { display: inline; white-space: nowrap; font-size: inherit; color: inherit; }
.tile:hover { color: #fff; }
.tile:hover .tile__label .icon { transform: translateX(4px); }
.tile--text { background: var(--walnut-900); justify-content: space-between; padding: 22px; }
.tile--text::after { display: none; }
.tile--text .tile__label { padding: 0; }
.tile--text p { position: relative; color: var(--on-dark-muted); margin: 0; font-size: .97rem; }
.tile--text .tile__title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.15; color: var(--sand-300); }
@media (max-width: 900px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .mosaic li:nth-child(1) { grid-row: span 1; }
  .mosaic li:nth-child(3) { grid-row: span 1; }
  .mosaic li:nth-child(5) { grid-column: span 1; }
}
@media (max-width: 560px) {
  .mosaic { gap: 10px; grid-auto-rows: 160px; }
  .mosaic li:nth-child(1), .mosaic li:nth-child(6) { grid-column: span 2; }
  .mosaic li:nth-child(1) { grid-row: span 1; }
  .tile--text .tile__title { font-size: 1.25rem; }
  .tile__label { padding: 12px; }
  .tile__label strong { font-size: 1rem; }
  .tile__label span { display: none; }
  .tile--text { padding: 16px; }
}

/* ---------- Quote band (walnut) ---------- */
.quote-band { background: var(--walnut-900); color: var(--on-dark); }
.quote-band .container { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.quote-band h2 { color: #fff; }
.quote-band p { color: var(--on-dark-muted); }
.quote-band a:not(.btn) { color: var(--sand-300); }
.quote-band__list { list-style: none; display: grid; gap: 12px; margin: 24px 0 28px; }
.quote-band__list li { display: flex; align-items: flex-start; gap: 12px; color: var(--on-dark); }
.quote-band__list .icon { color: var(--sand-300); margin-top: 3px; }
@media (max-width: 900px) { .quote-band .container { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-card { background: var(--paper); color: var(--text-body); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.form-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; margin-bottom: 4px; }
.form-card > p { margin-bottom: 22px; }
.form-card p, .quote-band .form-card p { color: var(--text-muted); }
.quote-band .form-card a { color: var(--primary); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .92rem; font-weight: 600; color: var(--text); }
.field label .req { color: var(--danger); }
.field label .opt { font-weight: 400; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1.5px solid var(--rule-strong); border-radius: var(--radius-sm); background: #fff;
  font-size: 1rem; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field ::placeholder { color: #7d6c5e; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 4px rgba(27,122,65,.18); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field__error { display: none; font-size: .88rem; color: var(--danger); }
.field.has-error .field__error { display: block; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-reassure { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 0; font-size: .92rem; color: var(--text-muted); }
.form-reassure .icon { color: var(--green-700); margin-top: 2px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 18px; }
.form-note { font-size: .92rem; color: var(--text-muted); margin: 0; }
.quote-band .form-note { display: none; }
.form-status { display: none; margin-top: 18px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--green-100); color: var(--green-800); }
.form-status strong { display: block; color: inherit; }
.form-status p { margin: 4px 0 0; color: var(--text-body); }
.form-status.is-visible { display: block; }
.form-status.is-error { background: #fbe9e1; color: #8a2a12; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.rating { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.rating__score { font-family: var(--font-display); font-size: clamp(4rem, 9vw, 6.5rem); line-height: .9; color: var(--walnut-800); }
.rating__score small { display: block; margin-top: 10px; font-family: var(--font-body); font-size: .95rem; color: var(--text-muted); }
.stars { display: flex; gap: 3px; color: #b7791f; }
.stars .icon { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.stars .icon--half { opacity: .4; }
.rating__body p { font-size: 1.15rem; max-width: 40em; }
.rating__body h2 { margin-top: 14px; }
.rating--spaced { margin-bottom: clamp(40px, 6vw, 64px); }
@media (max-width: 640px) { .rating { grid-template-columns: 1fr; } }
.themes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; list-style: none; border-top: 2px solid var(--walnut-800); }
.themes li { padding: 22px 0; border-bottom: 1px solid var(--rule-strong); }
.themes h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; margin-bottom: 6px; }
.themes p { margin: 0; color: var(--text-muted); }
@media (max-width: 700px) { .themes { grid-template-columns: 1fr; } }
.review-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.review-quotes blockquote { margin: 12px 0; }
.review-quotes figure { margin: 0; padding: 24px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); }

/* ---------- FAQ accordion (native <details>) ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--rule-strong); }
.faq details { border-bottom: 1px solid var(--rule-strong); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 4px; cursor: pointer; list-style: none;
  font-weight: 650; font-size: 1.08rem; color: var(--text);
}
.faq summary:hover { color: var(--green-800); }
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid var(--rule-strong); color: var(--walnut-800); transition: transform .25s var(--ease), background-color .2s; }
.faq__icon .icon { width: 16px; height: 16px; }
.faq details[open] .faq__icon { transform: rotate(45deg); background: var(--sand-300); border-color: var(--sand-300); }
.faq__body { padding: 0 4px 22px; color: var(--text-body); max-width: 68ch; }
.faq__body p:last-child { margin: 0; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-bottom: 16px; }
.faq-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-aside { position: sticky; top: 112px; display: grid; gap: 28px; }
.faq-aside nav { display: grid; gap: 2px; border-left: 1px solid var(--rule-strong); }
.faq-aside nav a { padding: 8px 14px; text-decoration: none; color: var(--text); font-weight: 600; }
.faq-aside nav a:hover { color: var(--green-800); background: var(--sand-100); }
.faq-aside__help { padding: 22px; border-radius: var(--radius); background: var(--walnut-900); color: var(--on-dark-muted); }
.faq-aside__help .faq-aside__title { font-family: var(--font-display); font-size: 1.35rem; color: #fff; margin-bottom: 6px; }
.faq-aside__help .btn { width: 100%; margin-top: 10px; }
@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .faq-aside nav { display: flex; flex-wrap: wrap; border-left: 0; gap: 8px; }
  .faq-aside nav a { border: 1px solid var(--rule-strong); border-radius: 999px; padding: 8px 16px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(36px, 6vw, 72px); border-bottom: 1px solid var(--rule); }
.page-hero .container { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero--media .container { grid-template-columns: 1.05fr .95fr; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 16em; }
.page-hero p { font-size: 1.15rem; max-width: 36em; color: var(--text-body); margin-bottom: 26px; }
.page-hero__media { margin: 0; }
.page-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.page-hero__media .map-frame { aspect-ratio: 4 / 3; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: .92rem; margin-bottom: 18px; color: var(--text-muted); }
.breadcrumb a { color: var(--walnut-600); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--rule-strong); }
.breadcrumb [aria-current] { color: var(--text-muted); }
@media (max-width: 900px) { .page-hero--media .container { grid-template-columns: 1fr; } }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split--top { align-items: start; }
.split__media { position: relative; margin: 0; }
.split__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split__media figcaption { margin-top: 10px; font-size: .9rem; color: var(--text-muted); }
.checklist { list-style: none; display: grid; gap: 12px; margin: 24px 0 30px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { color: var(--green-700); margin-top: 4px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* ---------- Furniture categories ---------- */
.chip-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--rule-strong); color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem;
  transition: border-color .2s, background-color .2s;
}
.chip:hover { border-color: var(--walnut-800); background: var(--sand-100); color: var(--text); }
.chip .icon { color: var(--green-700); width: 18px; height: 18px; }
.category { padding-block: clamp(48px, 7vw, 88px); border-top: 1px solid var(--rule); }
.category:first-child { border-top: 0; }
.ideal { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 28px; list-style: none; }
.ideal li { padding: 5px 13px; border-radius: 999px; background: var(--sand-200); color: var(--walnut-800); font-weight: 600; font-size: .88rem; }

.swatches { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 14px; }
.swatch { font-size: .9rem; font-weight: 600; color: var(--text); }
.swatch span { display: block; aspect-ratio: 5 / 4; border-radius: var(--radius-sm); margin-bottom: 8px; border: 1px solid rgba(0,0,0,.1);
  background-image: repeating-linear-gradient(0deg, rgba(0,0,0,.07) 0 2px, transparent 2px 22px); }

.swatch-note { margin: 24px 0 0; color: var(--text-muted); font-size: .95rem; }
.category .lead { color: var(--walnut-600); font-family: var(--font-display); font-size: 1.3rem; }

/* ---------- Service areas ---------- */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; list-style: none; border-top: 2px solid var(--walnut-800); }
.area { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--rule-strong); }
.area strong { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; }
.area small { font-size: .9rem; color: var(--text-muted); text-align: right; }
.area--home strong { color: var(--green-700); }
@media (max-width: 900px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .areas { grid-template-columns: 1fr; } }

.map-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--sand-100); aspect-ratio: 16 / 10; }
.map-frame--wide { aspect-ratio: auto; height: clamp(320px, 38vw, 500px); }
.map-frame::before { content: "Loading map of Shacklefords, VA"; position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--text-muted); font-size: .95rem; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.info-list { list-style: none; border-top: 2px solid var(--walnut-800); margin-bottom: 32px; }
.info-item { display: grid; grid-template-columns: 28px 1fr; gap: 4px 14px; padding: 18px 0; border-bottom: 1px solid var(--rule-strong); }
.info-item > .icon { color: var(--green-700); width: 22px; height: 22px; margin-top: 3px; }
.info-item h3 { font-size: 1rem; margin: 0 0 2px; }
.info-item p { margin: 0; color: var(--text-muted); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Closing invitation ---------- */
.cta-banner {
  display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center;
  padding: clamp(28px, 5vw, 52px); border-radius: var(--radius-lg);
  background: var(--sand-300); color: var(--walnut-950);
}
.cta-banner h2 { color: var(--walnut-950); margin-bottom: 8px; }
.cta-banner p { margin: 0; color: var(--walnut-800); font-size: 1.1rem; }
.cta-banner .btn--ghost { border-color: rgba(43,29,19,.35); }
@media (max-width: 860px) { .cta-banner { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--walnut-900); color: var(--on-dark-muted); font-size: .97rem; }
.site-footer .footer-main { padding-top: clamp(52px, 7vw, 88px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.3fr; gap: 40px; }
.footer-brand img { width: 150px; height: auto; margin-bottom: 20px; padding: 10px 14px; border-radius: var(--radius); background: var(--bg); }
.footer-tagline { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.3; color: #fff; margin-bottom: 10px; }
.site-footer h2 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; color: #fff; margin-bottom: 16px; }
.footer-links { list-style: none; display: grid; gap: 8px; }
.footer-links a, .footer-contact a { color: var(--on-dark-muted); text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--sand-300); text-decoration: underline; }
.footer-contact { list-style: none; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { color: var(--sand-300); margin-top: 4px; width: 18px; height: 18px; }
.footer-social { display: flex; gap: 6px; margin-top: 18px; }
.footer-bottom { margin-top: 52px; padding-block: 22px; border-top: 1px solid rgba(246,236,220,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem; color: var(--on-dark-muted); }
.footer-bottom em { font-style: normal; font-family: var(--font-display); color: var(--sky-200); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { gap: 32px 20px; } .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; } }

/* Mobile call bar */
.mobile-callbar { display: none; }
@media (max-width: 640px) {
  .mobile-callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--walnut-900);
    box-shadow: 0 -8px 24px -12px rgba(31,21,13,.5);
  }
  .mobile-callbar .btn { min-height: 46px; padding: 10px 12px; }
  body { padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track { animation: none; }
  .marquee__pause { display: none; }
}
