/* Lewiston RV Center — public site styles. Brand tokens are FINAL (see CLAUDE.md). */
:root {
  --navy: #172A3A; --slate: #49657A; --dusty: #7892A5; --mist: #D9E3E8;
  --paper: #F7F6F2; --red: #D2232A; --card: #FFFFFF;
  --ink: var(--navy); --ink-soft: #45586A; --hairline: #DDD9CE; --ok: #2F6B4A;
}
* { box-sizing: border-box; }
.nowrap { white-space: nowrap; }
body {
  background: var(--paper); color: var(--ink);
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px; line-height: 1.55; margin: 0;
}
img { max-width: 100%; }
a { color: var(--slate); }

/* ---------- header / footer ---------- */
.site-header {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  max-width: 1080px; margin: 0 auto; padding: 18px 20px;
}
.site-header .logo img { display: block; width: min(230px, 46vw); height: auto; }
.site-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; flex-wrap: wrap; }
.site-nav a {
  font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 14px;
  letter-spacing: 0.04em; text-decoration: none; color: var(--navy);
}
.site-nav a:hover { color: var(--red); }
/* Phones: logo + nav links share the first row, the Call button goes
   full-width beneath (a thumb-size target), and the Parts chip disappears —
   the strip and footer already announce it. */
@media (max-width: 560px) {
  .site-header { row-gap: 14px; column-gap: 12px; padding-top: 14px; padding-bottom: 14px; }
  .site-header .logo img { width: min(150px, 36vw); }
  .site-nav { display: contents; }
  .site-nav .nav-soon { display: none; }
  .site-nav a:not(.nav-call) { order: 1; font-size: 13.5px; }
  .site-nav a:first-of-type { margin-left: auto; }
  .site-nav .nav-call { order: 2; flex-basis: 100%; text-align: center; font-size: 16px; padding: 13px 18px; }
}
.nav-soon {
  font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 12.5px;
  color: var(--ink-soft); background: var(--mist); border-radius: 4px; padding: 5px 10px;
  letter-spacing: 0.04em; white-space: nowrap;
}
.nav-call {
  font-family: "DM Sans", sans-serif; font-weight: 700; font-size: 15px;
  background: var(--red); color: #fff !important; border-radius: 6px;
  padding: 10px 18px; text-decoration: none; white-space: nowrap;
}
.nav-call:hover { background: #B71E24; }

.site-footer { margin-top: 64px; }
.road-lockup { text-align: center; margin: 0 auto 26px; }
.site-footer .road {
  display: block; width: 100%; max-width: 460px; height: auto;
  margin: 0 auto 6px; mix-blend-mode: multiply; opacity: 0.75; padding: 0 20px; box-sizing: border-box;
}
.road-slogan {
  font-family: "Lora", Georgia, serif; font-style: italic; font-size: 15.5px;
  color: var(--ink-soft); margin: 0; padding: 0 20px;
}
.foot-dark {
  background: var(--navy); color: var(--paper);
  border-top: 3px solid transparent;
  border-image: repeating-linear-gradient(90deg, var(--dusty) 0 24px, transparent 24px 42px) 1;
}
.foot-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.foot-top {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
  flex-wrap: wrap; padding-top: 52px;
}
.foot-kicker {
  font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 12px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--mist); margin: 0 0 10px;
}
.foot-head {
  font-family: "League Spartan", sans-serif; font-weight: 700;
  font-size: clamp(28px, 4vw, 40px); line-height: 1.05; margin: 0; color: var(--paper);
  text-wrap: balance;
}
.foot-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.foot-call { display: inline-flex; align-items: center; gap: 10px; font-size: 16.5px; padding: 14px 24px; }
.foot-dir {
  display: inline-flex; align-items: center; gap: 10px; font-size: 16.5px; font-weight: 700;
  padding: 14px 24px; border: 1px solid rgba(247, 246, 242, 0.35); border-radius: 6px;
  color: var(--paper); text-decoration: none; transition: border-color 0.15s ease;
}
.foot-dir:hover { border-color: var(--paper); color: var(--paper); }
.foot-rule { height: 1px; background: rgba(247, 246, 242, 0.14); margin: 40px 0; }
.foot-grid {
  display: grid; grid-template-columns: 1.25fr 1.1fr 1fr 0.95fr; column-gap: 44px; row-gap: 34px;
  padding-bottom: 52px;
}
.foot-col h3 {
  font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 12.5px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist); margin: 0 0 14px;
}
.foot-col address { font-style: normal; font-size: 16px; line-height: 1.55; margin: 0 0 12px; }
.fc-soft { color: var(--mist); opacity: 0.75; }
.foot-pairs {
  display: grid; grid-template-columns: max-content 1fr; column-gap: 16px; row-gap: 9px;
  font-size: 16px; font-variant-numeric: tabular-nums;
}
.foot-pairs > span:nth-child(even) { white-space: nowrap; }
.foot-dark a { color: var(--paper); text-decoration: none; }
.foot-dark a:hover { color: var(--mist); }
.foot-links { display: flex; flex-direction: column; gap: 10px; font-size: 15.5px; }
.foot-bar { background: rgba(0, 0, 0, 0.25); margin-top: 0; }
.fb-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding-top: 20px; padding-bottom: 20px; font-size: 13.5px; color: var(--mist);
}
.fb-mark {
  font-family: "League Spartan", sans-serif; font-weight: 700; font-size: 19px;
  color: var(--paper); letter-spacing: 0.01em;
}
@media (max-width: 860px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .foot-top { padding-top: 40px; }
  .foot-ctas { width: 100%; flex-direction: column; }
  .foot-call, .foot-dir { justify-content: center; }
  .foot-grid { grid-template-columns: 1fr; padding-bottom: 40px; }
  .fb-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
}

.page-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- type + headings ---------- */
h1, h2 {
  font-family: "League Spartan", sans-serif; font-weight: 700;
  line-height: 1.08; margin: 0 0 12px; text-wrap: balance;
}
h1 { font-size: clamp(30px, 5.4vw, 44px); }
h2 { font-size: clamp(22px, 3.6vw, 30px); }
.eyebrow {
  font-family: "Montserrat", sans-serif; font-weight: 600;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--slate); margin: 0 0 10px;
}
@media (max-width: 480px) { .eyebrow { font-size: 10.5px; letter-spacing: 0.1em; } }
.lede { font-family: "Lora", Georgia, serif; font-style: italic; font-size: 18.5px; color: var(--ink-soft); }

/* ---------- badges & pills (Option C — FINAL) ---------- */
.badge {
  display: inline-block; font-family: "Montserrat", sans-serif; font-weight: 600;
  font-size: 11.5px; letter-spacing: 0.09em; padding: 5px 11px 4px; border-radius: 3px;
}
.badge-NEW { background: #172A3A; color: #F7F6F2; }
.badge-PRE-OWNED { background: #49657A; color: #F7F6F2; }
.badge-SALE { background: #D2232A; color: #F7F6F2; }
.badge-SOLD { background: #D9E3E8; color: #172A3A; }
.badge-TEST { background: var(--paper); color: var(--slate); border: 1.5px dashed var(--dusty); }
.pill {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; background: var(--mist); color: var(--navy);
  border-radius: 3px; padding: 4px 9px;
}

/* ---------- unit cards (ported from the Pull-Through preview) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
/* Homepage "Fresh on the lot": always three across on desktop, so the row fills the width */
@media (min-width: 940px) { .section .card-grid { grid-template-columns: repeat(3, 1fr); } }
.unit-card {
  background: var(--card); border: 1px solid var(--hairline); border-radius: 8px;
  overflow: hidden; text-decoration: none; color: var(--ink); display: block;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.unit-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(23,42,58,0.10); }
.uc-photo { height: 200px; background: linear-gradient(160deg, var(--mist), var(--dusty)); position: relative; overflow: hidden; }
.uc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.uc-photo .badge { position: absolute; top: 12px; left: 12px; }
.uc-photo .pill { position: absolute; top: 12px; right: 12px; }
.uc-body { padding: 14px 16px 16px; }
.uc-title { font-weight: 700; font-size: 16.5px; margin: 0 0 2px; line-height: 1.3; }
.uc-stock { font-size: 12.5px; color: var(--ink-soft); margin: 0 0 10px; }
.uc-specs { display: flex; gap: 15px; font-size: 15.5px; margin-bottom: 10px; flex-wrap: wrap; }
.uc-specs b { font-weight: 700; }
.uc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.uc-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  background: var(--mist); color: var(--navy); border-radius: 3px; padding: 3px 8px;
}
.uc-price { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.uc-price .msrp { font-size: 13.5px; font-weight: 500; color: var(--ink-soft); text-decoration: line-through; margin-right: 10px; }
.uc-price .now { color: var(--red); }
/* make-an-offer units: a navy chip in the price slot (NEW-badge colors) —
   stands out by shape and weight, not heat; red stays for real savings */
.uc-price .offer-now {
  color: var(--paper); font-size: 0.78em; letter-spacing: 0.015em;
  background: var(--navy); border-radius: 6px; padding: 5px 13px; display: inline-block;
}
.uc-price .sold { color: var(--ink-soft); }
.uc-save { font-size: 13px; color: var(--ok); font-weight: 500; margin-top: 2px; }
.uc-asis { font-size: 12px; color: var(--ink-soft); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.05em; }

/* ---------- homepage ---------- */
.hero { padding: 52px 0 8px; max-width: 720px; }
.hero-split {
  max-width: none; display: grid; grid-template-columns: minmax(0, 10fr) minmax(0, 9fr);
  gap: 48px; align-items: center; padding: 46px 0 10px;
}
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 30px; }
.hero-browse { font-size: 17px; padding: 14px 28px; }
.hero-call { font-size: 17px; font-weight: 600; color: var(--navy); text-decoration: none; display: inline-block; padding: 11px 0; }
.hero-call:hover { color: var(--red); }
.hero-unit { display: block; text-decoration: none; color: var(--ink); }
.hu-photo {
  position: relative; border-radius: 10px; overflow: hidden;
  background: linear-gradient(160deg, var(--mist), var(--dusty));
  box-shadow: 0 14px 38px rgba(23,42,58,0.14);
}
.hu-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.5s cubic-bezier(0.16,1,0.3,1); }
.hero-unit:hover .hu-photo img { transform: scale(1.03); }
.hu-photo .badge { position: absolute; top: 16px; left: 16px; font-size: 12.5px; }
.hu-price {
  position: absolute; right: 16px; bottom: 16px;
  font-family: "League Spartan", sans-serif; font-weight: 700; font-size: 24px;
  background: var(--paper); color: var(--red); border-radius: 6px; padding: 8px 14px 6px;
  font-variant-numeric: tabular-nums; box-shadow: 0 4px 14px rgba(23,42,58,0.18);
}
.hu-caption { font-size: 16px; color: var(--ink-soft); margin: 12px 4px 0; }
.hu-caption b { color: var(--ink); font-weight: 600; }
.hu-more { color: var(--slate); font-weight: 500; white-space: nowrap; margin-left: 6px; }
.hero-unit:hover .hu-more { color: var(--red); }
.hero-unit-empty .hu-sketch { display: block; width: 100%; height: auto; mix-blend-mode: multiply; opacity: 0.85; }
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; gap: 28px; }
}
.hero h1 { font-size: clamp(36px, 6.2vw, 58px); letter-spacing: 0.002em; }
.hero .lede { max-width: 52ch; font-size: 19.5px; }
.hero-copy::after {
  content: ""; display: block; height: 3px; width: 264px; margin-top: 30px;
  background: repeating-linear-gradient(90deg, var(--dusty) 0 24px, transparent 24px 42px);
  transform-origin: left center;
}
.type-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 14px; }
.type-tile {
  background: var(--card); border: 1px solid var(--hairline); border-radius: 8px;
  text-decoration: none; color: var(--ink); overflow: hidden; display: block;
  transition: transform 0.14s ease, border-color 0.14s ease;
}
.type-tile:hover { transform: translateY(-2px); border-color: var(--dusty); }
/* Horizontal band tiles: photo left, name + count right — reads as a category,
   not another unit card, and two tiles fill the row cleanly. */
.type-tile.has-photo { display: flex; align-items: stretch; }
.tt-photo { display: block; flex: none; width: 172px; aspect-ratio: 3 / 2; overflow: hidden; border-right: 1px solid var(--hairline); background: linear-gradient(135deg, var(--mist), #cdd9e0); }
.tt-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.type-tile:hover .tt-photo img { transform: scale(1.05); }
.tt-text { display: block; align-self: center; padding: 14px 18px; }
.type-tile b { font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 16.5px; display: block; letter-spacing: 0.01em; margin-bottom: 3px; }
.tt-text > span { font-size: 14px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
@media (max-width: 420px) { .tt-photo { width: 128px; } }
.section { margin-top: 64px; }
.section-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.section-head h2 { position: relative; padding-bottom: 12px; margin-bottom: 0; }
.section-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; background: var(--red); }
/* One secondary-link grammar: Montserrat slate, red on hover, padded to a
   finger-size target — shared by "See all", the crew link, and kin. */
.section-head .more, .cs-link {
  font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 16px;
  letter-spacing: 0.02em; color: var(--slate); text-decoration: none;
  display: inline-block; padding: 10px 0;
}
.section-head .more:hover, .cs-link:hover { color: var(--red); }
.section-head .more { margin-left: auto; }
.parts-strip {
  margin-top: 52px; border: 1.5px dashed var(--dusty); border-radius: 8px;
  padding: 16px 20px; font-size: 16px; color: var(--ink-soft);
}
.parts-strip b { color: var(--ink); }

/* The crew strip: the one thing the footer can't say — real people, real shop. */
.crew-strip {
  margin-top: 26px; display: grid; grid-template-columns: 5fr 6fr; align-items: center;
  background: var(--card); border: 1px solid var(--hairline); border-radius: 10px; overflow: hidden;
}
.cs-photo { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 270px; }
.cs-copy { padding: 30px 34px; }
.cs-copy p { margin: 0 0 10px; max-width: 54ch; }
.cs-aside { font-family: "Lora", Georgia, serif; font-style: italic; color: var(--ink-soft); font-size: 18.5px; margin: 14px 0 18px !important; }
@media (max-width: 860px) {
  .crew-strip { grid-template-columns: 1fr; }
  .cs-photo { min-height: 0; max-height: 250px; }
  .cs-copy { padding: 22px 22px 26px; }
}

/* ---------- inventory page ---------- */
.rvs-layout { display: grid; grid-template-columns: 250px 1fr; gap: 30px; align-items: start; margin-top: 20px; }
.rvs-layout.one-col { grid-template-columns: 1fr; }
.filters {
  background: var(--card); border: 1px solid var(--hairline); border-radius: 8px; padding: 4px 16px 16px;
}
.filters summary {
  font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate);
  padding: 12px 0 8px; cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
}
.filters summary::-webkit-details-marker { display: none; }
.filters .sum-chev { display: none; }
@media (max-width: 860px) {
  .filters summary { padding: 14px 0; }
  .filters .sum-chev { display: block; flex: none; transition: transform 0.15s ease; }
  .filters details[open] .sum-chev { transform: rotate(180deg); }
}
.filters label { display: block; font-size: 13px; font-weight: 500; margin: 12px 0 4px; }
.filters select, .filters input {
  font: inherit; font-size: 16px; width: 100%; color: var(--ink);
  background: var(--paper); border: 1px solid var(--hairline); border-radius: 5px; padding: 8px 10px;
}
.filters button {
  font: inherit; font-family: "DM Sans", sans-serif; font-weight: 700; font-size: 15px; width: 100%;
  margin-top: 16px; background: var(--red); color: #fff; border: 0; border-radius: 6px;
  padding: 11px; cursor: pointer;
}
.filters button:hover { background: #B71E24; }
.filters .clear { display: block; text-align: center; font-size: 13px; margin-top: 10px; }
.filters .auto-note { margin: 2px 0 0; font-size: 13px; color: var(--ink-soft); }
/* applied-filter removal chips above the results */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--mist); color: var(--navy); text-decoration: none;
  font-size: 15px; font-weight: 500; border-radius: 6px; padding: 9px 13px;
}
.chip span { font-weight: 700; color: var(--slate); }
.chip:hover { background: #CBD9E1; }
.chip:hover span { color: var(--red); }
.chip-clear { background: transparent; border: 1px solid var(--hairline); color: var(--slate); }
.chip-clear:hover { background: var(--card); color: var(--navy); }
.rvs-head { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.rvs-head h1 { margin-bottom: 0; }
.results-bar { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-left: auto; }
.results-bar .count { font-size: 14.5px; color: var(--ink-soft); }
.results-bar form { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.results-bar .sort-label { font-size: 14px; color: var(--ink-soft); }
.results-bar select {
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--card); border: 1px solid var(--hairline); border-radius: 5px; padding: 10px 11px;
}
.results-bar .sort-go {
  font: inherit; font-size: 15px; font-weight: 600; color: var(--paper);
  background: var(--navy); border: 0; border-radius: 6px; padding: 10px 14px; cursor: pointer;
}
.empty-state {
  background: var(--card); border: 1px solid var(--hairline); border-radius: 8px;
  padding: 48px 24px; text-align: center; color: var(--ink-soft);
}
.empty-state.boondock { padding: 30px 28px 34px; }
.boondock .bd-sketch {
  display: block; width: 100%; max-width: 620px; height: auto;
  margin: 0 auto 6px; mix-blend-mode: multiply; opacity: 0.85;
}
.boondock .bd-def {
  font-family: "Lora", Georgia, serif; font-style: italic; font-size: 17px;
  color: var(--ink-soft); max-width: 52ch; margin: 0 auto 10px; line-height: 1.6;
}
.boondock .bd-def b { font-style: normal; font-family: "DM Sans", sans-serif; font-weight: 700; color: var(--ink); }
.boondock .bd-back { margin: 0; font-size: 15px; }
.boondock .bd-back a { color: var(--slate); font-weight: 500; }
.boondock .bd-back a:hover { color: var(--red); }

/* ---------- unit page ---------- */
.unit-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr); gap: 34px; align-items: start; margin-top: 10px; }
.gallery-main {
  background: linear-gradient(160deg, var(--mist), var(--dusty));
  border-radius: 8px; overflow: hidden; aspect-ratio: 3 / 2; position: relative;
}
/* Swipeable photo track: native scroll-snap — a flick on touch, trackpad or
   arrows on desktop. One photo per snap stop, no library. */
.gallery-track {
  display: flex; height: 100%; overflow-x: auto;
  scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track img {
  width: 100%; height: 100%; flex: none; object-fit: cover; display: block;
  scroll-snap-align: start; scroll-snap-stop: always;
}
.g-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 6px; border: 1px solid var(--hairline);
  background: rgba(247, 246, 242, 0.92); color: var(--navy);
  display: grid; place-items: center; cursor: pointer; padding: 0;
  transition: background-color 0.15s ease;
}
.g-arrow:hover { background: var(--paper); color: var(--red); }
.g-prev { left: 10px; }
.g-next { right: 10px; }
.g-count {
  position: absolute; right: 10px; bottom: 10px;
  font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 12.5px;
  letter-spacing: 0.04em; font-variant-numeric: tabular-nums;
  background: rgba(247, 246, 242, 0.92); color: var(--navy);
  border-radius: 4px; padding: 4px 9px;
}
@media (max-width: 560px) { .g-arrow { width: 38px; height: 38px; } }
.gallery-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; }
.gallery-thumbs img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 5px;
  cursor: pointer; border: 2px solid transparent; display: block;
}
.gallery-thumbs img.active { border-color: var(--red); }
.unit-head .badges { display: flex; gap: 8px; margin: 0 0 10px; }
.price-block {
  background: var(--card); border: 1px solid var(--hairline); border-radius: 8px;
  padding: 20px 22px; margin-top: 18px;
}
.price-block .uc-price { font-size: 30px; }
.price-block .uc-price .msrp { font-size: 15px; }
.price-block .disclaimer { font-size: 12px; color: var(--ink-soft); margin: 8px 0 0; }
.cta-block { margin-top: 16px; }
.cta-block .nav-call { display: block; text-align: center; font-size: 17px; padding: 14px 15px; white-space: normal; line-height: 1.4; }
.cta-block .cta-line { display: block; }
.cta-block address { font-style: normal; font-size: 14px; color: var(--ink-soft); margin-top: 14px; line-height: 1.7; text-align: center; }
.desc { margin-top: 26px; max-width: 65ch; }
.specs { margin-top: 34px; }
.specs h2 { font-size: 22px; }
.specs table { border-collapse: collapse; width: 100%; max-width: 640px; }
.specs th, .specs td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--hairline); font-size: 14.5px; }
.specs th { font-weight: 500; color: var(--ink-soft); width: 46%; }
.specs td { font-variant-numeric: tabular-nums; }
.specs .group td {
  font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate);
  padding-top: 22px; border-bottom: 2px solid var(--hairline);
}
.feature-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 7px 18px; max-width: 640px; padding: 0; margin: 14px 0 0; list-style: none; font-size: 14.5px; }
.feature-list li::before { content: "✓  "; color: var(--ok); font-weight: 700; }
.draft-banner {
  background: #FFF6E5; border: 1px solid #E8D5A8; color: #8A6100;
  border-radius: 6px; padding: 12px 16px; font-size: 14.5px; margin-bottom: 18px;
}
.crumb { font-size: 13.5px; margin: 18px 0 6px; }

/* ---------- responsive ---------- */
@media (min-width: 861px) {
  .filters > details { display: block; }
  .filters summary { pointer-events: none; }
}
@media (max-width: 860px) {
  .rvs-layout { grid-template-columns: 1fr; }
  .unit-layout { grid-template-columns: 1fr; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- motion & micro-interactions (phase 2 polish) ---------- */
::selection { background: var(--mist); color: var(--navy); }
:focus-visible { outline: 2px solid var(--slate); outline-offset: 2px; border-radius: 2px; }

.site-nav a:not(.nav-call) {
  background-image: linear-gradient(var(--red), var(--red));
  background-repeat: no-repeat; background-size: 0% 2px; background-position: 0 100%;
  padding-bottom: 3px; transition: background-size 0.22s cubic-bezier(0.16, 1, 0.3, 1), color 0.15s ease;
}
.site-nav a:not(.nav-call):hover { background-size: 100% 2px; }

.nav-call, .filters button, a.home { transition: background-color 0.15s ease, transform 0.1s ease; }
.nav-call:active, .filters button:active { transform: scale(0.98); }

.uc-photo img { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.unit-card:hover .uc-photo img { transform: scale(1.04); }

.type-tile { position: relative; }
.type-tile:hover b { color: var(--red); transition: color 0.15s ease; }

@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  @keyframes roadDraw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  .hero .eyebrow { animation: rise 0.5s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .hero h1 { animation: rise 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.06s both; }
  .hero .lede { animation: rise 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both; }
  .hero-copy::after { animation: roadDraw 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both; }
  .hero-actions { animation: rise 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both; }
  .hero-unit { animation: rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both; }
  .type-tiles .type-tile { animation: rise 0.45s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .type-tiles .type-tile:nth-child(2) { animation-delay: 0.05s; }
  .type-tiles .type-tile:nth-child(3) { animation-delay: 0.1s; }
  .type-tiles .type-tile:nth-child(4) { animation-delay: 0.15s; }
  .type-tiles .type-tile:nth-child(n+5) { animation-delay: 0.2s; }
  .section .card-grid .unit-card { animation: rise 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both; }
  .section .card-grid .unit-card:nth-child(2) { animation-delay: 0.22s; }
  .section .card-grid .unit-card:nth-child(n+3) { animation-delay: 0.29s; }
}
@media (prefers-reduced-motion: reduce) {
  .unit-card, .type-tile, .unit-card:hover .uc-photo img, .type-tile .tt-photo img { transition: none; transform: none; }
}

/* ---------- about page ---------- */
.about .hero { padding-bottom: 0; }
.about-story { max-width: 66ch; margin-top: 28px; }
.about-story p { margin: 0 0 14px; font-size: 17px; }
.proof-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px;
  margin-top: 34px;
}
.proof-strip > div, .proof-strip > button {
  background: var(--card); border: 1px solid var(--hairline); border-radius: 8px;
  padding: 16px 18px 14px;
}
.proof-strip > button {
  font: inherit; color: inherit; text-align: left; cursor: pointer;
  transition: border-color 0.14s ease, transform 0.14s ease;
}
.proof-strip > button:hover { border-color: var(--dusty); transform: translateY(-2px); }
.tile-more { display: block; margin-top: 8px; font-size: 12.5px; font-weight: 500; color: var(--slate); }
.proof-strip > button:hover .tile-more { color: var(--red); }
.proof-strip > button[aria-expanded="true"] .tile-more { color: var(--red); }
.causes {
  background: var(--card); border: 1px solid var(--hairline); border-radius: 8px;
  margin-top: 14px; padding: 24px 28px 22px;
}
.causes-lede { margin: 0 0 14px; max-width: 60ch; }
.causes ul { list-style: none; margin: 0 0 16px; padding: 0; columns: 3; column-gap: 34px; }
.causes li { padding: 5px 0; break-inside: avoid; font-size: 15.5px; font-weight: 600; }
.causes li:nth-child(odd) { color: var(--navy); }
.causes li:nth-child(even) { color: var(--slate); }
.causes-aside {
  font-family: "Lora", Georgia, serif; font-style: italic; font-size: 15.5px;
  color: var(--ink-soft); margin: 0; max-width: 58ch;
}
@media (max-width: 800px) { .causes ul { columns: 2; } }
@media (max-width: 520px) { .causes ul { columns: 1; } }
.proof-strip b {
  font-family: "League Spartan", sans-serif; font-weight: 700; font-size: 26px;
  display: block; line-height: 1;
}
.proof-strip span { font-size: 13.5px; color: var(--ink-soft); }
.team-dept h3 {
  font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); margin: 26px 0 12px;
}
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.person {
  background: var(--card); border: 1px solid var(--hairline); border-radius: 8px;
  padding: 0 0 13px; overflow: hidden; text-align: center;
}
.person .p-photo {
  aspect-ratio: 3 / 3.2; background: linear-gradient(160deg, var(--mist), var(--dusty));
  display: flex; align-items: center; justify-content: center; margin-bottom: 11px;
}
.person .p-photo span {
  font-family: "League Spartan", sans-serif; font-weight: 700; font-size: 34px;
  color: rgba(23, 42, 58, 0.35);
}
.person .p-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.crew { margin: 0 0 26px; }
.crew img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 14px 38px rgba(23, 42, 58, 0.14); }
.crew figcaption {
  font-family: "Lora", Georgia, serif; font-style: italic; font-size: 15px;
  color: var(--ink-soft); margin-top: 10px; text-align: center;
}
.person b { display: block; font-size: 15.5px; }
.person > span { font-size: 13px; color: var(--ink-soft); }

