/* ═══════════════════════════════════════════════════════════
   BUSHLAND VANS — Main Stylesheet
   Based on TSC Base Theme architecture.

   TABLE OF CONTENTS
   ─────────────────
   1.  Design Tokens (CSS Variables)
   2.  Reset & Base
   3.  Typography
   4.  Buttons
   5.  Announce Bar
   6.  Navigation / Header
   7.  Footer
   8.  Shared Section Utilities
   9.  Eyebrow
   10. Sticky Shop Bar
   ═══════════════════════════════════════════════════════════ */


/* ── 1. DESIGN TOKENS ────────────────────────────────────── */
:root {
  /* ── Colours ── */
  --rust:        rgb(196, 69, 54);
  --rust-deep:   rgb(221, 41, 22);
  --ink:         rgb(26, 26, 26);
  --ink-2:       rgb(34, 32, 30);
  --ink-3:       rgb(44, 41, 38);
  --sand:        rgb(223, 201, 177);
  --sand-2:      rgb(196, 170, 138);
  --peach:       rgb(255, 188, 125);
  --paper:       #f6efe4;
  --line:        rgba(255,255,255,.10);
  --line-2:      rgba(255,255,255,.06);

  /* ── Typography ── */
  --display: "Roboto Slab", Georgia, serif;
  --sans:    "Roboto", system-ui, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, monospace;

  /* ── Shape ── */
  --radius:    4px;
  --radius-lg: 8px;
}


/* ── 2. RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--sand);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img   { display: block; max-width: 100%; }
a     { text-decoration: none; color: inherit; }
address { font-style: normal; }


/* ── 3. TYPOGRAPHY ───────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
  line-height: 1.15;
  color: #fff;
}

p { line-height: 1.7; }


/* ── 4. BUTTONS ──────────────────────────────────────────── */

/* Pill / large buttons — used on hero and CTA sections */
.btn-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
  cursor: pointer;
  border: none;
}
.btn-lg.primary {
  background: var(--rust);
  color: #fff;
}
.btn-lg.primary:hover {
  background: var(--rust-deep);
  transform: translateY(-1px);
}
.btn-lg.ghost {
  border: 1px solid rgba(255,255,255,.25);
  background: transparent;
  color: #fff;
}
.btn-lg.ghost:hover {
  border-color: var(--peach);
  color: var(--peach);
}

/* Small nav-style buttons */
.bv-btn-solid {
  background: var(--rust);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s ease;
}
.bv-btn-solid:hover { background: var(--rust-deep); }

.bv-btn-ghost {
  border: 1px solid rgba(255,255,255,.18);
  background: transparent;
  color: var(--sand);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
  transition: border-color .15s, color .15s;
}
.bv-btn-ghost:hover { border-color: var(--peach); color: var(--peach); }


/* ── 5. ANNOUNCE BAR ─────────────────────────────────────── */
.bv-announce {
  background: var(--rust);
  color: #fff;
  text-align: center;
  font-size: .8rem;
  padding: 9px 48px 9px 16px;
  position: relative;
  font-family: var(--sans);
  line-height: 1.4;
  z-index: 20;
}
.bv-announce strong { font-weight: 700; }
.bv-announce-dismiss {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,.8);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}
.bv-announce-dismiss:hover { color: #fff; }


/* ── 6. NAVIGATION / HEADER ──────────────────────────────── */
.bv-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(26,26,26,.78);
  border-bottom: 1px solid var(--line);
}

.bv-topbar {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  gap: 16px;
}

/* Logo / brand */
.bv-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--peach);
  flex-shrink: 0;
}
.bv-brand-logo {
  height: 44px;
  width: auto;
  display: block;
}
.bv-brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--rust);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
}
.bv-brand-text b     { font-family: var(--display); font-size: 16px; color: #fff; display: block; }
.bv-brand-text small { font-family: var(--mono); font-size: 10px; color: var(--sand-2); letter-spacing: .14em; text-transform: uppercase; margin-top: 2px; display: block; }

/* Desktop nav links */
.bv-menu {
  display: flex;
  gap: 26px;
}
.bv-menu a {
  text-decoration: none;
  color: var(--sand);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  transition: color .15s;
}
.bv-menu a:hover { color: var(--peach); }
.bv-menu a.active { color: var(--peach); }
.bv-menu a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--rust);
}

/* CTA area (desktop) */
.bv-top-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Hamburger toggle (mobile) */
.bv-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.bv-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--sand);
  border-radius: 2px;
  transition: background .15s;
}
.bv-nav-toggle:hover span { background: var(--peach); }

/* Main content wrapper (opens after header) */
.bv-wrap {
  position: relative;
  z-index: 1;
}


/* ── 7. FOOTER ───────────────────────────────────────────── */
.bv-foot {
  margin-top: 90px;
  border-top: 1px solid var(--line);
}

.bv-foot-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 60px 32px 30px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.bv-foot-logo {
  height: 52px;
  width: auto;
  display: block;
  margin-bottom: 16px;
}
.bv-foot-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  color: #fff;
  display: block;
  margin-bottom: 12px;
}
.bv-foot-brand-col p {
  margin-top: 4px;
  max-width: 42ch;
  color: var(--sand);
  font-size: 14px;
  line-height: 1.7;
}

.bv-foot-col h6 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sand-2);
  margin: 0 0 12px;
  font-weight: 500;
}
.bv-foot-col a,
.bv-foot-col address {
  display: block;
  color: var(--sand);
  font-size: 14px;
  padding: 4px 0;
  line-height: 1.6;
}
.bv-foot-col a:hover { color: var(--peach); }

.bv-foot-end {
  border-top: 1px solid var(--line);
  padding: 18px 32px;
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sand-2);
}


/* ── 8. SHARED SECTION UTILITIES ─────────────────────────── */
.bv-section       { padding: 5rem 2rem; }
.bv-section-inner { max-width: 1320px; margin: 0 auto; }


/* ── 9. EYEBROW ──────────────────────────────────────────── */
.bv-eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--peach);
  font-weight: 500;
  margin-bottom: 10px;
  display: block;
}


/* ── 10. STICKY SHOP BAR ─────────────────────────────────── */
.sticky-shop {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: rgba(34,32,30,.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 8px 8px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 20;
  box-shadow: 0 18px 40px rgba(0,0,0,.4);
}
.sticky-shop-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sand-2);
}
.sticky-shop-label b { color: var(--peach); margin-left: 6px; }
.sticky-shop-go {
  background: var(--rust);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
  font-weight: 500;
  transition: background .15s;
}
.sticky-shop-go:hover { background: var(--rust-deep); }


/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .bv-topbar { padding: 12px 20px; flex-wrap: wrap; gap: 10px; }
  .bv-menu   { display: none; }
  .bv-nav-toggle { display: flex; }
  .bv-foot-inner { grid-template-columns: 1fr 1fr; }
  .sticky-shop { left: 12px; right: 12px; transform: none; bottom: 12px; padding: 8px; }
  .sticky-shop-label { display: none; }
  .sticky-shop-go { flex: 1; text-align: center; }
}

/* Mobile nav drawer */
@media (max-width: 1024px) {
  .bv-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26,26,26,.97);
    padding: 1rem 2rem 1.5rem;
    border-bottom: 1px solid var(--line);
    gap: 1rem;
    z-index: 99;
  }
}

@media (max-width: 640px) {
  .bv-topbar { padding: 12px 16px; flex-wrap: nowrap; gap: 8px; }
  .bv-brand-logo { height: 36px; }
  .bv-top-cta .bv-btn-ghost { display: none; }
  .bv-top-cta .bv-btn-solid { padding: 8px 14px; font-size: 12px; white-space: nowrap; }

  .bv-foot-inner { grid-template-columns: 1fr; gap: 28px; padding: 40px 16px 20px; }
  .bv-foot-end   { flex-direction: column; gap: 8px; padding: 16px; text-align: left; }

  .sticky-shop { left: 12px; right: 12px; bottom: 12px; padding: 6px 6px 6px 14px; }
  .sticky-shop-label { display: none; }
  .sticky-shop-go { flex: 1; text-align: center; padding: 10px 14px; font-size: 12px; }
}
