/* Grove contrast pass 20260829 */
/* Grove Portables & More — Figma hvBhbD1Hske19x2w2EgZZr */
:root {
  --forest: #2e4a5c;
  --forest-deep: #1f323d;
  --barn: #c05b31;
  /* Text-only tints of --barn kept in the same hue family, used where the flat
     brand orange fails WCAG contrast as foreground text (kickers, active nav,
     footer labels). Buttons/badges keep the true --barn fill. */
  --barn-deep: #ad522c;  /* barn text on cream/white surfaces: 4.7–5.2:1 */
  --barn-tint: #e0ad98;  /* barn text on forest/forest-deep surfaces: 4.7–6.7:1 */
  --cream: #f7f3e8;
  --wood: #7a6f5d;
  --heading: #201a12;
  --body: #57493a;
  --on-dark: #f7f3e8;
  --on-dark-muted: #c7b79c;
  --border: #ddd0b8;
  --border-dark: #384b57;
  --white: #fff;
  --max: 1280px;
  --pad: clamp(1.25rem, 4vw, 5rem);
  --font: Inter, system-ui, sans-serif;
  --slab: "Roboto Slab", Georgia, serif;
  --oswald: Oswald, system-ui, sans-serif;
  --focus: var(--forest);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--cream);
  color: var(--heading);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }

.skip {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0);
}
.skip:focus {
  position: fixed; left: .75rem; top: .75rem; z-index: 100;
  width: auto; height: auto; clip: auto; padding: .6rem 1rem;
  background: var(--barn); color: #fff; border-radius: 4px;
}

/* Focus rings: --focus adapts per section so the ring always clears 3:1
   against the surface it's drawn on (see contextual overrides below). */
:focus-visible {
  outline: 2.5px solid var(--focus);
  outline-offset: 2px;
  border-radius: 3px;
}
.site-header, .hero, .cta, .spotlight, .site-footer, .builder-card, .dealer {
  --focus: var(--cream);
}

/* Nav — cream bar so it does not melt into dark hero */
.site-header {
  background: var(--cream);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 14px rgba(32, 26, 18, .08);
}
.site-header {
  --focus: var(--forest);
}
.nav {
  display: flex; align-items: center; justify-content: flex-start;
  gap: .75rem 1rem; min-height: 80px; padding: .85rem 0; position: relative;
}
.nav .logo { flex-shrink: 0; margin-right: auto; }
.nav-links { margin-left: auto; }
.nav-right { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.nav-toggle {
  order: 99; /* always rightmost when visible */
  margin-left: 0;
}
.logo { display: flex; flex-direction: column; line-height: 1.1; }
.logo .name {
  font-family: var(--slab); font-weight: 800; font-size: 1.25rem; color: var(--forest-deep);
}
.logo .tag {
  font-family: var(--oswald); font-weight: 500; font-size: .7rem;
  letter-spacing: .2em; color: var(--barn-deep); text-transform: uppercase;
}
.logo-img {
  height: 48px; width: auto; max-width: 200px; object-fit: contain;
}
.nav-links {
  display: flex; align-items: center; gap: 2rem;
  font-family: var(--oswald); font-weight: 500; font-size: .875rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--forest-deep);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--barn-deep); }
.nav-right {
  display: flex; align-items: center; gap: 1.25rem;
}
.nav-phone {
  font-family: var(--oswald); font-weight: 600; font-size: .95rem; color: var(--forest-deep);
}
.nav-toggle {
  display: none; background: 0; border: 0; color: var(--forest-deep);
  font-size: 1.5rem; min-width: 44px; min-height: 44px; cursor: pointer;
}
.site-header .btn-outline {
  color: var(--forest-deep); border-color: var(--forest-deep);
}
.site-header .btn-outline:hover {
  background: rgba(46, 74, 92, .08);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--oswald); font-weight: 600; font-size: 1rem;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .95rem 2rem; border-radius: 4px; border: 1.5px solid transparent;
  min-height: 48px; cursor: pointer; transition: filter .15s ease;
}
.btn-primary { background: var(--barn); color: var(--cream); border-color: var(--barn); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-outline {
  background: transparent; color: var(--cream); border-color: var(--cream);
}
.btn-outline:hover { background: rgba(247,243,232,.1); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Hero */
.hero {
  background: linear-gradient(165deg, var(--forest-deep) 0%, #243d4a 42%, var(--forest) 100%);
  color: var(--on-dark);
  padding: clamp(3rem, 7vw, 6rem) 0;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 2.5rem; align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
.eyebrow {
  display: inline-flex; margin: 0;
  font-family: var(--oswald); font-weight: 500; font-size: .8125rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--barn-tint);
  border: 1.5px solid var(--barn-tint); padding: .45rem .9rem; border-radius: 3px;
}
.eyebrow-plain { border: 0; padding: 0; }
.hero h1 {
  margin: 0;
  font-family: var(--slab); font-weight: 800;
  font-size: clamp(1.85rem, 4.2vw, 3.1rem);
  line-height: 1.06; letter-spacing: -.02em; color: var(--cream);
}
.lede {
  margin: 0; font-size: 1.15rem; line-height: 1.58;
  color: var(--on-dark-muted); max-width: 36rem;
}
.hero-photo {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(247,243,232,.12);
  background: #1a2a33;
  border-radius: 6px; overflow: hidden; aspect-ratio: 7/5;
  background: #1a2a33;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Trust */
.trust {
  background: var(--wood); color: var(--cream);
  padding: 1.4rem 0;
}
.trust-row {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  justify-content: space-between;
}
.trust-item {
  display: flex; align-items: center; gap: .65rem;
  font-family: var(--oswald); font-weight: 600; font-size: .875rem;
  letter-spacing: .08em; text-transform: uppercase;
}
.trust-item::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--barn); flex-shrink: 0;
}

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-head {
  text-align: center; margin-bottom: 3rem;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.section-head h2 {
  margin: 0;
  font-family: var(--slab); font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -.02em; color: var(--heading);
}
.kicker {
  margin: 0;
  font-family: var(--oswald); font-weight: 500; font-size: .8125rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--barn-deep);
}
/* On dark (forest / forest-deep) surfaces, swap to the light tint so the
   kicker label clears 4.5:1 instead of the ~2:1 the flat brand orange gives. */
.page-hero .kicker, .spotlight .kicker { color: var(--barn-tint); }

/* Cards */
.grid-3 {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
}
.b-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px; overflow: hidden;
  display: flex; flex-direction: column;
}
.b-card .ph {
  height: 220px; background: #e8e0d0; overflow: hidden;
}
.b-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.b-card .body { padding: 1.25rem 1.5rem 1.5rem; }
.b-card h3 {
  margin: 0 0 .5rem;
  font-family: var(--slab); font-weight: 700; font-size: 1.125rem;
  color: var(--heading);
}
.b-card p { margin: 0; font-size: .875rem; color: var(--body); line-height: 1.48; }

/* Dealer banner */
.dealer {
  background: var(--wood); color: var(--cream);
  padding: 1.75rem 0;
}
.dealer-row {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
}
.dealer h3 {
  margin: 0 0 .3rem;
  font-family: var(--oswald); font-weight: 600; font-size: .95rem;
  letter-spacing: .05em; text-transform: uppercase;
}
.dealer p { margin: 0; font-size: .875rem; color: rgba(255,255,255,.75); }
.dealer .phone {
  font-family: var(--oswald); font-weight: 600; font-size: 1.25rem;
}

/* Spotlight */
.spotlight {
  background: var(--forest-deep); color: var(--cream);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.spot-grid {
  display: grid; grid-template-columns: .9fr 1.1fr;
  gap: 3.5rem; align-items: center;
}
.spot-photo {
  border-radius: 6px; overflow: hidden; aspect-ratio: 8/7;
  background: #152028;
}
.spot-photo img { width: 100%; height: 100%; object-fit: cover; }
.spot-copy { display: flex; flex-direction: column; gap: 1rem; }
.spot-copy h2 {
  margin: 0;
  font-family: var(--slab); font-weight: 700;
  font-size: clamp(1.4rem, 2.8vw, 1.875rem);
  color: var(--cream);
}
.spot-copy .lede { color: var(--on-dark-muted); }

/* CTA */
.cta {
  background: var(--barn); color: var(--cream);
  padding: clamp(3rem, 7vw, 5rem) 0;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1.2rem;
}
.cta h2 {
  margin: 0; max-width: 18ch;
  font-family: var(--slab); font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
}
.cta p { margin: 0; font-size: 1.15rem; color: rgba(255,255,255,.9); }

/* Footer */
.site-footer {
  background: var(--forest-deep); color: var(--on-dark-muted);
  padding: 4rem 0 2.25rem;
}
.foot-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  margin-bottom: 2.5rem;
}
.foot-brand .name {
  font-family: var(--slab); font-weight: 800; font-size: 1.15rem; color: var(--cream);
  margin-bottom: .75rem;
}
.foot-brand p { margin: 0; font-size: .875rem; line-height: 1.5; max-width: 22rem; }
.foot-col h4 {
  margin: 0 0 1rem;
  font-family: var(--oswald); font-weight: 600; font-size: .8125rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--barn-tint);
}
.foot-col a, .foot-col p {
  display: block; margin: 0 0 .75rem; font-size: .875rem; color: var(--on-dark-muted);
}
.foot-col a:hover { color: var(--cream); }
.foot-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; align-items: center;
  padding-top: 1.5rem; border-top: 1px solid var(--border-dark);
  font-size: .8125rem;
}

/* Inner pages */
.page-hero {
  background: var(--forest); color: var(--cream);
  padding: 3.25rem 0 2.5rem;
}
.page-hero h1 {
  margin: .75rem 0 0;
  font-family: var(--slab); font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}
.page-hero .lede { margin-top: 1rem; }

.prose { max-width: 40rem; }
.prose p { color: var(--body); margin: 0 0 1rem; }
.section-cream-alt { background: var(--cream); }

.faq details {
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}
.faq summary {
  font-family: var(--oswald); font-weight: 600; font-size: 1rem;
  letter-spacing: .04em; text-transform: uppercase; cursor: pointer;
  list-style: none; color: var(--heading);
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: .75rem 0 0; color: var(--body); font-size: .95rem; }

.form {
  display: grid; gap: 1rem; max-width: 32rem; margin-top: 1.5rem;
}
.form label {
  font-family: var(--oswald); font-size: .8rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--body);
}
.form input, .form textarea, .form select {
  width: 100%; padding: .85rem 1rem; border-radius: 4px;
  border: 1px solid var(--border); background: #fff;
  font: inherit; color: var(--heading); min-height: 48px;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus {
  outline: 2px solid var(--barn); outline-offset: 1px;
}
.note { font-size: .85rem; color: var(--body); }

.buildings-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 980px) {
  .hero-grid, .spot-grid { grid-template-columns: 1fr; }
  .hero-photo {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(247,243,232,.12);
  background: #1a2a33; order: -1; }
  .grid-3, .buildings-grid, .foot-grid { grid-template-columns: 1fr 1fr; }
}
/* Nav collapses to the hamburger at the SAME 980px breakpoint as the layout
   above. It previously switched at 720px, but the full desktop nav (logo +
   6 links + Call + Contact us) measures ~950px and doesn't fit between
   721–979px — that caused sitewide horizontal overflow on tablets (iPad
   portrait = 768px) on every page. Collapsing earlier removes the gap. */
@media (max-width: 980px) {
  .nav {
    justify-content: flex-start;
  }
  .nav .logo { margin-right: auto; }
  .nav-toggle {
    display: inline-flex !important;
    align-items: center; justify-content: center;
    order: 99;
    margin-left: .25rem;
  }
  .nav-links {
    display: none !important;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream);
    flex-direction: column; gap: 0;
    padding: .35rem var(--pad) 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 28px rgba(32, 26, 18, .14);
    margin: 0;
    z-index: 60;
  }
  .nav-links.open { display: flex !important; }
  .nav-links a {
    display: block; padding: 1rem 0;
    color: var(--forest-deep) !important;
    font-size: 1rem;
    letter-spacing: .1em;
    border-bottom: 1px solid var(--border);
  }
  .nav-links a:hover,
  .nav-links a[aria-current="page"] {
    color: var(--barn-deep) !important;
  }
  .nav-links a:last-child { border-bottom: 0; }
  /* Keep Call button; hide desktop Quote on very small if needed — keep both compact */
  .nav-right {
    gap: .5rem;
    order: 50; /* before hamburger */
  }
  .nav-right .btn {
    display: inline-flex !important;
    padding: .65rem 1rem;
    min-height: 44px;
    font-size: .85rem;
  }
  .nav-right .btn-quote-desktop { display: none !important; }
  .grid-3, .buildings-grid, .foot-grid { grid-template-columns: 1fr; }
  .trust-row { flex-direction: column; align-items: flex-start; }
  .dealer-row { flex-direction: column; align-items: flex-start; }
  .logo-img { height: 40px; max-width: 160px; }
}


/* Inventory listings */
.listings {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.listing {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px; overflow: hidden;
  display: flex; flex-direction: column;
}
.listing .ph {
  height: 200px; background: #e8e0d0; position: relative; overflow: hidden;
}
.listing .ph img { width: 100%; height: 100%; object-fit: cover; }
/* Generic photo-overlay badge: used inside .listing cards (Inventory/home)
   and .sold-card (Sold gallery). Was scoped to ".listing .badge" only, which
   left the Sold-page badge with no background/padding — fixed to apply
   wherever the .badge class is used. */
.badge {
  position: absolute; top: .75rem; left: .75rem;
  background: var(--barn); color: var(--cream);
  font-family: var(--oswald); font-weight: 600; font-size: .7rem;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .35rem .65rem; border-radius: 3px;
}
.badge-sold { background: var(--forest-deep); }
.listing .body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.listing h3 {
  margin: 0; font-family: var(--slab); font-weight: 700; font-size: 1.1rem;
}
.listing .price-row {
  display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: baseline;
}
.listing .price {
  font-family: var(--oswald); font-weight: 600; font-size: 1.35rem; color: var(--barn-deep);
}
.listing .rto {
  font-family: var(--oswald); font-weight: 500; font-size: .9rem; color: var(--body);
  letter-spacing: .04em;
}
.listing .specs {
  margin: .25rem 0 0; padding: 0; font-size: .875rem; color: var(--body); line-height: 1.45;
}
.listing .specs li { margin: 0 0 .25rem; padding-left: 0; }
.listing .actions { margin-top: auto; padding-top: .75rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.note-box {
  background: #fff; border: 1px solid var(--border); border-radius: 6px;
  padding: 1.15rem 1.25rem; margin-bottom: 1.75rem; color: var(--body); font-size: .95rem;
  overflow-wrap: anywhere; word-break: break-word;
}
.builder-card {
  background: var(--forest); color: var(--cream);
  border-radius: 6px; padding: 2rem 1.75rem;
  display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; justify-content: space-between;
}
.builder-card h2 {
  margin: 0 0 .4rem; font-family: var(--slab); font-weight: 700; font-size: 1.5rem; color: var(--cream);
}
.builder-card p { margin: 0; color: var(--on-dark-muted); max-width: 36rem; }
.sold-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.sold-card {
  border-radius: 6px; overflow: hidden; border: 1px solid var(--border); background: #fff;
}
.sold-card .ph { height: 180px; overflow: hidden; background: #ddd; position: relative; }
.sold-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.sold-card .cap { padding: .85rem 1rem 1rem; }
.sold-card h3 { margin: 0 0 .25rem; font-family: var(--slab); font-size: 1rem; }
.sold-card p { margin: 0; font-size: .85rem; color: var(--body); }

.builder-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.builder-card h3 {
  margin: 0 0 .35rem;
  font-family: var(--slab); font-weight: 700; font-size: 1.25rem; color: var(--cream);
}

/* Brand lockup art: nav wordmark only (see IMPECCABLE_NOTES.md — a larger
   duplicate lockup was removed from the hero to stop it competing with H1). */
.logo-img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}
@media (max-width: 720px) {
  .logo-img { height: 40px; max-width: 170px; }
  .nav-right .nav-phone { font-size: .8rem; }
}


/* Inventory — simple tiles + detail modal */
.inventory-toolbar {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: .75rem 1rem;
  margin-bottom: 1rem;
}
.inventory-count {
  font-family: var(--oswald); font-size: .8rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--body);
}
.filter-bar { display: flex; flex-wrap: wrap; gap: .4rem; }
.filter-btn {
  font-family: var(--oswald); font-size: .75rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid var(--border); background: #fff; color: var(--heading);
  border-radius: 999px; padding: .4rem .85rem; min-height: 34px; cursor: pointer;
}
.filter-btn.is-active {
  background: var(--forest); border-color: var(--forest); color: var(--cream);
}

.listings {
  display: grid;
  gap: .85rem;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
@media (min-width: 720px) {
  .listings { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
}
@media (min-width: 1100px) {
  .listings { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

.inv-tile {
  display: flex; flex-direction: column;
  border: 1px solid var(--border); border-radius: 8px;
  overflow: hidden; background: #fff; padding: 0;
  text-align: left; cursor: pointer; color: inherit;
  font: inherit; box-shadow: 0 1px 2px rgba(0,0,0,.04);
  transition: transform .15s ease, box-shadow .15s ease;
}
.inv-tile:hover, .inv-tile:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(32,26,18,.12);
  outline: none;
}
.inv-tile-ph {
  display: block; aspect-ratio: 1 / 1; background: #2a2a2a; overflow: hidden;
}
.inv-tile-ph img {
  width: 100%; height: 100%; object-fit: cover; object-position: center; display: block;
}
.inv-tile-meta {
  display: flex; flex-direction: column; gap: .15rem;
  padding: .65rem .7rem .75rem;
}
.inv-tile-title {
  font-family: var(--slab); font-weight: 700; font-size: .88rem;
  line-height: 1.2; color: var(--heading);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.inv-tile-price {
  font-family: var(--oswald); font-weight: 600; font-size: 1.05rem;
  color: var(--barn); letter-spacing: .02em;
}
.inv-tile-price .tax { font-size: .65em; opacity: .7; margin-left: .1rem; }
.inv-tile-rto {
  font-size: .75rem; color: var(--body);
}

/* CTA tile — last tile call direction */
.inv-tile-cta {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
  text-decoration: none;
  min-height: 100%;
}
.inv-tile-cta:hover { transform: translateY(-2px); }
.inv-tile-cta-inner {
  display: flex; flex-direction: column; justify-content: center;
  gap: .4rem; padding: 1.25rem 1rem; height: 100%; min-height: 220px;
  box-sizing: border-box;
}
.inv-tile-cta-kicker {
  font-family: var(--oswald); font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--barn);
}
.inv-tile-cta-title {
  font-family: var(--slab); font-weight: 700; font-size: 1.2rem; line-height: 1.2;
  color: var(--cream);
}
.inv-tile-cta-sub { font-size: .9rem; color: var(--on-dark-muted); }
.inv-tile-cta-btn {
  display: inline-flex; align-self: flex-start; margin-top: .5rem;
  background: var(--barn); color: #fff; font-family: var(--oswald);
  font-weight: 600; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .55rem 1rem; border-radius: 4px;
}

/* Detail modal — swipe gallery */
body.inv-modal-open { overflow: hidden; }
.inv-modal[hidden] { display: none !important; }
.inv-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: flex-end; justify-content: center;
}
@media (min-width: 720px) {
  .inv-modal { align-items: center; padding: 1rem; }
}
.inv-modal-backdrop {
  position: absolute; inset: 0; background: rgba(15,12,8,.55);
}
.inv-modal-sheet {
  position: relative; z-index: 1;
  width: min(100%, 520px);
  max-height: min(94vh, 900px);
  overflow: auto;
  background: var(--cream);
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -8px 40px rgba(0,0,0,.25);
}
@media (min-width: 720px) {
  .inv-modal-sheet { border-radius: 12px; }
}
.inv-modal-close {
  position: absolute; top: .65rem; right: .65rem; z-index: 3;
  width: 40px; height: 40px; border-radius: 999px;
  border: 0; background: rgba(0,0,0,.55); color: #fff;
  font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.inv-modal-scroll {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scroll-behavior: smooth;
  background: #1a1a1a;
  aspect-ratio: 1 / 1;
}
.inv-slide {
  flex: 0 0 100%; scroll-snap-align: start;
  display: flex; align-items: center; justify-content: center;
  background: #1a1a1a;
}
.inv-slide img {
  width: 100%; height: 100%; object-fit: contain; display: block;
}
.inv-modal-dots {
  display: flex; justify-content: center; gap: .35rem;
  padding: .55rem .5rem .15rem;
}
.inv-dot {
  width: 7px; height: 7px; border-radius: 999px; border: 0;
  background: #cbbfa8; padding: 0; cursor: pointer;
}
.inv-dot.is-on { background: var(--barn); width: 18px; }
.inv-modal-body { padding: .5rem 1.15rem 1.35rem; }
.inv-modal-body h2 {
  margin: 0 0 .35rem; font-family: var(--slab); font-size: 1.35rem;
}
.inv-modal-prices {
  display: flex; flex-wrap: wrap; gap: .35rem 1rem; align-items: baseline;
  margin-bottom: .75rem;
}
.inv-modal-prices .price {
  font-family: var(--oswald); font-weight: 600; font-size: 1.45rem; color: var(--barn);
}
.inv-modal-prices .rto { color: var(--body); font-size: .95rem; }
.inv-modal-prices .tax { font-size: .7em; opacity: .75; }
.inv-modal-body .specs { margin: 0 0 1rem; padding: 0; font-size: .9rem; color: var(--body); }
.inv-modal-body .specs li { margin: 0 0 .25rem; }
.inv-modal-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-empty { grid-column: 1 / -1; }

.inv-tile-rto .tax, .inv-modal-prices .rto .tax {
  font-size: .75em;
  font-weight: 600;
  margin-left: .2rem;
  opacity: .85;
}


.foot-bottom .built-by { opacity: .9; }
.foot-bottom .built-by a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.foot-bottom .built-by a:hover { color: var(--barn, #c05b31); }
