/* Custom homepage — gigacamping.org ("Trail Map" layout). All selectors
   namespaced under .gc-* / #gc-home to avoid colliding with shared theme
   classes in style.css. */
#gc-home {
  --gc-bg: #f4f1e8;
  --gc-bg-deep: #1c211d;
  --gc-ink: #1c211d;
  --gc-ink-soft: #58604f;
  --gc-accent: #d9622c;
  --gc-accent-2: #c8bd9d;
  --gc-line: #dedac7;
  --gc-card: #ffffff;
  --gc-font-display: "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif;
  background: var(--gc-bg);
  color: var(--gc-ink);
}
#gc-home * { box-sizing: border-box; }
#gc-home a { color: inherit; text-decoration: none; }
#gc-home .gc-frame { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
#gc-home .gc-eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gc-accent); }
#gc-home .gc-heading {
  font-family: var(--gc-font-display); text-transform: uppercase; letter-spacing: 0.01em;
  font-size: clamp(24px, 3vw, 32px); margin: 6px 0 4px; text-wrap: balance;
}
#gc-home .gc-desc { color: var(--gc-ink-soft); font-size: 14.5px; max-width: 60ch; }
#gc-home .gc-ph-img {
  position: relative; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gc-ph-1, #ddd), var(--gc-ph-2, #ccc));
  overflow: hidden;
}
#gc-home .gc-ph-img img { width: 100%; height: 100%; object-fit: cover; }
#gc-home .gc-ph-img svg { width: 34%; height: 34%; opacity: 0.85; }

/* full-bleed hero */
#gc-home .gc-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(28,33,29,0.55), rgba(28,33,29,0.92)), linear-gradient(135deg, #3a2e1f, #1c211d 60%);
  color: #f1efe6; padding: 84px 28px 56px;
}
#gc-home .gc-hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.14;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(217,98,44,0.5) 38px 39px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(217,98,44,0.25) 38px 39px);
  mask-image: radial-gradient(circle at 75% 30%, black, transparent 60%);
}
#gc-home .gc-hero-inner { position: relative; max-width: 720px; }
#gc-home .gc-hero .gc-eyebrow { color: var(--gc-accent); }
#gc-home .gc-hero h1 {
  font-family: var(--gc-font-display); font-weight: 800; text-transform: uppercase; text-wrap: balance;
  font-size: clamp(36px, 5.2vw, 60px); line-height: 1; letter-spacing: 0.01em; margin: 10px 0 16px;
  color: #f1efe6;
}
#gc-home .gc-hero p { color: #cfc9b8; font-size: 16px; max-width: 46ch; margin: 0 0 26px; }
#gc-home .gc-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gc-accent); color: #1c211d; font-weight: 800; text-transform: uppercase; font-size: 13px;
  padding: 13px 24px; letter-spacing: 0.03em; border: none;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
#gc-home .gc-stats { display: flex; gap: 34px; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(241,239,230,0.16); flex-wrap: wrap; }
#gc-home .gc-stat strong { display: block; font-family: var(--gc-font-display); font-size: 28px; color: #f1efe6; }
#gc-home .gc-stat span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: #a8a293; }

/* waypoint trail */
#gc-home .gc-trail { padding: 44px 28px 8px; }
#gc-home .gc-trail-track { position: relative; display: flex; gap: 0; overflow-x: auto; padding: 30px 4px 10px; scrollbar-width: thin; }
#gc-home .gc-trail-track::before {
  content: ""; position: absolute; left: 30px; right: 30px; top: 48px; height: 2px;
  background-image: linear-gradient(90deg, var(--gc-accent) 0 8px, transparent 8px 16px);
  background-size: 16px 2px; background-repeat: repeat-x;
}
#gc-home .gc-waypoint { position: relative; flex: none; width: 130px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 0 8px; }
#gc-home .gc-wp-dot {
  width: 52px; height: 52px; border-radius: 50%; background: var(--gc-card); border: 2px solid var(--gc-accent);
  display: flex; align-items: center; justify-content: center; color: var(--gc-accent); position: relative; z-index: 1;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
#gc-home .gc-wp-dot svg { width: 22px; height: 22px; }
#gc-home .gc-wp-label { font-size: 12.5px; font-weight: 700; color: var(--gc-ink); }

/* Field Notes */
#gc-home .gc-notes { padding: 46px 28px 40px; }
#gc-home .gc-notes-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; margin-top: 20px; }
#gc-home .gc-feature-note { display: block; border-radius: 4px; overflow: hidden; background: var(--gc-card); border: 1px solid var(--gc-line); }
#gc-home .gc-feature-note .gc-ph-img { aspect-ratio: 16/12; }
#gc-home .gc-feature-note .gc-cap { padding: 20px; }
#gc-home .gc-feature-note .gc-cap .gc-eyebrow { color: var(--gc-accent); }
#gc-home .gc-feature-note .gc-cap h3 { font-family: var(--gc-font-display); text-transform: uppercase; font-size: 21px; margin: 8px 0 8px; line-height: 1.1; color: var(--gc-ink); }
#gc-home .gc-note-list { display: flex; flex-direction: column; gap: 2px; }
#gc-home .gc-note-row { display: flex; gap: 14px; align-items: center; padding: 14px 6px; border-bottom: 1px solid var(--gc-line); }
#gc-home .gc-note-row:first-child { padding-top: 2px; }
#gc-home .gc-note-row .gc-ph-img { width: 74px; height: 74px; flex: none; border-radius: 4px; }
#gc-home .gc-note-row .gc-rn-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gc-accent); }
#gc-home .gc-note-row .gc-rn-title { font-size: 14.5px; font-weight: 700; line-height: 1.3; margin-top: 3px; }

/* trip planner CTA */
#gc-home .gc-planner { padding: 0 28px 60px; }
#gc-home .gc-planner-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--gc-bg-deep); color: #f1efe6; border-radius: 4px; padding: 30px 34px; }
#gc-home .gc-planner-box .gc-eyebrow { color: var(--gc-accent-2); }
#gc-home .gc-planner-box h3 { font-family: var(--gc-font-display); text-transform: uppercase; font-size: 24px; margin: 6px 0 4px; color: #f1efe6; }
#gc-home .gc-planner-box p { color: #cfc9b8; font-size: 14px; margin: 0; max-width: 44ch; }

@media (max-width: 760px) {
  #gc-home .gc-notes-grid { grid-template-columns: 1fr; }
}
