    /* ============================================================
       SPOKANE-OVERLAND — ONE-PAGE SITE
       Color Palette (matched to logo):
         - Dark base:    #1b2a1e  (deep forest dark)
         - Blue:         #2e5a88  (logo "SO" blue)
         - Blue light:   #3a7ab5  (hover blue)
         - Brown:        #8b5e3c  (logo road brown)
         - Brown light:  #a67348  (hover brown)
         - Green:        #2d5a2e  (logo pine green)
         - Green dark:   #1e3d20  (darker pine)
         - Tan:          #c9a96e  (warm accent)
         - Cream:        #eae4d4  (topo map background)
         - Dust:         #bfb89e  (muted text on dark)
       ============================================================ */

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

    :root {
      --dark-earth: #1b2a1e;
      --brown: #8b5e3c;
      --brown-light: #a67348;
      --tan: #c9a96e;
      --blue: #2e5a88;
      --blue-light: #3a7ab5;
      --olive: #2d5a2e;
      --forest: #1e3d20;
      --dust: #bfb89e;
      --cream: #eae4d4;
      --dirt: #243428;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
      background: var(--dark-earth);
      color: var(--cream);
      overflow-x: hidden;
      line-height: 1.6;
    }

    /* ---------- TOPOGRAPHY BACKGROUND ---------- */
    .topo-bg {
      position: fixed;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      opacity: 0.1;
    }

    .topo-bg svg {
      width: 100%;
      height: 100%;
    }

    /* ---------- CONTENT WRAPPER ---------- */
    .content-wrap {
      position: relative;
      z-index: 1;
    }

    /* ---------- HEADER / HERO ---------- */
    .hero {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 2rem;
      position: relative;
      background:
        radial-gradient(ellipse at 30% 20%, rgba(46,90,136,0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(45,90,46,0.2) 0%, transparent 60%),
        linear-gradient(180deg, var(--dark-earth) 0%, #1e3225 100%);
    }

    .hero::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 120px;
      background: linear-gradient(to bottom, transparent, var(--dark-earth));
    }

    .logo-mark {
      width: 140px;
      height: 140px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1.5rem;
      overflow: hidden;
    }

    .logo-mark img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .hero h1 {
      font-family: 'Bebas Neue', Impact, sans-serif;
      font-size: clamp(3rem, 8vw, 6rem);
      letter-spacing: 0.08em;
      color: var(--cream);
      line-height: 1;
      margin-bottom: 0.25rem;
    }

    .hero h1 .spokane {
      color: var(--brown);
    }

    .hero h1 .overland {
      color: var(--blue-light);
    }

    .hero .tagline {
      font-size: 1.1rem;
      color: var(--dust);
      opacity: 0.85;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      font-weight: 500;
      margin-bottom: 2rem;
    }

    .hero-cta {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      padding: 0.85rem 2rem;
      background: var(--blue);
      color: var(--cream);
      border: 2px solid rgba(46,90,136,0.5);
      border-radius: 6px;
      font-weight: 600;
      font-size: 0.95rem;
      text-decoration: none;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      transition: all 0.3s ease;
    }

    .hero-cta:hover {
      background: var(--blue-light);
      border-color: var(--blue-light);
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    }

    .hero-cta svg { width: 20px; height: 20px; }

    /* ---------- NAV BAR ---------- */
    .nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      padding: 0.8rem 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: background 0.3s;
    }

    .nav.scrolled {
      background: rgba(26,26,20,0.95);
      backdrop-filter: blur(10px);
      box-shadow: 0 2px 20px rgba(0,0,0,0.5);
    }

    .nav-brand {
      font-family: 'Bebas Neue', Impact, sans-serif;
      font-size: 1.4rem;
      color: var(--cream);
      text-decoration: none;
      letter-spacing: 0.06em;
    }

    .nav-brand .spokane { color: var(--brown); }
    .nav-brand .overland { color: var(--blue-light); }

    .nav-links {
      display: flex;
      gap: 1.8rem;
      list-style: none;
    }

    .nav-links a {
      color: var(--dust);
      text-decoration: none;
      font-size: 0.85rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      transition: color 0.2s;
    }

    .nav-links a:hover { color: var(--blue-light); }

    .subscribe-btn {
      background: var(--blue);
      color: var(--cream) !important;
      padding: 0.45rem 1rem;
      border-radius: 4px;
      transition: background 0.2s, transform 0.2s !important;
    }

    .subscribe-btn:hover {
      background: var(--blue-light) !important;
      transform: translateY(-1px);
    }

    /* ---------- SECTION SHARED STYLES ---------- */
    section {
      padding: 5rem 2rem;
    }

    .section-header {
      text-align: center;
      margin-bottom: 3rem;
    }

    .section-header h2 {
      font-family: 'Bebas Neue', Impact, sans-serif;
      font-size: clamp(2rem, 5vw, 3rem);
      letter-spacing: 0.06em;
      color: var(--cream);
      margin-bottom: 0.5rem;
    }

    .section-header .accent-line {
      width: 60px;
      height: 3px;
      background: var(--blue);
      margin: 0 auto 1rem;
      border-radius: 2px;
    }

    .section-header p {
      color: var(--dust);
      opacity: 0.8;
      max-width: 600px;
      margin: 0 auto;
    }

    /* ---------- FEATURED VIDEO ---------- */
    #featured {
      background: linear-gradient(180deg, var(--dark-earth), #17271c, var(--dark-earth));
    }

    .featured-video-wrap {
      max-width: 960px;
      margin: 0 auto;
      border-radius: 12px;
      overflow: hidden;
      border: 2px solid rgba(46,90,136,0.25);
      box-shadow: 0 20px 60px rgba(0,0,0,0.5);
      position: relative;
    }

    .video-container {
      position: relative;
      padding-bottom: 56.25%; /* 16:9 */
      height: 0;
      overflow: hidden;
    }

    .video-container iframe {
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      border: none;
    }

    .featured-info {
      background: var(--dirt);
      padding: 1.5rem 2rem;
    }

    .featured-info h3 {
      font-family: 'Bebas Neue', Impact, sans-serif;
      font-size: 1.5rem;
      letter-spacing: 0.04em;
      color: var(--cream);
      margin-bottom: 0.3rem;
    }

    .featured-info .meta {
      color: var(--dust);
      opacity: 0.7;
      font-size: 0.85rem;
    }

    /* ---------- VIDEO GRID ---------- */
    #videos {
      background: linear-gradient(180deg, var(--dark-earth) 0%, #1a2e20 50%, var(--dark-earth) 100%);
    }

    .video-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 1.8rem;
      max-width: 1200px;
      margin: 0 auto;
    }

    .video-card {
      background: var(--dirt);
      border-radius: 10px;
      overflow: hidden;
      border: 1px solid rgba(46,90,136,0.15);
      transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
      cursor: pointer;
    }

    .video-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 30px rgba(0,0,0,0.5);
      border-color: rgba(46,90,136,0.4);
    }

    .video-card .thumb {
      position: relative;
      padding-bottom: 56.25%;
      background: #1e2d22;
      overflow: hidden;
    }

    .video-card .thumb img {
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }

    .video-card:hover .thumb img {
      transform: scale(1.05);
    }

    .video-card .thumb .duration {
      position: absolute;
      bottom: 8px;
      right: 8px;
      background: rgba(0,0,0,0.8);
      color: #fff;
      font-size: 0.75rem;
      font-weight: 600;
      padding: 2px 6px;
      border-radius: 3px;
    }

    .video-card .thumb .play-icon {
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%) scale(0.8);
      width: 56px; height: 56px;
      background: rgba(46,90,136,0.9);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: all 0.3s ease;
    }

    .video-card:hover .play-icon {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
    }

    .play-icon svg {
      width: 24px;
      height: 24px;
      fill: var(--cream);
      margin-left: 3px;
    }

    .video-card .card-info {
      padding: 1rem 1.2rem 1.2rem;
    }

    .video-card .card-info h3 {
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--cream);
      line-height: 1.4;
      margin-bottom: 0.4rem;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .video-card .card-info .meta {
      font-size: 0.8rem;
      color: var(--dust);
      opacity: 0.6;
    }

    /* ---------- SHORTS ROW ---------- */
    #shorts {
      background: linear-gradient(180deg, var(--dark-earth) 0%, #17271c 50%, var(--dark-earth) 100%);
    }

    .shorts-row {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1.2rem;
      max-width: 1200px;
      margin: 0 auto;
    }

    .short-card {
      flex: 0 0 180px;
      background: var(--dirt);
      border-radius: 10px;
      overflow: hidden;
      border: 1px solid rgba(46,90,136,0.15);
      transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
      cursor: pointer;
    }

    .short-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 30px rgba(0,0,0,0.5);
      border-color: rgba(46,90,136,0.4);
    }

    .short-card .thumb {
      position: relative;
      padding-bottom: 177.78%; /* 9:16 vertical */
      background: #1e2d22;
      overflow: hidden;
    }

    .short-card .thumb img {
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }

    .short-card:hover .thumb img {
      transform: scale(1.05);
    }

    .short-card .thumb .play-icon {
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%) scale(0.8);
      width: 48px; height: 48px;
      background: rgba(46,90,136,0.9);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: all 0.3s ease;
    }

    .short-card:hover .play-icon {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
    }

    .short-card .thumb .shorts-badge {
      position: absolute;
      top: 8px; left: 8px;
      background: rgba(255,0,0,0.85);
      color: #fff;
      font-size: 0.65rem;
      font-weight: 700;
      padding: 2px 6px;
      border-radius: 3px;
      letter-spacing: 0.05em;
    }

    .short-card .card-info {
      padding: 0.7rem 0.8rem;
    }

    .short-card .card-info h3 {
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--cream);
      line-height: 1.3;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .shorts-hidden {
      display: none;
    }

    /* ---------- FULLSCREEN MODAL ---------- */
    .video-modal {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 1000;
      background: rgba(0,0,0,0.95);
      align-items: center;
      justify-content: center;
      padding: 2rem;
    }

    .video-modal.active {
      display: flex;
    }

    .video-modal .modal-inner {
      width: 100%;
      max-width: 1100px;
      position: relative;
    }

    .video-modal .close-btn {
      position: absolute;
      top: -40px;
      right: 0;
      background: none;
      border: none;
      color: var(--cream);
      font-size: 2rem;
      cursor: pointer;
      padding: 0.5rem;
      opacity: 0.7;
      transition: opacity 0.2s;
    }

    .video-modal .close-btn:hover { opacity: 1; }

    .video-modal .video-container {
      border-radius: 8px;
      overflow: hidden;
    }

    /* ---------- TRAILS ---------- */
    #trails {
      background: linear-gradient(180deg, var(--dark-earth) 0%, #1c2f23 50%, var(--dark-earth) 100%);
    }

    .trails-wrap {
      max-width: 1200px;
      margin: 0 auto;
    }

    /* Google map with the branded pins */
    .trail-map {
      height: 440px;
      border-radius: 12px;
      overflow: hidden;
      border: 2px solid rgba(46,90,136,0.25);
      box-shadow: 0 20px 60px rgba(0,0,0,0.5);
      margin-bottom: 2.5rem;
      background: var(--dirt);
    }

    .trail-map.map-failed {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 140px;
      color: var(--dust);
      opacity: 0.6;
      font-size: 0.9rem;
      text-align: center;
      padding: 1.5rem;
    }

    /* Google's own infowindow chrome is light by default — restyle
       the inner card and let our content sit on the site palette. */
    .map-pop {
      font-family: 'Inter', system-ui, sans-serif;
      color: #1b2a1e;
      max-width: 230px;
      line-height: 1.45;
    }
    .map-pop h4 {
      font-family: 'Bebas Neue', Impact, sans-serif;
      font-size: 1.15rem;
      letter-spacing: 0.04em;
      margin-bottom: 0.15rem;
      color: #1b2a1e;
    }
    .map-pop .pop-region {
      font-size: 0.78rem;
      color: #5a6b5c;
      margin-bottom: 0.5rem;
    }
    .map-pop a {
      display: inline-block;
      font-size: 0.78rem;
      font-weight: 600;
      color: var(--blue);
      text-decoration: none;
      margin-right: 0.8rem;
    }
    .map-pop a:hover { text-decoration: underline; }

    .trail-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 1.8rem;
    }

    .trail-card {
      background: var(--dirt);
      border-radius: 10px;
      overflow: hidden;
      border: 1px solid rgba(46,90,136,0.15);
      transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
      display: flex;
      flex-direction: column;
    }

    .trail-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 30px rgba(0,0,0,0.5);
      border-color: rgba(46,90,136,0.4);
    }

    .trail-card.pinned {
      border-color: var(--tan);
      box-shadow: 0 12px 34px rgba(0,0,0,0.55);
    }

    .trail-card .thumb {
      position: relative;
      padding-bottom: 56.25%;
      background: linear-gradient(135deg, #243428, #1e3d20);
      overflow: hidden;
    }

    .trail-card .thumb img {
      position: absolute;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }

    .trail-card:hover .thumb img { transform: scale(1.05); }

    .trail-card .thumb .placeholder {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .trail-card .difficulty {
      position: absolute;
      top: 10px;
      left: 10px;
      font-size: 0.7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.09em;
      padding: 3px 10px;
      border-radius: 20px;
      background: rgba(0,0,0,0.75);
      border: 1px solid;
    }

    .difficulty.easy      { color: #a9d7a9; border-color: rgba(79,138,79,0.8); }
    .difficulty.moderate  { color: #e0c48a; border-color: rgba(201,169,110,0.8); }
    .difficulty.difficult { color: #e0a377; border-color: rgba(166,115,72,0.9); }
    .difficulty.extreme   { color: #e59b8c; border-color: rgba(178,80,63,0.9); }

    .trail-card .card-info {
      padding: 1.1rem 1.2rem 1.3rem;
      display: flex;
      flex-direction: column;
      flex: 1;
    }

    .trail-card .card-info h3 {
      font-family: 'Bebas Neue', Impact, sans-serif;
      font-size: 1.35rem;
      letter-spacing: 0.03em;
      color: var(--cream);
      line-height: 1.2;
    }

    .trail-card .region {
      font-size: 0.8rem;
      color: var(--tan);
      margin-bottom: 0.7rem;
    }

    .trail-card .blurb {
      font-size: 0.88rem;
      color: var(--dust);
      opacity: 0.85;
      margin-bottom: 0.9rem;
    }

    .trail-specs {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem 1.4rem;
      font-size: 0.78rem;
      color: var(--dust);
      opacity: 0.75;
      margin-bottom: 1rem;
      padding-top: 0.8rem;
      border-top: 1px solid rgba(255,255,255,0.06);
    }

    .trail-specs .spec-label {
      display: block;
      font-size: 0.65rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      opacity: 0.6;
      margin-bottom: 1px;
    }

    .trail-links {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      margin-top: auto;
    }

    .trail-links a, .trail-links button {
      font-family: inherit;
      font-size: 0.78rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      text-decoration: none;
      padding: 0.4rem 0.85rem;
      border-radius: 5px;
      border: 1px solid rgba(46,90,136,0.5);
      background: transparent;
      color: var(--blue-light);
      cursor: pointer;
      transition: background 0.2s, color 0.2s, border-color 0.2s;
    }

    .trail-links a:hover, .trail-links button:hover {
      background: var(--blue);
      border-color: var(--blue);
      color: var(--cream);
    }

    .trail-links .locate {
      border-color: rgba(201,169,110,0.5);
      color: var(--tan);
    }
    .trail-links .locate:hover {
      background: var(--brown);
      border-color: var(--brown);
      color: var(--cream);
    }

    /* ---------- GEAR ---------- */
    #gear {
      background: linear-gradient(180deg, var(--dark-earth) 0%, #17271c 50%, var(--dark-earth) 100%);
    }

    .gear-wrap { max-width: 1200px; margin: 0 auto; }

    .gear-disclosure {
      max-width: 700px;
      margin: -1.5rem auto 2.5rem;
      text-align: center;
      font-size: 0.78rem;
      color: var(--dust);
      opacity: 0.65;
      line-height: 1.6;
      border: 1px solid rgba(191,184,158,0.15);
      border-radius: 8px;
      padding: 0.7rem 1.2rem;
    }

    .gear-category {
      font-family: 'Bebas Neue', Impact, sans-serif;
      font-size: 1.5rem;
      letter-spacing: 0.08em;
      color: var(--tan);
      margin: 2.5rem 0 1.2rem;
      display: flex;
      align-items: center;
      gap: 1rem;
    }
    .gear-category::after {
      content: '';
      flex: 1;
      height: 1px;
      background: linear-gradient(90deg, rgba(201,169,110,0.35), transparent);
    }
    .gear-category:first-child { margin-top: 0; }

    .gear-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 1.5rem;
    }

    .gear-card {
      background: var(--dirt);
      border-radius: 10px;
      overflow: hidden;
      border: 1px solid rgba(46,90,136,0.15);
      display: flex;
      flex-direction: column;
      transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }

    .gear-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 30px rgba(0,0,0,0.5);
      border-color: rgba(201,169,110,0.35);
    }

    .gear-card .thumb {
      position: relative;
      padding-bottom: 75%;
      background: var(--cream);
      overflow: hidden;
    }

    .gear-card .thumb img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: contain;
      padding: 0.8rem;
    }

    .gear-card .thumb .placeholder {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, #243428, #1e3d20);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .gear-card .card-info {
      padding: 1rem 1.1rem 1.2rem;
      display: flex;
      flex-direction: column;
      flex: 1;
    }

    .gear-card .card-info h3 {
      font-size: 0.98rem;
      font-weight: 600;
      color: var(--cream);
      line-height: 1.35;
      margin-bottom: 0.4rem;
    }

    .gear-card .blurb {
      font-size: 0.85rem;
      color: var(--dust);
      opacity: 0.8;
      margin-bottom: 0.9rem;
    }

    .gear-card .price-note {
      font-size: 0.8rem;
      color: var(--tan);
      opacity: 0.9;
      margin-bottom: 0.8rem;
    }

    .gear-actions {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      margin-top: auto;
    }

    .buy-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      background: var(--brown);
      color: var(--cream);
      text-decoration: none;
      font-size: 0.82rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.07em;
      padding: 0.55rem 1rem;
      border-radius: 5px;
      transition: background 0.2s, transform 0.2s;
    }

    .buy-btn:hover {
      background: var(--brown-light);
      transform: translateY(-1px);
    }

    .buy-btn svg { width: 15px; height: 15px; }

    .gear-video-link {
      text-align: center;
      font-size: 0.76rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.07em;
      color: var(--blue-light);
      background: none;
      border: none;
      font-family: inherit;
      cursor: pointer;
      padding: 0.2rem;
    }
    .gear-video-link:hover { color: var(--cream); }

    /* Sections with nothing published stay out of the way entirely */
    .section-hidden { display: none !important; }

    .section-loading {
      text-align: center;
      color: var(--dust);
      opacity: 0.5;
      font-size: 0.9rem;
      padding: 2rem 0;
    }

    /* ---------- ABOUT ---------- */
    #about {
      background: linear-gradient(180deg, var(--dark-earth), #1a2820, var(--dark-earth));
    }

    .about-content {
      max-width: 800px;
      margin: 0 auto;
      display: flex;
      gap: 3rem;
      align-items: center;
    }

    .about-avatar {
      flex-shrink: 0;
      width: 160px;
      height: 160px;
      border-radius: 50%;
      border: 3px solid var(--blue);
      overflow: hidden;
      background: var(--dirt);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .about-avatar svg { width: 80px; height: 80px; }

    .about-text h3 {
      font-family: 'Bebas Neue', Impact, sans-serif;
      font-size: 1.8rem;
      letter-spacing: 0.04em;
      color: var(--cream);
      margin-bottom: 0.5rem;
    }

    .about-text p {
      color: var(--dust);
      opacity: 0.85;
      margin-bottom: 1rem;
    }

    .about-stats {
      display: flex;
      gap: 2rem;
      margin-top: 1.5rem;
    }

    .stat {
      text-align: center;
    }

    .stat .num {
      font-family: 'Bebas Neue', Impact, sans-serif;
      font-size: 2rem;
      color: var(--blue-light);
    }

    .stat .label {
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--dust);
      opacity: 0.6;
    }

    /* ---------- FOOTER ---------- */
    footer {
      text-align: center;
      padding: 3rem 2rem;
      border-top: 1px solid rgba(46,90,136,0.2);
    }

    footer .socials {
      display: flex;
      justify-content: center;
      gap: 1.2rem;
      margin-bottom: 1rem;
    }

    footer .socials a {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      border: 1px solid rgba(46,90,136,0.4);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--dust);
      transition: all 0.2s;
    }

    footer .socials a:hover {
      background: var(--blue);
      border-color: var(--blue-light);
      color: var(--cream);
    }

    footer .socials a svg { width: 18px; height: 18px; }

    footer p {
      color: var(--dust);
      opacity: 0.5;
      font-size: 0.8rem;
    }

    /* ---------- RESPONSIVE ---------- */
    @media (max-width: 900px) {
      .nav { flex-direction: column; gap: 0.5rem; padding: 0.6rem 1rem; }

      /* The links used to be hidden outright below 768px, which would
         have buried Trails and Gear on phones. Instead they become a
         single swipeable row that still fits. */
      .nav-links {
        display: flex;
        width: 100%;
        gap: 1.1rem;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 2px;
      }
      .nav-links::-webkit-scrollbar { display: none; }
      .nav-links li { flex: 0 0 auto; }
      .nav-links a { font-size: 0.78rem; letter-spacing: 0.07em; }
      .subscribe-btn { padding: 0.35rem 0.8rem; }
    }

    @media (max-width: 768px) {
      .about-content { flex-direction: column; text-align: center; }
      .about-stats { justify-content: center; }
      .video-grid { grid-template-columns: 1fr; }
      .trail-grid { grid-template-columns: 1fr; }
      .gear-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
      .trail-map { height: 320px; }
      .gear-disclosure { margin-top: -0.5rem; }
      section { padding: 3rem 1.2rem; }
    }

    /* ---------- SCROLL REVEAL ---------- */
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* ============================================================
       SERVER-RENDERED PAGES (/trails.php, /gear.php)
       These reuse the card styles above; what follows is only the
       chrome those standalone pages need and the homepage does not.
       ============================================================ */

    main {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 2rem 4rem;
    }

    .page-head {
      padding: 7rem 0 2.5rem;
      text-align: center;
      max-width: 760px;
      margin: 0 auto;
    }

    .crumbs {
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--dust);
      opacity: 0.6;
      margin-bottom: 1.2rem;
    }
    .crumbs a { color: var(--dust); text-decoration: none; }
    .crumbs a:hover { color: var(--blue-light); }
    .crumbs span { margin: 0 0.4rem; }

    .page-head h1 {
      font-family: 'Bebas Neue', Impact, sans-serif;
      font-size: clamp(2.4rem, 6vw, 3.6rem);
      letter-spacing: 0.05em;
      color: var(--cream);
      line-height: 1.05;
      margin-bottom: 0.6rem;
    }

    .page-head .accent-line {
      width: 60px; height: 3px;
      background: var(--blue);
      margin: 0 auto 1.4rem;
      border-radius: 2px;
    }

    .page-head .lede {
      color: var(--dust);
      opacity: 0.85;
      font-size: 1.02rem;
    }

    /* The homepage pulls this box UP under a section header with a
       negative margin. Inside a page header that would drag it over
       the lede, so reset it here. */
    .page-head .gear-disclosure {
      margin: 1.6rem auto 0;
    }

    .result-count {
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--dust);
      opacity: 0.55;
      margin-bottom: 1.2rem;
    }

    .empty-state {
      text-align: center;
      color: var(--dust);
      opacity: 0.7;
      padding: 3rem 1rem;
    }

    /* Nav on a sub-page: no hero behind it, so it is always solid */
    .nav.nav-solid {
      background: rgba(26,26,20,0.95);
      backdrop-filter: blur(10px);
      box-shadow: 0 2px 20px rgba(0,0,0,0.5);
    }

    .nav-links a.on { color: var(--cream); }
    .nav-links a.on::after {
      content: '';
      display: block;
      height: 2px;
      background: var(--blue);
      margin-top: 3px;
      border-radius: 2px;
    }

    /* Headings inside cards are h2/h3 here, not plain text */
    .trail-card .card-info h2 {
      font-family: 'Bebas Neue', Impact, sans-serif;
      font-size: 1.35rem;
      letter-spacing: 0.03em;
      color: var(--cream);
      line-height: 1.2;
    }
    .card-anchor { color: inherit; text-decoration: none; }
    .card-anchor:hover { color: var(--blue-light); }

    /* Anchored cards get a moment of highlight when linked to */
    .trail-card:target, .gear-card:target {
      border-color: var(--tan);
      box-shadow: 0 0 0 2px rgba(201,169,110,0.35), 0 12px 34px rgba(0,0,0,0.55);
    }
    /* A card is an anchor target, so keep it clear of the fixed nav */
    .trail-card, .gear-card, .gear-section { scroll-margin-top: 90px; }

    /* Specs become a real <dl> on these pages */
    dl.trail-specs { margin: 0 0 1rem; }
    dl.trail-specs div { min-width: 90px; }
    dl.trail-specs dd { margin: 0; }

    .coords {
      font-size: 0.78rem;
      color: var(--dust);
      opacity: 0.7;
      margin-bottom: 0.9rem;
    }
    .coords a {
      color: var(--tan);
      text-decoration: none;
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    }
    .coords a:hover { text-decoration: underline; }

    /* Category jump bar on the gear page */
    .cat-jump {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      justify-content: center;
      margin-bottom: 2.5rem;
    }
    .cat-jump a {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      font-size: 0.78rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--dust);
      text-decoration: none;
      border: 1px solid rgba(46,90,136,0.3);
      border-radius: 20px;
      padding: 0.35rem 0.9rem;
      transition: background 0.2s, color 0.2s, border-color 0.2s;
    }
    .cat-jump a:hover {
      background: var(--blue);
      border-color: var(--blue);
      color: var(--cream);
    }
    .cat-jump a span { opacity: 0.55; font-size: 0.72rem; }

    .gear-section { margin-bottom: 3rem; }

    .cross-link {
      text-align: center;
      margin-top: 3.5rem;
      padding-top: 2rem;
      border-top: 1px solid rgba(255,255,255,0.07);
      color: var(--dust);
      opacity: 0.8;
      font-size: 0.95rem;
    }
    .cross-link a { color: var(--blue-light); }

    /* "See all" buttons on the homepage previews */
    .section-more {
      text-align: center;
      margin-top: 2.5rem;
    }
    .see-all {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: transparent;
      border: 1px solid var(--blue);
      color: var(--blue-light);
      text-decoration: none;
      font-size: 0.85rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.09em;
      padding: 0.65rem 1.6rem;
      border-radius: 5px;
      transition: background 0.2s, color 0.2s, transform 0.2s;
    }
    .see-all:hover {
      background: var(--blue);
      color: var(--cream);
      transform: translateY(-2px);
    }

    footer .footer-links {
      display: flex;
      gap: 1.6rem;
      justify-content: center;
      margin-bottom: 0.9rem;
    }
    footer .footer-links a {
      color: var(--dust);
      opacity: 0.7;
      text-decoration: none;
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
    }
    footer .footer-links a:hover { color: var(--blue-light); opacity: 1; }

    /* Below 900px the nav stacks into two rows, so sub-pages need
       more headroom, not less. */
    @media (max-width: 900px) {
      .page-head { padding: 9rem 0 2rem; }
      .trail-card, .gear-card, .gear-section { scroll-margin-top: 120px; }
    }

    @media (max-width: 768px) {
      main { padding: 0 1.2rem 3rem; }
    }

    /* ============================================================
       LEAF PAGES (/trail/<slug>, /gear/<slug>)
       ============================================================ */

    .leaf { max-width: 800px; margin: 0 auto; }
    .leaf-head { max-width: none; }

    .leaf-region {
      color: var(--tan);
      font-size: 0.95rem;
      margin-bottom: 0.8rem;
    }
    .leaf-region a { color: var(--tan); text-decoration: none; }
    .leaf-region a:hover { text-decoration: underline; }

    .difficulty.leaf-diff {
      position: static;
      display: inline-block;
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.09em;
      padding: 4px 12px;
      border-radius: 20px;
      background: rgba(0,0,0,0.5);
      border: 1px solid;
    }

    .leaf-hero {
      margin: 0 0 2rem;
      border-radius: 12px;
      overflow: hidden;
      border: 2px solid rgba(46,90,136,0.25);
      box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    }
    .leaf-hero img { display: block; width: 100%; height: auto; }

    .leaf-specs {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 1rem;
      margin: 0 0 2rem;
      padding: 1.2rem 1.4rem;
      background: var(--dirt);
      border: 1px solid rgba(46,90,136,0.18);
      border-radius: 10px;
    }
    .leaf-specs dt {
      font-size: 0.66rem;
      text-transform: uppercase;
      letter-spacing: 0.11em;
      color: var(--dust);
      opacity: 0.6;
      margin-bottom: 3px;
    }
    .leaf-specs dd {
      margin: 0;
      color: var(--cream);
      font-size: 0.92rem;
      font-weight: 500;
    }

    .leaf-body {
      color: var(--dust);
      font-size: 1.04rem;
      line-height: 1.75;
      margin-bottom: 2.4rem;
    }
    .leaf-body p { margin-bottom: 1.1rem; }

    .leaf h2 {
      font-family: 'Bebas Neue', Impact, sans-serif;
      font-size: 1.5rem;
      letter-spacing: 0.06em;
      color: var(--tan);
      margin: 0 0 1rem;
    }

    .leaf-video, .leaf-map-wrap { margin-bottom: 2.4rem; }

    .leaf-map { height: 360px; margin-bottom: 0; }

    .leaf-extra {
      color: var(--dust);
      font-size: 0.9rem;
      padding-top: 1.4rem;
      border-top: 1px solid rgba(255,255,255,0.07);
    }

    /* Gear leaf: image beside the write-up */
    .leaf-product {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      gap: 2rem;
      margin-bottom: 2.4rem;
      align-items: start;
    }
    .leaf-shot {
      margin: 0;
      background: var(--cream);
      border-radius: 10px;
      overflow: hidden;
      padding: 1rem;
    }
    .leaf-shot img { display: block; width: 100%; height: auto; }
    .leaf-buy .leaf-body { margin-bottom: 1.2rem; }
    .leaf-buy .buy-btn { width: 100%; }
    .leaf-disclosure { margin: 1.2rem 0 0; text-align: left; }

    /* Related list, shared by both leaf types */
    .leaf-related {
      max-width: 800px;
      margin: 0 auto;
      padding-top: 2.4rem;
      border-top: 1px solid rgba(255,255,255,0.07);
    }
    .leaf-related h2 {
      font-family: 'Bebas Neue', Impact, sans-serif;
      font-size: 1.4rem;
      letter-spacing: 0.06em;
      color: var(--tan);
      margin-bottom: 1rem;
    }
    .related-list {
      list-style: none;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 0.6rem;
      margin-bottom: 1.5rem;
    }
    .related-list a {
      display: block;
      padding: 0.7rem 1rem;
      background: var(--dirt);
      border: 1px solid rgba(46,90,136,0.15);
      border-radius: 8px;
      text-decoration: none;
      transition: border-color 0.2s, transform 0.2s;
    }
    .related-list a:hover {
      border-color: rgba(46,90,136,0.5);
      transform: translateY(-2px);
    }
    .rel-name { display: block; color: var(--cream); font-size: 0.92rem; font-weight: 600; }
    .rel-meta { display: block; color: var(--dust); opacity: 0.6; font-size: 0.78rem; margin-top: 2px; }

    .leaf-link {
      font-family: inherit;
      font-size: 0.78rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      text-decoration: none;
      padding: 0.4rem 0.85rem;
      border-radius: 5px;
      border: 1px solid var(--tan);
      color: var(--tan);
      transition: background 0.2s, color 0.2s;
    }
    .leaf-link:hover { background: var(--tan); color: var(--dark-earth); }

    @media (max-width: 720px) {
      .leaf-product { grid-template-columns: 1fr; }
      .leaf-map { height: 260px; }
    }

    /* ============================================================
       FRIENDS AND SUPPORTERS (/friends.php)
       ============================================================ */

    .friend-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 1.6rem;
      max-width: 1100px;
      margin: 0 auto;
    }

    .friend-card {
      background: var(--dirt);
      border: 1px solid rgba(201,169,110,0.18);
      border-radius: 10px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }
    .friend-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 30px rgba(0,0,0,0.5);
      border-color: rgba(201,169,110,0.45);
    }

    .friend-logo {
      background: var(--cream);
      padding: 1.4rem;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 120px;
    }
    .friend-logo img { max-width: 100%; max-height: 110px; height: auto; display: block; }

    .friend-card .card-info {
      padding: 1.2rem 1.3rem 1.4rem;
      display: flex;
      flex-direction: column;
      flex: 1;
    }
    .friend-card h2 {
      font-family: 'Bebas Neue', Impact, sans-serif;
      font-size: 1.3rem;
      letter-spacing: 0.04em;
      color: var(--cream);
      margin-bottom: 0.4rem;
    }

    .sponsor-badge {
      display: inline-block;
      align-self: flex-start;
      font-size: 0.64rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--tan);
      border: 1px solid rgba(201,169,110,0.5);
      border-radius: 20px;
      padding: 2px 9px;
      margin-bottom: 0.7rem;
    }

    .friend-card .blurb {
      font-size: 0.88rem;
      color: var(--dust);
      opacity: 0.85;
      margin-bottom: 1rem;
    }

    .friend-offer {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.7rem;
      margin-bottom: 1.1rem;
      padding: 0.8rem 0.9rem;
      background: rgba(201,169,110,0.08);
      border: 1px dashed rgba(201,169,110,0.4);
      border-radius: 8px;
    }
    .offer-text {
      font-weight: 700;
      color: var(--tan);
      font-size: 0.95rem;
    }

    .coupon {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: transparent;
      border: none;
      font-family: inherit;
      cursor: pointer;
      padding: 0;
      color: var(--cream);
    }
    .coupon-label {
      font-size: 0.62rem;
      text-transform: uppercase;
      letter-spacing: 0.11em;
      color: var(--dust);
      opacity: 0.7;
    }
    .coupon code {
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
      font-size: 0.92rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      color: var(--cream);
      background: rgba(0,0,0,0.35);
      border: 1px solid rgba(201,169,110,0.45);
      border-radius: 5px;
      padding: 4px 10px;
      transition: background 0.2s, border-color 0.2s;
    }
    .coupon:hover code { background: rgba(201,169,110,0.2); border-color: var(--tan); }
    .coupon.copied code { background: rgba(79,138,79,0.25); border-color: #4f8a4f; }
    .coupon.copied .coupon-label { color: #a9d7a9; opacity: 1; }

    .friend-actions {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      margin-top: auto;
    }

    .visit-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--blue);
      color: var(--cream);
      text-decoration: none;
      font-size: 0.82rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      padding: 0.6rem 1rem;
      border-radius: 5px;
      transition: background 0.2s, transform 0.2s;
      text-align: center;
    }
    .visit-btn:hover { background: var(--blue-light); transform: translateY(-1px); }

    /* ============================================================
       VIDEO PAGES (/videos.php, /video/<slug>)
       ============================================================ */

    .video-leaf { max-width: 900px; }

    .video-meta {
      color: var(--dust);
      opacity: 0.75;
      font-size: 0.88rem;
    }

    .video-player {
      border-radius: 12px;
      overflow: hidden;
      border: 2px solid rgba(46,90,136,0.25);
      box-shadow: 0 20px 60px rgba(0,0,0,0.5);
      margin-bottom: 2rem;
    }

    .video-description {
      font-size: 0.98rem;
      line-height: 1.75;
      white-space: normal;
      word-break: break-word;
    }
    .video-description a { color: var(--blue-light); }

    .video-actions {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.8rem;
      margin: 1.6rem 0 0;
      padding-top: 1.6rem;
      border-top: 1px solid rgba(255,255,255,0.07);
    }
    .buy-btn.watch-yt { background: #c4302b; }
    .buy-btn.watch-yt:hover { background: #e04a44; }

    /* ---- listing grid ---- */

    .vid-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 1.5rem;
    }
    .vid-grid.shorts {
      grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
      gap: 1.1rem;
    }

    .vid-card {
      display: block;
      background: var(--dirt);
      border: 1px solid rgba(46,90,136,0.15);
      border-radius: 10px;
      overflow: hidden;
      text-decoration: none;
      transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }
    .vid-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 30px rgba(0,0,0,0.5);
      border-color: rgba(46,90,136,0.45);
      text-decoration: none;
    }

    .vid-card .thumb {
      position: relative;
      display: block;
      padding-bottom: 56.25%;
      background: #1e2d22;
      overflow: hidden;
    }
    .vid-card.vid-short .thumb { padding-bottom: 133%; }

    .vid-card .thumb img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s ease;
    }
    .vid-card:hover .thumb img { transform: scale(1.05); }

    .vid-card .duration {
      position: absolute;
      bottom: 8px; right: 8px;
      background: rgba(0,0,0,0.82);
      color: #fff;
      font-size: 0.72rem;
      font-weight: 600;
      padding: 2px 6px;
      border-radius: 3px;
    }

    .vid-card .play-icon {
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%,-50%) scale(0.8);
      width: 52px; height: 52px;
      background: rgba(46,90,136,0.92);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: all 0.3s ease;
    }
    .vid-card:hover .play-icon { opacity: 1; transform: translate(-50%,-50%) scale(1); }
    .vid-card .play-icon svg { width: 22px; height: 22px; fill: var(--cream); margin-left: 3px; }

    .vid-card .card-info { display: block; padding: 0.9rem 1rem 1.1rem; }
    .vid-card .vid-title {
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      font-size: 0.92rem;
      font-weight: 600;
      color: var(--cream);
      line-height: 1.4;
      margin-bottom: 0.35rem;
    }
    .vid-card .meta {
      display: block;
      font-size: 0.78rem;
      color: var(--dust);
      opacity: 0.6;
    }
    .vid-grid.shorts .vid-title { font-size: 0.82rem; -webkit-line-clamp: 3; }

    .shorts-section { margin-top: 3rem; }

    /* ============================================================
       CROSSLINK TEASERS (below a video)
       ============================================================ */

    .teaser-block { margin-top: 2.8rem; }
    .teaser-block h2 {
      font-family: 'Bebas Neue', Impact, sans-serif;
      font-size: 1.5rem;
      letter-spacing: 0.06em;
      color: var(--tan);
      margin-bottom: 1rem;
    }
    .teaser-sub {
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--dust);
      opacity: 0.6;
      margin: 1.6rem 0 0.8rem;
      font-weight: 600;
    }

    .teaser-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
      gap: 0.9rem;
    }

    .teaser {
      display: flex;
      gap: 0.85rem;
      align-items: center;
      padding: 0.7rem;
      background: var(--dirt);
      border: 1px solid rgba(46,90,136,0.15);
      border-radius: 9px;
      text-decoration: none;
      transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    }
    .teaser:hover {
      transform: translateY(-3px);
      border-color: rgba(46,90,136,0.5);
      box-shadow: 0 10px 24px rgba(0,0,0,0.4);
      text-decoration: none;
    }
    .teaser.is-featured {
      border-color: rgba(201,169,110,0.55);
      background: linear-gradient(180deg, rgba(201,169,110,0.09), transparent);
    }

    .teaser-thumb {
      flex: 0 0 62px;
      width: 62px; height: 62px;
      border-radius: 7px;
      overflow: hidden;
      background: linear-gradient(135deg, #243428, #1e3d20);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .teaser-thumb.light { background: var(--cream); padding: 5px; }
    .teaser-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .teaser-thumb.light img { object-fit: contain; }
    .teaser-thumb svg { width: 30px; height: 30px; }

    .teaser-body { display: flex; flex-direction: column; min-width: 0; }
    .teaser-title {
      font-size: 0.88rem;
      font-weight: 600;
      color: var(--cream);
      line-height: 1.3;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .teaser-meta {
      font-size: 0.74rem;
      color: var(--dust);
      opacity: 0.65;
      margin-top: 2px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .teaser-tag {
      font-size: 0.62rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.09em;
      color: var(--tan);
      margin-top: 4px;
    }

    @media (max-width: 600px) {
      .teaser-grid { grid-template-columns: 1fr; }
      .vid-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
    }

    /* The homepage video/short cards became real <a> links when each
       video got its own page — anchors are inline by default. */
    a.video-card, a.short-card {
      display: block;
      text-decoration: none;
      color: inherit;
    }
    a.video-card:hover, a.short-card:hover { text-decoration: none; }

    /* ============================================================
       CAMP SPOTS (/camps.php, /camp/<slug>)
       Reuses the trail card; what follows is only what differs.
       ============================================================ */

    .camp-card .thumb { display: block; }

    .camp-card .photo-count {
      position: absolute;
      bottom: 8px; right: 8px;
      background: rgba(0,0,0,0.78);
      color: var(--cream);
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      padding: 3px 8px;
      border-radius: 3px;
    }

    /* Amenity chips on a card */
    .amenity-badges {
      list-style: none;
      display: flex;
      flex-wrap: wrap;
      gap: 0.35rem;
      margin: 0 0 0.9rem;
      padding: 0;
    }
    .amenity-badges li {
      font-size: 0.68rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--dust);
      background: rgba(201,169,110,0.1);
      border: 1px solid rgba(201,169,110,0.3);
      border-radius: 20px;
      padding: 2px 9px;
    }
    .amenity-badges li.more {
      background: transparent;
      border-color: rgba(191,184,158,0.25);
      opacity: 0.7;
    }

    /* Leaf: hero + gallery */
    .camp-hero { position: relative; }
    .camp-hero figcaption,
    .camp-gallery figcaption {
      font-size: 0.8rem;
      color: var(--dust);
      opacity: 0.75;
      padding: 0.5rem 0.8rem;
      background: var(--dirt);
    }

    .camp-gallery {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 1rem;
      margin-bottom: 2.4rem;
    }
    .camp-gallery figure {
      margin: 0;
      border-radius: 10px;
      overflow: hidden;
      border: 1px solid rgba(46,90,136,0.18);
      background: var(--dirt);
    }
    .camp-gallery img {
      display: block;
      width: 100%;
      height: 170px;
      object-fit: cover;
    }

    /* Leaf: amenities */
    .camp-amenities { margin-bottom: 2.2rem; }
    .amenity-list {
      list-style: none;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
      gap: 0.5rem 1.2rem;
      padding: 1.1rem 1.3rem;
      margin: 0;
      background: var(--dirt);
      border: 1px solid rgba(46,90,136,0.18);
      border-radius: 10px;
    }
    .amenity-list li {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      font-size: 0.92rem;
      color: var(--cream);
    }
    .amenity-list svg {
      width: 15px; height: 15px;
      color: var(--tan);
      flex: 0 0 15px;
    }


    /* Adding Camps took the nav to eight items plus Subscribe, which
       squeezed the wordmark onto two or three lines at every desktop
       width. Keep the brand on one line and let the link row tighten
       instead. */
    .nav-brand { white-space: nowrap; flex: 0 0 auto; }
    .nav-links { flex-wrap: nowrap; }

    @media (min-width: 901px) and (max-width: 1340px) {
      .nav { padding-left: 1.2rem; padding-right: 1.2rem; }
      .nav-links { gap: 1.05rem; }
      .nav-links a { font-size: 0.78rem; letter-spacing: 0.06em; }
      .subscribe-btn { padding: 0.4rem 0.8rem; }
    }
