/* =====================================================================
   MANCATION 2026 — design system
   Imitates the Moab OR Bust site: dark navy ground, orange accent,
   heavy uppercase display type, badge-and-card language.
   ===================================================================== */

:root {
  --bg: #0a0f1a;
  --bg-alt: #0d1424;
  --panel: #0d1a2e;
  --card: #0f1a2e;
  --card-2: #111c30;
  --line: rgba(255, 255, 255, 0.07);
  --accent: #f97316;
  --accent-soft: rgba(249, 115, 22, 0.12);
  --green: #22c55e;
  --yellow: #eab308;
  --blue: #60a5fa;
  --text: #f3f4f6;
  --muted: #9ca3af;
  --dim: #6b7280;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; gap: 26px;
  height: 64px; max-width: 1400px; margin: 0 auto; padding: 0 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 900; letter-spacing: 0.06em; font-size: 17px;
  white-space: nowrap;
}
.brand .mark { font-size: 20px; }
.nav-links {
  display: flex; gap: 22px; margin-left: auto;
  overflow-x: auto; scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--muted); text-transform: uppercase; white-space: nowrap;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--accent); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center;
  padding: 130px 0 70px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(
    100deg,
    rgba(6, 10, 18, 0.92) 0%,
    rgba(6, 10, 18, 0.72) 38%,
    rgba(6, 10, 18, 0.25) 70%,
    rgba(6, 10, 18, 0.45) 100%
  );
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.eyebrow {
  color: var(--accent); font-size: 12.5px; font-weight: 800;
  letter-spacing: 0.35em; text-transform: uppercase; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(64px, 10vw, 132px); line-height: 0.92;
  font-weight: 900; letter-spacing: -0.01em; text-transform: uppercase;
}
.hero h1 .alt { color: var(--accent); }
.hero-sub {
  max-width: 520px; margin-top: 26px;
  color: #d7dbe2; font-size: 18px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; font-size: 13px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.12s, background 0.15s, border-color 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid { background: var(--accent); color: #0a0f1a; }
.btn-outline { border-color: var(--dim); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-accent-outline {
  border-color: var(--accent); color: var(--accent); border-radius: 10px;
}

.status-chip {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 16px; padding: 13px 24px;
  border: 1px solid var(--accent); border-radius: 12px;
  color: var(--accent); font-weight: 800; font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase;
  background: rgba(249, 115, 22, 0.06);
}

/* countdown / progress block */
.count-block { margin-top: 40px; max-width: 520px; }
.count-title {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px; font-weight: 900; letter-spacing: 0.12em;
  text-transform: uppercase;
}
.count-title .pct { color: var(--muted); font-size: 11px; }
.bar {
  height: 8px; border-radius: 99px; margin-top: 8px;
  background: rgba(255, 255, 255, 0.09); overflow: hidden;
}
.bar > i {
  display: block; height: 100%; border-radius: 99px;
  background: var(--accent); width: 0%;
  transition: width 0.6s ease;
}
.bar.done > i { background: var(--green); }
.count-ends {
  display: flex; justify-content: space-between;
  font-size: 10.5px; color: var(--dim); letter-spacing: 0.1em;
  margin-top: 5px; text-transform: uppercase;
}
.count-note { margin-top: 10px; font-size: 13px; color: var(--muted); }
.count-note b { color: var(--accent); }
.count-clock { display: flex; gap: 22px; margin-top: 14px; }
.count-clock .cell { text-align: left; }
.count-clock .num {
  font-size: 34px; font-weight: 900; color: var(--accent); line-height: 1;
}
.count-clock .lab {
  font-size: 10px; letter-spacing: 0.18em; color: var(--muted);
  text-transform: uppercase; margin-top: 4px;
}

.hero-stats { display: flex; gap: 44px; margin-top: 42px; flex-wrap: wrap; }
.hero-stats .num {
  font-size: 34px; font-weight: 900; color: var(--accent); line-height: 1;
}
.hero-stats .lab {
  font-size: 11px; letter-spacing: 0.16em; color: #cbd2dc;
  text-transform: uppercase; margin-top: 6px; font-weight: 700;
}

/* ---------- sections ---------- */
section { padding: 90px 0; }
section.alt { background: var(--bg-alt); }
.sec-eyebrow {
  color: var(--accent); font-size: 12px; font-weight: 800;
  letter-spacing: 0.35em; text-transform: uppercase; margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.sec-title {
  font-size: clamp(34px, 5vw, 52px); font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.02;
}
.sec-sub { color: var(--muted); margin-top: 12px; max-width: 640px; }

/* ---------- forecast strip ---------- */
.forecast-strip { padding: 42px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.forecast-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}
.forecast-head .src { color: var(--dim); font-size: 12px; }
.forecast-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
.fc-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 18px 20px; min-height: 118px;
}
.fc-card .when {
  color: var(--accent); font-size: 11px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.fc-card .place { font-weight: 800; margin-top: 3px; font-size: 15px; }
.fc-card .sub { color: var(--dim); font-size: 12px; }
.fc-card .wx { margin-top: 10px; font-size: 13px; color: var(--muted); }
.fc-card .wx b { color: var(--text); font-size: 16px; }

/* ---------- banner ---------- */
.banner {
  border: 1px solid rgba(249, 115, 22, 0.5); border-radius: 14px;
  background: var(--card); padding: 26px 30px;
  display: flex; align-items: center; gap: 22px; margin-top: 34px;
}
.banner .ico {
  width: 52px; height: 52px; flex: 0 0 52px; border-radius: 50%;
  background: var(--accent); display: flex; align-items: center;
  justify-content: center; font-size: 24px;
}
.banner h3 {
  font-size: 20px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.02em;
}
.banner p { color: var(--muted); font-size: 14px; margin-top: 2px; }

/* ---------- map ---------- */
#map {
  height: 520px; border-radius: 16px; margin-top: 36px;
  border: 1px solid var(--line); background: var(--card);
  z-index: 1;
}
.map-legend {
  display: flex; gap: 26px; flex-wrap: wrap; margin-top: 16px;
  font-size: 12.5px; color: var(--muted); font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.map-legend .dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  margin-right: 7px;
}
.leaflet-container { font-family: var(--font); }
.leaflet-popup-content-wrapper {
  background: var(--card-2); color: var(--text); border-radius: 10px;
  border: 1px solid var(--line);
}
.leaflet-popup-tip { background: var(--card-2); }
.leaflet-popup-content b { text-transform: uppercase; letter-spacing: 0.04em; }
.leaflet-popup-content span { color: var(--muted); font-size: 12px; }

/* ---------- featured trail cards ---------- */
.grid-2 {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 26px; margin-top: 40px;
}
.t-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden; position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.t-card:hover { border-color: rgba(249, 115, 22, 0.55); transform: translateY(-3px); }
.t-media {
  height: 230px; position: relative;
  display: flex; align-items: flex-end; justify-content: center;
  background:
    radial-gradient(120% 90% at 70% 10%, rgba(96, 165, 250, 0.16), transparent 60%),
    linear-gradient(180deg, #16233c 0%, #0d1626 100%);
}
.t-media svg.ridge { width: 100%; height: 62%; display: block; opacity: 0.9; }
.t-media .photo-slot {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  color: var(--dim); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase;
}
.badge-row {
  position: absolute; top: 14px; left: 14px; right: 14px;
  display: flex; gap: 8px; z-index: 3;
}
.badge {
  font-size: 10.5px; font-weight: 900; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 5px 11px; border-radius: 7px;
}
.badge.num { background: var(--accent); color: #0a0f1a; }
.badge.confirmed { background: var(--green); color: #04150a; }
.badge.option { background: var(--blue); color: #061024; }
.badge.diff { margin-left: auto; background: var(--yellow); color: #1a1502; }
.badge.diff.easy { background: var(--green); color: #04150a; }
.badge.diff.strenuous { background: #ef4444; color: #fff; }
.badge.pick { background: var(--accent); color: #0a0f1a; }
.t-body { padding: 24px 26px 26px; }
.t-eyebrow {
  color: var(--accent); font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.t-body h3 {
  font-size: 24px; font-weight: 900; text-transform: uppercase;
  margin-top: 6px; letter-spacing: 0.01em;
}
.t-body p.desc { color: var(--muted); font-size: 14.5px; margin-top: 10px; }
.t-stats {
  display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px;
  font-size: 13px; font-weight: 700;
}
.t-stats span { display: inline-flex; align-items: center; gap: 6px; }
.t-stats .ic { color: var(--accent); }
.tip {
  margin-top: 16px; padding: 12px 16px; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025);
  color: var(--muted); font-size: 13px;
  display: flex; gap: 10px; align-items: flex-start;
}
.tip .ic { color: var(--accent); }
.t-link {
  margin-top: 16px; width: 100%; justify-content: center; display: flex;
}

/* ---------- option / stop cards ---------- */
.grid-4 {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 20px; margin-top: 36px;
}
.o-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 22px 22px;
  transition: border-color 0.2s;
}
.o-card:hover { border-color: rgba(249, 115, 22, 0.45); }
.o-card .top { display: flex; gap: 8px; margin-bottom: 12px; }
.o-card .place {
  color: var(--dim); font-size: 11px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.o-card h3 {
  font-size: 18px; font-weight: 900; text-transform: uppercase; margin-top: 2px;
}
.o-card p { color: var(--muted); font-size: 13.5px; margin-top: 8px; }
.o-card .stat {
  margin-top: 12px; color: var(--text); font-weight: 800; font-size: 13px;
}
.o-card .when {
  color: var(--accent); font-size: 10.5px; font-weight: 900;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.o-card .kind {
  color: var(--dim); font-size: 10.5px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; margin-left: 8px;
}
.o-card .tip-line {
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line);
  color: var(--dim); font-size: 12.5px;
}
.o-card .tip-line b { color: var(--accent); font-weight: 800; }

/* ---------- stay ---------- */
.stay-card {
  margin-top: 36px; background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 34px 36px;
}
.stay-card h3 { font-size: 26px; font-weight: 900; text-transform: uppercase; }
.stay-card .sub { color: var(--muted); margin-top: 8px; max-width: 620px; }
.stay-opts { display: grid; gap: 12px; margin-top: 22px; }
.stay-opt {
  display: flex; align-items: center; gap: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.16); border-radius: 10px;
  padding: 14px 18px; color: var(--text); font-weight: 700; font-size: 14px;
}
.stay-opt .n {
  width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 900;
}
.stay-note {
  margin-top: 20px; padding: 14px 18px; border-radius: 10px;
  background: rgba(234, 179, 8, 0.07); border: 1px solid rgba(234, 179, 8, 0.35);
  color: #fde68a; font-size: 13.5px;
}

/* ---------- filter pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pill {
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  font-size: 12px; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 10px 18px; border-radius: 99px;
  cursor: pointer; transition: all 0.15s; font-family: var(--font);
}
.pill .n { color: var(--dim); margin-left: 6px; font-weight: 700; }
.pill:hover { border-color: var(--accent); color: var(--accent); }
.pill.active { background: var(--accent); border-color: var(--accent); color: #0a0f1a; }
.pill.active .n { color: rgba(10, 15, 26, 0.65); }

.grid-3 {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 24px; margin-top: 32px;
}

/* ---------- gear ---------- */
.crew-progress {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px; margin-top: 34px;
}
.cp-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; cursor: pointer; transition: border-color 0.15s;
}
.cp-card:hover { border-color: rgba(249, 115, 22, 0.5); }
.cp-card.active { border-color: var(--accent); background: var(--card-2); }
.cp-head { display: flex; align-items: center; gap: 10px; }
.cp-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: 0 0 34px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 12px;
}
.cp-name {
  font-weight: 900; font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cp-nick { color: var(--accent); font-size: 11px; font-weight: 700; }
.cp-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 12px; font-size: 11.5px; color: var(--dim);
}
.cp-meta .pct { color: var(--blue); font-weight: 900; font-size: 15px; }
.cp-bar { height: 5px; border-radius: 99px; background: rgba(255,255,255,0.08); margin-top: 7px; overflow: hidden; }
.cp-bar > i { display: block; height: 100%; background: var(--blue); width: 0%; border-radius: 99px; transition: width 0.3s; }

.gear-cats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px; margin-top: 30px;
}
.g-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 26px;
}
.g-head { display: flex; align-items: center; gap: 14px; }
.g-ico {
  width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.g-head h3 {
  font-size: 16px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.04em; flex: 1;
}
.g-count { color: var(--dim); font-size: 12px; font-weight: 700; }
.g-card hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.g-item {
  display: flex; align-items: flex-start; gap: 12px; padding: 7px 0;
  color: var(--muted); font-size: 14px; cursor: pointer;
}
.g-item input {
  width: 17px; height: 17px; margin-top: 3px; accent-color: var(--accent);
  cursor: pointer;
}
.g-item.checked { color: var(--dim); text-decoration: line-through; }
.gear-hint { margin-top: 14px; color: var(--dim); font-size: 13px; }

/* ---------- itinerary ---------- */
.itin { margin-top: 44px; position: relative; }
.itin-row { display: flex; gap: 26px; margin-bottom: 26px; position: relative; }
.itin-num {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%;
  background: var(--accent); color: #0a0f1a; font-weight: 900;
  display: flex; align-items: center; justify-content: center; z-index: 2;
}
.itin-line {
  position: absolute; left: 21px; top: 44px; bottom: -26px; width: 2px;
  background: rgba(249, 115, 22, 0.35);
}
.itin-row:last-child .itin-line { display: none; }
.itin-card {
  flex: 1; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 24px 28px;
}
.itin-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.itin-head .date { margin-left: auto; color: var(--dim); font-size: 12.5px; }
.itin-head .tag {
  color: var(--dim); font-size: 11px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.itin-card h3 {
  font-size: 21px; font-weight: 900; text-transform: uppercase; margin-top: 10px;
}
.itin-bullets {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 6px 30px; margin-top: 12px; list-style: none;
}
.itin-bullets li {
  color: var(--muted); font-size: 14px; padding-left: 18px; position: relative;
}
.itin-bullets li::before {
  content: "›"; position: absolute; left: 0; color: var(--accent);
  font-weight: 900;
}
.itin-meta {
  display: flex; gap: 26px; margin-top: 14px; color: var(--dim);
  font-size: 12.5px; font-weight: 700; flex-wrap: wrap;
}
.itin-meta span { display: inline-flex; gap: 7px; align-items: center; }

/* ---------- food ---------- */
.food-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px; margin-top: 34px;
}
.f-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 20px 22px;
}
.f-card .meal {
  color: var(--accent); font-size: 11px; font-weight: 900;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.f-card .owner { font-weight: 900; font-size: 17px; margin-top: 6px; text-transform: uppercase; }
.f-card .owner.unclaimed { color: var(--dim); }
.f-card .plan { color: var(--muted); font-size: 13.5px; margin-top: 6px; }

/* ---------- crew ---------- */
.crew-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px; margin-top: 36px;
}
.crew-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 20px; text-align: center; transition: border-color 0.2s;
}
.crew-card:hover { border-color: rgba(249, 115, 22, 0.5); }
.crew-card.tbd { border-style: dashed; opacity: 0.75; }
.crew-avatar {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 18px;
}
.crew-card h3 {
  margin-top: 14px; font-size: 15px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.crew-card .nick { color: var(--accent); font-size: 12.5px; font-weight: 700; margin-top: 3px; }
.crew-card .slot {
  margin-top: 10px; display: inline-block; font-size: 10px; font-weight: 800;
  letter-spacing: 0.16em; color: var(--dim); text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 6px; padding: 3px 9px;
}
.crew-card .slot.in { color: var(--green); border-color: rgba(34, 197, 94, 0.4); }

/* ---------- gallery ---------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px; margin-top: 36px;
}
.ph-slot {
  aspect-ratio: 4 / 3; border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(90% 80% at 30% 20%, rgba(96, 165, 250, 0.08), transparent 60%),
    var(--card);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: var(--dim);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
}
.ph-slot .cam { font-size: 22px; opacity: 0.6; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line); padding: 44px 0 60px;
  text-align: center; color: var(--dim); font-size: 13px;
}
footer b { color: var(--muted); letter-spacing: 0.08em; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero { min-height: 78vh; padding-top: 110px; }
  .grid-2 { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  #map { height: 400px; }
  .banner { flex-direction: column; align-items: flex-start; }
  .itin-row { gap: 16px; }
  .itin-num { width: 36px; height: 36px; flex-basis: 36px; font-size: 13px; }
  .itin-line { left: 17px; top: 36px; }
}

/* Motion preference: Nate's environment runs reduce-motion ON. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .t-card:hover { transform: none; }
  .bar > i, .cp-bar > i { transition: none; }
}
