/* Mountaineer Emergency Outfitters — theme fork of CT marketing CSS (amber accent) */
:root {
  color-scheme: dark;
  --bg: #08100d;
  --bg-2: #0d1712;
  --panel: #121f18;
  --panel-2: #192a20;
  --line: rgb(169 184 174 / 0.18);
  --text: #f2f5f1;
  --muted: #a9b8ae;
  --accent: #d9931a;
  --accent-deep: #b97510;
  --accent-hover: #f3b63f;
  --accent-rgb: 217 147 26;
  --on-accent: #161006;
  --violet: #718b7d;
  --amber: #d9931a;
  --red: #e35b52;
  --blue: #5d9cdc;
  --forest: #2b6045;
  --radius: 10px;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", 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-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 22px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(8 16 13 / 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none !important;
  margin-right: auto;
}
.brand-mark { width: 38px; height: 38px; flex: none; }
/* Logo wordmark in the header/footer (704x183 transparent PNG) */
.brand-logo { height: 42px; width: auto; flex: none; }
.brand-logo-footer { height: 32px; }
@media (max-width: 860px) { .brand-logo { height: 36px; } }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.1;
}
.brand-name span { color: var(--accent); }
.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: color 0.15s ease, background 0.15s ease;
}
.site-nav a:hover { color: var(--text); background: rgba(148, 163, 184, 0.08); }
.site-nav a[aria-current="page"] { color: var(--accent); }

.nav-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: var(--on-accent) !important;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 10px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.nav-call:hover { background: linear-gradient(135deg, var(--accent-hover), var(--accent)); }
.nav-call svg { width: 15px; height: 15px; }

.nav-login {
  color: var(--muted) !important;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none !important;
  white-space: nowrap;
  margin-right: 6px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-login:hover { color: var(--text) !important; border-color: rgba(148, 163, 184, 0.4); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px;
    gap: 2px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; font-size: 15px; }
  .nav-call { justify-content: center; margin-top: 8px; padding: 13px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 84px;
  background:
    radial-gradient(1000px 480px at 18% -12%, rgb(var(--accent-rgb) / 0.14), transparent 62%),
    radial-gradient(820px 420px at 88% 8%, rgb(43 96 69 / 0.28), transparent 60%),
    var(--bg);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(var(--accent-rgb) / 0.4), transparent);
}
.hero-wave {
  position: absolute;
  right: -40px;
  bottom: -18px;
  width: 560px;
  opacity: 0.10;
  pointer-events: none;
  color: var(--forest);
}
.hero-inner { position: relative; max-width: 720px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgb(var(--accent-rgb) / 0.42);
  background: rgb(var(--accent-rgb) / 0.12);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.05;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
h1 .glow { color: var(--accent); text-shadow: none; }

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 58ch;
  margin-bottom: 30px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 15.5px;
  padding: 14px 24px;
  border-radius: 12px;
  text-decoration: none !important;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: var(--on-accent) !important;
  box-shadow: 0 10px 28px rgb(var(--accent-rgb) / 0.22);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--accent-hover), var(--accent)); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text) !important;
  background: rgba(148, 163, 184, 0.05);
}
.btn-ghost:hover { border-color: rgba(148, 163, 184, 0.4); background: rgba(148, 163, 184, 0.1); }

.hero-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 14.5px;
}
.stars { color: var(--amber); letter-spacing: 2px; font-size: 15px; white-space: nowrap; }

/* ---------- Trust bar ---------- */
.trust-bar { border-block: 1px solid var(--line); background: var(--bg-2); }
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 38px;
  padding: 17px 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.trust-inner span { display: inline-flex; align-items: center; gap: 8px; }
.trust-inner svg { width: 15px; height: 15px; color: var(--accent); flex: none; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.kicker {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.12;
  margin-bottom: 14px;
}
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 21px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-lede { color: var(--muted); font-size: 17px; max-width: 64ch; }
.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; }
.section-head.center .section-lede { margin: 0 auto; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
a.card { text-decoration: none !important; color: inherit; display: block; }
.card:hover { transform: translateY(-2px); border-color: rgb(var(--accent-rgb) / 0.42); }
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(var(--accent-rgb) / 0.12);
  border: 1px solid rgb(var(--accent-rgb) / 0.35);
  color: var(--accent);
  margin-bottom: 18px;
}
.card-icon svg { width: 23px; height: 23px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card .card-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent);
}

/* ---------- Feature split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 34px; } }

.checklist { list-style: none; margin-top: 20px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 15.5px; }
.checklist svg { width: 19px; height: 19px; color: var(--accent); flex: none; margin-top: 3px; }
.checklist strong { color: var(--text); }

.panel-visual {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}

/* Tint gradient demo */
.tint-demo { display: grid; gap: 10px; }
.tint-demo .row { display: flex; align-items: center; gap: 14px; }
.tint-demo .label { font-size: 12.5px; font-weight: 700; color: var(--muted); width: 52px; text-align: right; flex: none; }
.tint-demo .bar { height: 34px; border-radius: 8px; flex: 1; border: 1px solid var(--line); }

/* ---------- Shared-shop / brand panel ---------- */
.meo {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(720px 340px at 8% 0%, rgb(var(--accent-rgb) / 0.12), transparent 60%),
    radial-gradient(720px 340px at 92% 100%, rgb(43 96 69 / 0.25), transparent 60%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}
.meo-lightbar {
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0 40%, var(--forest) 40% 70%, var(--steel, #829189) 70% 100%);
  opacity: 0.9;
  max-width: 220px;
  margin-bottom: 26px;
}
.meo .kicker { color: var(--accent); }
/* Logo sits on a subtle panel so the mountain silhouette stays legible. */
.meo-logo {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  margin: 0 0 20px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.meo-logo.sm { max-width: 260px; padding: 12px 16px; margin-bottom: 16px; }
.brand-logo { height: 48px; width: auto; flex: none; max-width: 220px; object-fit: contain; }
.brand-logo-footer { height: 40px; max-width: 200px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.review {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review p { color: var(--text); font-size: 15px; }
.review footer { color: var(--muted); font-size: 13px; margin-top: auto; }

.rating-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 26px;
  margin-top: 36px;
  text-align: center;
}
.rating-num { font-family: var(--font-display); font-size: 44px; font-weight: 600; color: var(--amber); line-height: 1; }

/* ---------- Visit ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 26px; align-items: stretch; }
@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; } }

.info-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.info-block h3 { font-size: 15px; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 8px; }
.info-block p, .info-block li { color: var(--muted); font-size: 15.5px; }
.info-block a { font-weight: 600; }

.hours { list-style: none; display: grid; gap: 6px; max-width: 320px; }
.hours li { display: flex; justify-content: space-between; gap: 18px; }
.hours .day { color: var(--text); font-weight: 600; }
.hours .closed { color: #f87171; }

.map-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 380px;
  background: var(--panel);
}
.map-frame iframe { position: relative; z-index: 1; width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: grayscale(0.2) contrast(1.05); }
.map-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 24px;
  background-image: radial-gradient(rgba(148, 163, 184, 0.13) 1px, transparent 1px);
  background-size: 22px 22px;
}
.map-fallback svg { width: 44px; height: 44px; color: var(--accent); margin-bottom: 6px; }
.map-fallback strong { font-family: var(--font-display); font-size: 19px; letter-spacing: 0.05em; text-transform: uppercase; }
.map-fallback span { color: var(--muted); font-size: 15px; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  padding: 66px 0 54px;
  background:
    radial-gradient(800px 340px at 20% -30%, rgb(var(--accent-rgb) / 0.12), transparent 62%),
    radial-gradient(600px 280px at 90% 0%, rgb(43 96 69 / 0.2), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-hero .section-lede { margin-top: 4px; }

/* ---------- Service detail rows ---------- */
.service-detail { display: grid; gap: 18px; }
.service-row {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  scroll-margin-top: 90px;
}
.service-row .card-icon { margin-bottom: 14px; }
.service-row p { color: var(--muted); margin-bottom: 6px; }
.chiplist { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chiplist span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: rgba(148, 163, 184, 0.09);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- Media page ---------- */
.social-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-bottom: 44px; }
.fb-embed-wrap {
  display: flex;
  justify-content: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 12px;
}
.fb-embed-wrap iframe { border: none; overflow: hidden; max-width: 100%; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 50% -40%, rgb(var(--accent-rgb) / 0.16), transparent 65%),
    var(--bg-2);
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 74px 0;
}
.cta-band .hero-ctas { justify-content: center; margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #050a08; padding: 56px 0 34px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 34px;
  margin-bottom: 40px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; display: grid; gap: 9px; }
.footer-grid a, .footer-grid p { color: var(--muted); font-size: 14.5px; }
.footer-grid a:hover { color: var(--accent); text-decoration: none; }
.footer-about { max-width: 34ch; }
.footer-about .brand { margin-bottom: 14px; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  color: #64748b;
  font-size: 13px;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover { transform: none; }
}

/* ---------- Utility ---------- */
.mt-2 { margin-top: 16px; }
.center { text-align: center; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* Brand cross-link chip */
.sibling-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted) !important;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  text-decoration: none !important;
  white-space: nowrap;
}
.sibling-link:hover { color: var(--text) !important; border-color: rgb(169 184 174 / 0.4); }
