/* Space Campers — archival replica of spacecampers.com
   Faithful to the live site's design language: black ground, white type,
   full-bleed imagery, short centered uppercase headings.
   Built June 2026 from the live site (injected spam content excluded). */

:root {
  --black: #000000;
  --white: #ffffff;
  --grey: #b5b5b5;
  --grey-dark: #1a1a1a;
  --font: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
}

img { max-width: 100%; display: block; }

a { color: var(--white); }

/* ---------- archive banner ---------- */
.archive-banner {
  background: #181818;
  color: #999;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 7px 16px;
}
.archive-banner a { color: #ccc; }

/* ---------- nav ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid #161616;
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.nav-logo img { height: 42px; width: auto; }
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.nav-links a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}
.nav-links a:hover { color: var(--grey); }

/* dropdown */
.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #0d0d0d;
  border: 1px solid #222;
  list-style: none;
  min-width: 150px;
  padding: 6px 0;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a {
  display: block;
  padding: 9px 18px;
  font-size: 12px;
}
.dropdown li a:hover { background: #1a1a1a; }

.nav-cta {
  border: 1px solid var(--white);
  padding: 9px 20px !important;
  font-weight: 500 !important;
}
.nav-cta:hover { background: var(--white); color: var(--black) !important; }

/* ---------- sections ---------- */
.full-img { width: 100%; }
.full-img img { width: 100%; height: auto; }

.copy {
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 28px;
  text-align: center;
}
.copy h5 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.copy p {
  color: var(--grey);
  font-size: 15.5px;
  line-height: 1.85;
}
.copy p strong { color: var(--white); }
.copy ul { text-align: left; color: var(--grey); margin: 14px auto 0; max-width: 640px; padding-left: 22px; }
.copy ul li { margin-bottom: 8px; }

.btn {
  display: inline-block;
  margin-top: 26px;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 13px 34px;
  border: 1px solid var(--white);
  color: var(--white);
  transition: all 0.15s;
}
.btn:hover { background: var(--white); color: var(--black); }
.btn-solid { background: var(--white); color: var(--black); }
.btn-solid:hover { background: transparent; color: var(--white); }

/* ---------- image grids / galleries ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.grid-2 img { width: 100%; height: 100%; object-fit: cover; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.grid-4 img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.grid-3 img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/9; }

/* ---------- carousel / slider ---------- */
.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
}
.slider-track {
  display: flex;
  transition: transform 0.45s ease;
}
.slider-slide {
  flex: 0 0 100%;
  min-width: 100%;
}
.slider-slide img {
  width: 100%;
  height: clamp(280px, 52vw, 620px);
  object-fit: cover;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
  width: 46px;
  height: 46px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  transition: background 0.15s;
}
.slider-btn:hover { background: rgba(0,0,0,0.8); }
.slider-prev { left: 16px; }
.slider-next { right: 16px; }
.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 9px;
  z-index: 3;
}
.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 0;
}
.slider-dot.active { background: #fff; }

/* captioned slider (feature sliders on Cap / Wedge) */
.slider--cards { max-width: 1100px; margin: 24px auto; }
.slider--cards .slider-slide { text-align: center; }
.slider--cards .slider-slide img { height: clamp(260px, 46vw, 540px); }
.slide-caption { padding: 22px 60px 12px; }
.slide-caption h5 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.slide-caption p { color: var(--grey); font-size: 15px; line-height: 1.75; max-width: 720px; margin: 0 auto; }
/* dots sit at the bottom edge of the image, not below the caption text */
.slider--cards .slider-dots {
  position: absolute;
  top: calc(clamp(260px, 46vw, 540px) - 30px);
  bottom: auto;
}
.slider--cards .slider-dot { background: rgba(255,255,255,0.45); }
.slider--cards .slider-dot.active { background: #fff; }
/* arrows center on the image, not the image + caption */
.slider--cards .slider-btn {
  top: calc(clamp(260px, 46vw, 540px) / 2);
}

/* ---------- product tiles (home) ---------- */
.product-tiles { display: grid; grid-template-columns: 1fr 1fr; }
.product-tiles a { display: block; }
.product-tiles img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- feature blocks (cap / wedge pages) ---------- */
.feature {
  max-width: 1100px;
  margin: 0 auto;
  padding: 34px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.feature:nth-child(even) .feature-text { order: -1; }
.feature img { width: 100%; }
.feature h5 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.feature p { color: var(--grey); font-size: 15px; line-height: 1.8; }
.feature ul { color: var(--grey); font-size: 15px; margin-top: 10px; padding-left: 20px; }
.feature ul li { margin-bottom: 6px; }

/* small feature card grid (wedge features) */
.cards {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 28px;
}
.card { text-align: center; }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 16px; }
.card h5 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.card p { color: var(--grey); font-size: 14px; line-height: 1.7; }

/* ---------- blog ---------- */
.blog-list {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.blog-card { text-align: center; }
.blog-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 18px; }
.blog-card h5 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.blog-card h5 a { text-decoration: none; }
.blog-card .date { color: var(--grey); font-size: 13px; }

/* blog article */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 28px;
}
.article h1 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 14px;
}
.article .byline { color: var(--grey); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 32px; }
.article h2, .article h3 { font-weight: 500; margin: 34px 0 12px; }
.article p { color: #cfcfcf; margin-bottom: 16px; font-size: 16px; line-height: 1.85; }
.article ul, .article ol { color: #cfcfcf; margin: 0 0 16px 24px; }
.article li { margin-bottom: 8px; }
.article img { margin: 26px 0; }
.article a { color: var(--white); }
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; margin: 26px 0; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; margin: 0 auto; padding: 48px 28px; }
.faq-wrap h2 { font-weight: 500; text-align: center; margin-bottom: 8px; }
.faq-wrap > p { text-align: center; color: var(--grey); margin-bottom: 40px; }
.faq-group-title {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin: 42px 0 14px;
}
.faq-item { border-bottom: 1px solid #1f1f1f; }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font);
  font-size: 15.5px;
  font-weight: 400;
  text-align: left;
  padding: 16px 30px 16px 0;
  cursor: pointer;
  position: relative;
}
.faq-q::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 14px;
  font-size: 20px;
  color: var(--grey);
}
.faq-q.open::after { content: "–"; }
.faq-a {
  display: none;
  color: var(--grey);
  font-size: 15px;
  line-height: 1.8;
  padding: 0 0 18px;
}
.faq-a.open { display: block; }

/* ---------- forms (newsletter / waitlist) ---------- */
.form-block {
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 28px;
  text-align: center;
}
.form-block h5 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.form-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.form-row input {
  background: #111;
  border: 1px solid #333;
  color: var(--white);
  padding: 12px 16px;
  font-size: 14px;
  min-width: 240px;
  font-family: var(--font);
}
.form-row button {
  background: var(--white);
  color: var(--black);
  border: none;
  padding: 12px 26px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
}
.form-note { color: #777; font-size: 12px; margin-top: 14px; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid #161616;
  padding: 30px 28px;
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}
footer span, footer a {
  color: #8a8a8a;
  font-size: 12.5px;
  text-decoration: none;
}
footer a:hover { color: var(--white); }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .feature { grid-template-columns: 1fr; gap: 20px; }
  .feature:nth-child(even) .feature-text { order: 0; }
  .cards { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .blog-list { grid-template-columns: 1fr; }
  .product-tiles { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .cards { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; }
}
