/* Altech-Eco site styles, 2026 redesign
   Colors: ink #1B2730, ridge #36566A, haze #8FA6B4, mist #EEF2F3, blaze (accent) #E0A526 */

:root {
  --ink: #1B2730;
  --ink-2: #3B4A54;
  --muted: #52626C;
  --ridge: #36566A;
  --haze: #8FA6B4;
  --line: #D6DEE2;
  --line-2: #E3EAEE;
  --mist: #EEF2F3;
  --white: #FFFFFF;
  --accent: #E0A526;
  --accent-hover: #EDB540;
  --on-dark: #C9D5DC;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Serif 4", Georgia, serif;
  --wrap: 1280px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--mist); color: var(--ink);
  font: 400 18px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--ink); }
a:hover { color: var(--ridge); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); color: inherit; }
p { margin: 0 0 16px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

.h-display { margin: 0 0 18px; font-weight: 800; font-stretch: 112%; font-size: clamp(40px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -0.02em; }
.h-section { margin: 0 0 16px; font-weight: 750; font-stretch: 108%; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.01em; }
.h-sub { margin: 0 0 6px; font-weight: 700; font-size: 22px; line-height: 1.25; }
.lede { font-size: 21px; line-height: 1.55; max-width: 46ch; }
.muted { color: var(--ink-2); }
.small { font-size: 15px; color: var(--muted); }

/* ---------- buttons, chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  font: 650 16px/1.2 var(--display); text-decoration: none; cursor: pointer;
  padding: 13px 22px; border-radius: 8px; border: 2px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-dark:hover { background: var(--ridge); border-color: var(--ridge); color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-outline-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 9px 14px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; font: 650 14px/1 var(--display); }
.chip { padding: 7px 12px; border-radius: 999px; background: var(--line-2); color: var(--ink); }
.chip-accent { background: var(--accent); color: var(--ink); }
.chip-dark { background: var(--ink); color: var(--white); }
.chip-glass { background: rgba(255,255,255,0.16); color: var(--white); border: 1px solid rgba(255,255,255,0.45); }

.link-strong { font: 650 16px var(--display); }

/* ---------- header and navigation ---------- */
.site-header { position: relative; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; min-height: 72px; }
.brand { display: block; line-height: 0; }
.brand img { height: 28px; width: auto; }
.menu-toggle {
  display: none; align-items: center; gap: 10px; min-height: 44px;
  font: 600 16px var(--display); color: var(--ink);
  background: transparent; border: 2px solid var(--ink); border-radius: 8px; padding: 8px 14px; cursor: pointer;
}
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; align-items: center; gap: 2px; font: 500 15px var(--display); }
.nav > ul > li { position: relative; }
.nav a, .nav .sub-toggle {
  display: block; font: inherit; color: var(--ink); text-decoration: none; text-align: left;
  padding: 10px 12px; border-radius: 6px; background: none; border: 0; cursor: pointer;
}
.nav a:hover, .nav .sub-toggle:hover { background: var(--mist); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--mist); }
.nav .sub-toggle::after {
  content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg); transition: transform .15s;
}
.nav .has-sub.open > .sub-toggle::after { transform: translateY(1px) rotate(225deg); }
.nav .sub {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px;
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 12px 28px rgba(27,39,48,0.14); padding: 6px;
}
.nav .has-sub.open > .sub { display: block; }
/* grouped dropdown (Natural Gas Systems: Systems + Learn and support) */
.nav .sub-groups { padding: 14px 10px 10px; }
.nav .has-sub.open > .sub-groups { display: grid; grid-template-columns: repeat(2, minmax(230px, 1fr)); gap: 4px 12px; min-width: 520px; }
.nav .grp-label { margin: 0 0 4px; padding: 0 12px; font: 650 12px var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.nav .nav-phone { margin-left: 8px; background: var(--ink); color: var(--white); font-weight: 600; padding: 11px 18px; border-radius: 8px; }
.nav .nav-phone:hover { background: var(--ridge); color: var(--white); }
@media (hover: hover) and (min-width: 1081px) {
  .nav .has-sub:hover > .sub { display: block; }
  .nav .has-sub:hover > .sub-groups { display: grid; grid-template-columns: repeat(2, minmax(230px, 1fr)); gap: 4px 12px; min-width: 520px; }
  .nav .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }
}
@media (max-width: 1080px) {
  .site-header .wrap { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  .menu-toggle { display: inline-flex; }
  .nav { display: none; width: 100%; padding: 4px 0 12px; }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; font-size: 17px; }
  .nav > ul > li { border-top: 1px solid var(--line-2); }
  .nav a, .nav .sub-toggle { width: 100%; padding: 14px 6px; border-radius: 0; }
  .nav .sub { position: static; box-shadow: none; border: 0; border-left: 3px solid var(--haze); border-radius: 0; margin: 0 0 10px 8px; padding: 0 0 0 6px; min-width: 0; }
  .nav .sub a { padding: 10px 6px; font-size: 16px; }
  .nav .has-sub.open > .sub-groups { display: block; min-width: 0; padding: 0 0 0 6px; }
  .nav .grp + .grp { margin-top: 10px; }
  .nav .grp-label { padding: 8px 6px 2px; }
  .nav .nav-phone { margin: 10px 0 0; text-align: center; border-radius: 8px; }
}
@media (max-width: 420px) { .brand img { height: 22px; } }

/* ---------- breadcrumb ---------- */
.crumbs { font: 400 14px var(--display); color: var(--muted); margin-bottom: 32px; }
.crumbs a { color: var(--muted); }
.crumbs span[aria-hidden] { margin: 0 8px; }
.on-dark .crumbs, .on-dark .crumbs a { color: #DCE5EA; }

/* ---------- heroes ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); display: flex; flex-direction: column; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; pointer-events: none; }
.hero-shade.from-left { background: linear-gradient(90deg, rgba(27,39,48,.9) 0%, rgba(27,39,48,.6) 40%, rgba(27,39,48,.1) 72%, rgba(27,39,48,0) 100%); }
.hero-shade.from-right { background: linear-gradient(270deg, rgba(27,39,48,.9) 0%, rgba(27,39,48,.6) 38%, rgba(27,39,48,.05) 70%, rgba(27,39,48,0) 100%); }
.hero-inner { position: relative; width: 100%; flex: 1 1 auto; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding-top: 28px; padding-bottom: 80px; }
.hero-copy { max-width: 620px; }
.hero-copy.right { margin-left: auto; max-width: 600px; }
.hero .lede { color: #E3EAEE; }
.hero-home { min-height: 640px; }
.hero-home .hero-inner { justify-content: flex-end; padding-top: 120px; }
.hero-page { min-height: 600px; }
@media (max-width: 760px) {
  .hero-shade.from-left, .hero-shade.from-right { background: linear-gradient(0deg, rgba(27,39,48,.92) 0%, rgba(27,39,48,.7) 55%, rgba(27,39,48,.35) 100%); }
  .hero-home, .hero-page { min-height: 560px; }
}

/* simple light page header (info pages) */
.page-head { background: var(--white); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-top: 28px; padding-bottom: 48px; }

/* ---------- stat strip ---------- */
.stats { background: var(--ink); color: var(--white); }
.stats .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stat { padding: 30px 24px; border-right: 1px solid rgba(255,255,255,0.16); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat-num { display: block; font: 750 32px/1.1 var(--display); font-stretch: 110%; }
.stat p { margin: 6px 0 0; font-size: 16px; color: var(--on-dark); }
@media (max-width: 760px) {
  .stat, .stat:first-child { padding: 20px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.16); }
  .stat:last-child { border-bottom: 0; }
}

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-white { background: var(--white); }
.bg-ink { background: var(--ink); color: var(--white); }
.bg-ridge { background: var(--ridge); color: var(--white); }
.bg-ink p, .bg-ridge p { color: var(--on-dark); }
.bg-ridge p { color: #DCE5EA; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: 44px; }
.section-head > div { max-width: 660px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 48px; align-items: center; }
.split.top { align-items: start; }
@media (max-width: 640px) { .section { padding: 64px 0; } .split { grid-template-columns: 1fr; } }

/* ---------- cards and grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }

.door { position: relative; display: flex; align-items: flex-end; min-height: 520px; border-radius: 14px; overflow: hidden; background: var(--ink); color: var(--white); text-decoration: none; }
.door:hover { color: var(--white); }
.door img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.door:hover img.cover { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .door img.cover { transition: none; } .door:hover img.cover { transform: none; } }
.door .shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(27,39,48,.92) 0%, rgba(27,39,48,.2) 55%, rgba(27,39,48,0) 100%); }
.door .body { position: relative; padding: 32px; }
.door h3 { margin: 0 0 8px; font: 750 28px/1.15 var(--display); }
.door p { margin: 0 0 16px; font-size: 17px; color: #E3EAEE; max-width: 34ch; }
.door .more { font: 650 16px var(--display); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.door-van { flex-direction: column; justify-content: space-between; align-items: stretch; background: var(--ridge); }
.door-van .badge { position: relative; padding: 32px 32px 0; }
.door-van svg { display: block; width: 100%; height: auto; }
.door-van .body { background: var(--ink); padding-top: 0; }
/* 3-card rows: never leave one card alone on a row (tablets). doors: homepage cards; trio: homepage products, F-150 features; stack: About panels */
.grid-3.doors, .grid-3.trio, .grid-3.stack { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) {
  .grid-3.doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3.doors > .door-van { grid-column: 1 / -1; min-height: 0; }
}
@media (max-width: 660px) { .grid-3.doors, .grid-3.trio { grid-template-columns: 1fr; } }
@media (max-width: 1000px) { .grid-3.stack { grid-template-columns: 1fr; } }

.product { display: flex; flex-direction: column; gap: 14px; }
.product img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; display: block; }
.product h3 { margin: 0; font: 700 24px/1.2 var(--display); }
.product p { margin: 0; font-size: 17px; color: var(--ink-2); }
.product .chips { margin: 0; font-size: 13px; }
.product .links { display: flex; flex-wrap: wrap; gap: 20px; font: 600 15px var(--display); }

.figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; }
.figure.wide img { aspect-ratio: 7 / 4; }
.figure figcaption { font: 600 16px var(--display); }

.panel { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 26px 28px; }
.panel h3 { margin: 0 0 4px; font: 700 21px/1.25 var(--display); }
.panel .sub { margin: 0 0 14px; font-size: 16px; color: var(--muted); }
.panel p:last-child { margin-bottom: 0; }

.tile-link { display: block; text-decoration: none; padding: 22px 24px; border: 1px solid #C9D3D8; border-radius: 10px; color: var(--ink); background: var(--white); }
.tile-link:hover { border-color: var(--ink); color: var(--ink); }
.tile-link strong { display: block; font: 700 18px var(--display); margin-bottom: 4px; }
.tile-link span { font-size: 16px; color: var(--ink-2); }

.feature { display: flex; flex-direction: column; gap: 12px; }
.feature img { width: 100%; aspect-ratio: 7 / 4; object-fit: cover; border-radius: 10px; display: block; }
.feature h3 { margin: 0; font: 700 20px/1.25 var(--display); }
.feature p { margin: 0; font-size: 17px; color: var(--ink-2); }

/* bullet lists and rule lists */
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid #DCE3E7; font-size: 17px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 21px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.rules { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.rules li { padding: 18px 0; border-bottom: 1px solid #C9D3D8; font-size: 17px; }
.cols-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 0 40px; }

/* warranty boxes */
.boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.box { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.box .big { font: 750 26px/1.15 var(--display); }
.box p { margin: 6px 0 0; font-size: 16px; color: var(--ink-2); }

/* ---------- photo scroller ---------- */
.scroller-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 16px; }
.scroller-head h3 { margin: 0; font: 700 22px var(--display); }
.scroller-head p { margin: 0; font: 400 15px var(--display); color: var(--muted); }
.scroller { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; border-radius: 12px; }
.scroller figure { margin: 0; flex: 0 0 340px; scroll-snap-align: start; }
.scroller img { width: 100%; aspect-ratio: 7 / 4; object-fit: cover; border-radius: 10px; display: block; }
@media (max-width: 640px) { .scroller figure { flex-basis: 82%; } }

/* ---------- CTA band ---------- */
.cta .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.cta .wrap > div:first-child { max-width: 620px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding: 56px 0 40px; font-size: 16px; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.site-footer .col { display: flex; flex-direction: column; gap: 8px; }
.site-footer strong { font-family: var(--display); color: var(--white); }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--white); }
.site-footer .legal { margin: 40px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.14); font-size: 14px; color: var(--haze); }

/* ---------- camper van timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: stage; }
.timeline li { counter-increment: stage; display: grid; grid-template-columns: 64px 1fr 160px; gap: 20px; align-items: start; padding: 24px 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline li::before { content: counter(stage); font: 800 34px/1 var(--display); font-stretch: 120%; color: var(--haze); }
.timeline li.done::before, .timeline li.now::before { color: var(--ink); }
.timeline h3 { margin: 0 0 4px; font: 700 20px var(--display); }
.timeline p { margin: 0; font-size: 17px; color: var(--ink-2); }
.timeline .status { justify-self: end; font: 600 15px var(--display); padding-top: 4px; }
.timeline .status::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; border: 2px solid var(--haze); vertical-align: 1px; }
.timeline .done .status::before { background: var(--ridge); border-color: var(--ridge); }
.timeline .now .status::before { background: var(--accent); border-color: var(--accent); }
.timeline .now { background: linear-gradient(90deg, rgba(224,165,38,.10), transparent 70%); }
@media (max-width: 760px) { .timeline li { grid-template-columns: 48px 1fr; } .timeline .status { grid-column: 2; justify-self: start; padding-top: 0; } }
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.steps li { border-top: 4px solid var(--ridge); padding-top: 16px; }
.steps h3 { margin: 0 0 4px; font: 700 20px var(--display); }
.steps p { margin: 0; font-size: 17px; color: var(--ink-2); }
.dark-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,0.18); }
.dark-list li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.18); font-family: var(--display); }
.dark-list .label { font-weight: 600; }
.dark-list .state { font-size: 15px; color: var(--haze); }
.dark-list .now .state { color: var(--accent); font-weight: 650; }
.dark-list .done .state { color: var(--on-dark); }

/* ---------- forms ---------- */
.form { background: var(--white); color: var(--ink); padding: 32px; border-radius: 12px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font: 600 15px var(--display); margin-bottom: 6px; }
.form input, .form select, .form textarea, .search input {
  width: 100%; font: 400 17px/1.4 var(--body); color: var(--ink);
  padding: 12px 14px; border: 1.5px solid #8FA6B4; border-radius: 8px; background: var(--white);
}
.form textarea { min-height: 110px; resize: vertical; }
.form-msg { margin: 16px 0 0; font-size: 16px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } .form { padding: 22px; } }

/* ---------- parts catalog ---------- */
.ms-card { background: var(--mist); border-radius: 12px; padding: 24px 28px; }
.ms-tag { display: inline-block; font: 700 20px var(--display); padding: 8px 14px; border: 2px dashed var(--haze); border-radius: 8px; background: var(--white); }
.order-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.order-steps li { border-top: 3px solid var(--accent); padding-top: 14px; }
.order-steps strong { display: block; font: 700 17px var(--display); margin-bottom: 4px; color: var(--white); }
.order-steps span { font-size: 16px; color: var(--on-dark); }
.catalog-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: 20px; }
.search { flex: 1 1 320px; max-width: 460px; }
.search label { display: block; font: 600 15px var(--display); margin-bottom: 6px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.filters button { font: 600 15px var(--display); min-height: 44px; padding: 10px 14px; border-radius: 999px; cursor: pointer; background: var(--white); color: var(--ink); border: 1.5px solid #C9D3D8; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.filters .n { opacity: .7; margin-left: 4px; }
.parts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.part { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.part[hidden] { display: none; }
.part .zoom { display: block; padding: 16px; margin: 0; border: 0; border-bottom: 1px solid var(--line-2); background: var(--white); cursor: zoom-in; width: 100%; }
.part .zoom img { display: block; width: 100%; height: 200px; object-fit: contain; }
.part .info { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1 1 auto; }
.part .top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.part .pn { margin: 0; font: 700 17px var(--display); overflow-wrap: anywhere; }
.part .price { margin: 0; font: 750 18px var(--display); white-space: nowrap; }
.part .desc { margin: 0 0 8px; font-size: 15px; line-height: 1.5; color: var(--ink-2); flex: 1 1 auto; }
.part .buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.empty { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 36px 28px; }
.viewer { width: min(1180px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 14px; }
.viewer::backdrop { background: rgba(27,39,48,0.82); }
.viewer .bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.viewer .bar .pn { margin: 0; font: 750 22px var(--display); }
.viewer .bar .pos { margin: 0; font: 400 14px var(--display); color: var(--muted); }
.viewer .bar .ctrl { display: flex; gap: 8px; }
.viewer .bar button { font: 650 15px var(--display); min-height: 44px; padding: 0 14px; border-radius: 8px; border: 1.5px solid #C9D3D8; background: var(--white); color: var(--ink); cursor: pointer; }
.viewer .bar button.close { background: var(--ink); color: var(--white); border-color: var(--ink); }
.viewer .photo { padding: 20px; }
.viewer .photo img { display: block; width: 100%; max-height: 62vh; object-fit: contain; }
/* Phones: the large views are wide strips of several photos. Show them tall and let people swipe sideways. */
@media (max-width: 700px) {
  .viewer .photo { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .viewer .photo img { width: auto; max-width: none; height: min(46vh, 320px); max-height: none; }
  .viewer .photo::after { content: "Swipe sideways to see every photo"; display: block; margin-top: 10px; font: 500 13px var(--display); color: var(--muted); position: sticky; left: 0; }
}
.viewer .foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 16px 20px 20px; border-top: 1px solid var(--line-2); }
.viewer .foot p { margin: 0; }
.viewer .foot .d { font-size: 16px; color: var(--ink-2); flex: 1 1 420px; }
.viewer .foot .p { font: 750 22px var(--display); }

/* ---------- info pages (rebuilt Nov 2026) ---------- */
.page-head .lede { color: var(--ink-2); max-width: 60ch; }
.page-head .actions { margin-top: 8px; }

/* video embeds */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--ink); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-cap { margin: 10px 0 0; font: 600 16px var(--display); }

/* long text: privacy, terms */
.prose { max-width: 72ch; font-size: 18px; }
.prose h2 { margin: 48px 0 12px; font: 700 24px/1.25 var(--display); }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }
.prose .caps { font-size: 16px; letter-spacing: .01em; }

/* numbered explanation steps */
.numbered { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.numbered li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); font-size: 17px; }
.numbered li:last-child { border-bottom: 1px solid var(--line); }
.numbered li::before { content: counter(step); font: 800 30px/1 var(--display); font-stretch: 120%; color: var(--ridge); }
.numbered strong { display: block; font: 700 19px var(--display); margin-bottom: 2px; }

/* simple data table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.table { width: 100%; border-collapse: collapse; font-size: 17px; }
.table th, .table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.table thead th { font: 650 14px var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--mist); }
.table tbody th { font: 650 17px var(--display); }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }

/* document lists: installer portal, EPA certificates, warranty */
.docs { list-style: none; margin: 0; padding: 0; }
.docs li { border-bottom: 1px solid var(--line-2); }
.docs a, .docs .nofile { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 20px; flex-wrap: wrap; padding: 12px 4px; text-decoration: none; }
.docs a:hover { background: var(--mist); }
.docs .t { font: 600 16px/1.35 var(--display); color: var(--ink); }
.docs a .t { text-decoration: underline; text-decoration-color: var(--haze); text-underline-offset: 3px; }
.docs .m { font: 400 14px var(--display); color: var(--muted); white-space: nowrap; }
.docs .yr { display: inline-block; margin-right: 10px; padding: 1px 9px; border-radius: 999px; background: var(--ink); color: var(--white); font: 700 14px/1.5 var(--display); white-space: nowrap; vertical-align: 1px; }
.docs .nofile .t { color: var(--muted); }
.docs li[hidden] { display: none; }
.doc-group + .doc-group { margin-top: 28px; }
.doc-group h3 { margin: 0 0 6px; font: 700 18px var(--display); }
.acc { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.acc > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font: 700 20px var(--display); }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after { content: ""; flex: 0 0 auto; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-right: 4px; }
.acc[open] > summary::after { transform: rotate(225deg); }
.acc > summary .n { margin-left: auto; font: 500 14px var(--display); color: var(--muted); white-space: nowrap; }
.acc .acc-body { padding: 0 24px 24px; }
.acc[hidden] { display: none; }
.doc-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 20px; }
.doc-tools .search { max-width: 460px; }
.doc-tools p { margin: 0; font: 400 15px var(--display); color: var(--muted); }

/* EPA certificate years */
.years { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.years > li { display: grid; grid-template-columns: 110px 1fr; gap: 12px 24px; padding: 20px 0; border-bottom: 1px solid #C9D3D8; }
.years .yr { font: 800 30px/1 var(--display); font-stretch: 115%; }
.years .certs { display: flex; flex-wrap: wrap; gap: 8px; }
.years .certs a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1.5px solid #C9D3D8; border-radius: 8px; background: var(--white); font: 600 15px var(--display); text-decoration: none; }
.years .certs a:hover { border-color: var(--ink); }
@media (max-width: 640px) { .years > li { grid-template-columns: 1fr; } .years .yr { font-size: 26px; } }

/* people */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 20px; }
.person { display: grid; grid-template-columns: 132px 1fr; gap: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.person img { width: 132px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 8px; display: block; }
.person h3 { margin: 0 0 2px; font: 700 21px/1.2 var(--display); }
.person .role { margin: 0 0 12px; font: 500 15px var(--display); color: var(--ridge); }
.person p { font-size: 16px; color: var(--ink-2); }
.person .reach { margin: 0; font: 500 15px var(--display); }
.person > div { min-width: 0; }
.person .reach a { overflow-wrap: anywhere; }
@media (max-width: 480px) { .person { grid-template-columns: 1fr; } .person img { width: 120px; } }

/* external link tiles */
.tile-link .dom { display: block; margin-top: 10px; font: 500 14px var(--display); color: var(--muted); }

/* ---------- legacy content (pages not yet rebuilt) ---------- */
.legacy-hero { background: var(--white); line-height: 0; }
.legacy-hero img { width: 100%; height: auto; display: block; }
.legacy-hero iframe { width: 100%; }
.legacy iframe { max-width: 100%; }
.legacy { background: var(--white); padding: 48px 0 72px; font-size: 18px; line-height: 1.6; }
.legacy h1, .legacy h2, .legacy h3, .legacy h4, .legacy h5 { font-family: var(--display); }
.legacy .collapse:not(.show) { display: none; }

/* ---------- camper van page ---------- */
.rv-hero { position: relative; overflow: hidden; background: var(--mist); }
.rv-hero .wrap { position: relative; z-index: 2; padding-top: 28px; }
.rv-hero h1 { max-width: 14ch; }
.rv-hero .lede { color: var(--ink-2); }
.rv-hero .scene { position: relative; z-index: 1; margin-top: 48px; }
.rv-hero .scene svg, .rv-hero .scene img { display: block; width: 100%; height: auto; }
@media (max-width: 640px) { .rv-hero .scene { margin-top: 36px; } .rv-hero .scene svg { height: 200px; } .rv-hero .scene img { height: 200px; object-fit: cover; object-position: 100% 50%; } }
.price-note { margin-top: 48px; padding: 28px 32px; background: var(--ink); color: var(--white); border-radius: 10px; display: flex; gap: 32px; align-items: baseline; flex-wrap: wrap; }
.price-note .stat-num { color: var(--accent); font-size: 38px; }
.price-note p { margin: 0; color: var(--on-dark); max-width: 56ch; }
.photo-empty { margin-top: 40px; padding: 28px; border: 2px dashed var(--haze); border-radius: 10px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.photo-empty p { margin: 0; }
.bg-ridge a:not(.btn) { color: var(--white); }
