/* =========================================================
   TEMPLATE 1 — RIDGELINE
   Classic, refined outfitter layout. Logo-left + nav-right.
   Cream background, forest + rust accents, serif display.
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --bg: #F8F5EE;
  --bg-alt: #EFEAE0;
  --bg-dark: #1A241B;
  --bg-darker: #111811;
  --ink: #1A1F1C;
  --ink-soft: #2E342F;
  --muted: #6E6A60;
  --line: #D9D3C5;
  --accent: #B4532A;       /* rust */
  --accent-dark: #8E3E1C;
  --accent-2: #314032;     /* forest */
  --accent-2-soft: #4A5E4A;
  --white: #FFFFFF;

  --font-display: "Fraunces", "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  --s-subtle: 0 2px 8px -2px rgba(26, 31, 28, 0.08);
  --s-card:   0 10px 30px -10px rgba(26, 31, 28, 0.22);
  --s-hover:  0 22px 48px -14px rgba(26, 31, 28, 0.35);
  --s-deep:   0 30px 60px -20px rgba(0, 0, 0, 0.45);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --t-fast: 160ms;
  --t-med: 280ms;
  --t-slow: 520ms;

  --container: 1240px;
  --nav-h: 84px;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body) !important;
  color: var(--ink) !important;
  background: var(--bg) !important;
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; border-radius: var(--r-md); }
a { color: var(--accent); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 0 0 .4em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); font-weight: 500; }
/* MB widget injects a normalize `h1 { font-size: 2em }` rule that ties on
   specificity (0,0,1) and wins on source order. Pin hero h1 with higher
   specificity AND !important so the title doesn't collapse. */
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem) !important;
  margin: 0 0 .4em !important;
  line-height: 1.12 !important;
}
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.55rem); }
h4 { font-size: 1.1rem; }
p  { margin: 0 0 1em; }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 62ch; }

.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ---------- Eyebrow accent (small caps) ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-med) var(--ease),
              background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
  white-space: nowrap;
  box-shadow: var(--s-card);
}
.btn.btn--primary { background: var(--accent); color: #fff; }
.btn.btn--primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--s-hover); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; transform: translateY(-2px); box-shadow: var(--s-hover); color: #fff; }
.btn.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn.btn--ghost:hover { background: var(--ink); color: #fff; transform: translateY(-2px); box-shadow: var(--s-card); }
.btn.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); box-shadow: none; }
.btn.btn--ghost-light:hover { background: #fff; color: var(--ink); transform: translateY(-2px); box-shadow: var(--s-hover); }

/* ---------- Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(248, 245, 238, 0.92);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent;
  z-index: 50;
  transition: box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--s-subtle); border-bottom-color: var(--line); }
.nav-wrap {
  max-width: var(--container);
  margin: 0 auto;
  height: 100%;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--ink);
  letter-spacing: -.01em;
}
.brand__tag {
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-top: -2px;
}
.nav-main { display: flex; align-items: center; gap: 4px; }
.nav-main a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-weight: 500;
  font-size: .95rem;
  color: var(--ink);
  border-radius: var(--r-sm);
}
.nav-main a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.nav-main a:hover { color: var(--accent-dark); }
.nav-main a:hover::after,
.nav-main a[aria-current="page"]::after { transform: scaleX(1); }
.nav-dropdown { position: relative; }
/* Invisible bridge across the 8px gap between trigger and panel so the
   menu doesn't close on cursor traversal. */
.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -16px; right: -16px;
  height: 12px;
  pointer-events: auto;
  display: none;
}
.nav-dropdown:hover::after,
.nav-dropdown.open::after { display: block; }
.nav-dropdown > button {
  background: none; border: 0; cursor: pointer;
  padding: 10px 14px;
  font: inherit; font-weight: 500; font-size: .95rem;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-dropdown > button::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--t-med) var(--ease);
}
.nav-dropdown:hover > button::after,
.nav-dropdown.open > button::after { transform: rotate(-135deg) translateY(2px); }
.nav-dropdown__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--s-hover);
  border: 1px solid var(--line);
  padding: 10px;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t-med) var(--ease),
              transform var(--t-med) var(--ease),
              visibility var(--t-med) var(--ease);
}
.nav-dropdown:hover .nav-dropdown__panel,
.nav-dropdown.open .nav-dropdown__panel {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown__panel a {
  display: block; padding: 10px 12px;
  border-radius: var(--r-sm);
  color: var(--ink);
  font-weight: 500;
  font-size: .92rem;
}
.nav-dropdown__panel a::after { content: none; }
.nav-dropdown__panel a:hover { background: var(--bg-alt); color: var(--accent-dark); }

/* Dark-header builds: white nav-link color cascades into the dropdown panel
   and makes its text invisible on its white background. Pin panel ink with
   higher-specificity rules. */
.site-header .nav-dropdown__panel a {
  color: var(--ink);
  background: transparent;
}
.site-header .nav-dropdown__panel a:hover {
  background: var(--bg-alt);
  color: var(--accent-dark);
}
.site-header .nav-dropdown__panel a::after { content: none; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  background: none; border: 0;
  width: 44px; height: 44px;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast) var(--ease);
}

/* mobile */
@media (max-width: 1024px) {
  .nav-main { display: none; }
  .nav-toggle { display: inline-block; }
  .site-header.is-open .nav-main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    padding: 20px 28px 32px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--s-hover);
  }
  .site-header.is-open .nav-main a { padding: 14px 10px; font-size: 1rem; }
  .nav-dropdown > button { padding: 14px 10px; width: 100%; justify-content: space-between; }
  .nav-dropdown__panel {
    position: static; box-shadow: none; border: 0; padding: 0 0 8px 14px;
    opacity: 1; visibility: visible; transform: none;
    display: none; background: transparent;
  }
  .nav-dropdown.open .nav-dropdown__panel { display: block; }
  .nav-cta .btn--ghost { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 82vh;
  padding: calc(var(--nav-h) + 80px) 0 100px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--hero-img, linear-gradient(135deg, #2A3A2C, #1A241B));
  background-size: cover;
  background-position: center;
  z-index: -2;
  animation: slow-pan 24s ease-in-out infinite alternate;
}
@keyframes slow-pan {
  from { transform: scale(1.02) translateY(0); }
  to   { transform: scale(1.08) translateY(-2%); }
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.15) 40%, rgba(10,14,11,.85) 100%);
  z-index: -1;
}
.hero__inner { max-width: 780px; }
.hero__eyebrow { color: #F3DCC7; font-weight: 600; }
.hero h1 { color: #fff; font-weight: 500; font-style: italic; font-family: var(--font-display); letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: #F3DCC7; }
.hero .lead { color: rgba(255,255,255,.88); max-width: 56ch; font-size: 1.15rem; margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero--short { min-height: 48vh; padding: calc(var(--nav-h) + 40px) 0 70px; }
.hero--short h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-style: normal; }

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 28px;
  transform: translateX(-50%);
  color: rgba(255,255,255,.8);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  animation: float 2.5s ease-in-out infinite;
}
.hero__scroll::after {
  content: "";
  display: block;
  width: 1px; height: 28px;
  background: rgba(255,255,255,.7);
}
@keyframes float {
  0%,100% { transform: translate(-50%, 0); }
  50%     { transform: translate(-50%, 6px); }
}

/* ---------- Section scaffolding ---------- */
.section { padding: 110px 0; position: relative; }
.section--tight { padding: 80px 0; }
.section--alt { background: var(--bg-alt) !important; }
.section--dark { background: var(--bg-dark) !important; color: #E8E3D6; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: #F3DCC7; }
.section--dark .lead { color: rgba(255,255,255,.82); }

.section__head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section__head .eyebrow { display: inline-block; }

/* ---------- Two-column split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--s-card);
  transition: transform var(--t-slow) var(--ease);
}
.split__media img:hover { transform: translateY(-4px) scale(1.01); }
.split--reverse .split__media { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__media { order: 0; }
}

/* ---------- Hunt cards grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 1024px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .card-grid { grid-template-columns: 1fr; } }

.hunt-card {
  position: relative;
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--s-card);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
  display: flex; flex-direction: column;
}
.hunt-card:hover { transform: translateY(-6px); box-shadow: var(--s-hover); }
.hunt-card__img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  border-radius: 0;
}
.hunt-card__body { padding: 24px 26px 28px; }
.hunt-card h3 { margin-bottom: 10px; }
.hunt-card p { color: var(--muted); font-size: .96rem; margin-bottom: 18px; }
.hunt-card__meta {
  display: flex;
  gap: 18px;
  font-size: .82rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
}
.hunt-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.hunt-card__meta span::before {
  content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; display: inline-block;
}
.hunt-card__cta {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-weight: 600; font-size: .92rem;
  text-decoration: none;
  transition: gap var(--t-med) var(--ease);
}
.hunt-card__cta:hover { gap: 14px; color: var(--accent-dark); }
.hunt-card__cta::after {
  content: "→";
  transition: transform var(--t-med) var(--ease);
}
.hunt-card__cta:hover::after { transform: translateX(4px); }

/* ---------- Feature trio ---------- */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
@media (max-width: 820px) { .feature-row { grid-template-columns: 1fr; } }
.feature {
  text-align: left;
}
.feature__icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  display: grid; place-items: center;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: var(--s-card);
}
.feature h3 { margin-bottom: 8px; }
.feature p  { color: var(--muted); margin: 0; }

/* ---------- Gallery strip ---------- */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-strip img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
  border-radius: var(--r-md);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
  box-shadow: var(--s-card);
}
.gallery-strip img:hover { transform: scale(1.03); box-shadow: var(--s-hover); }
@media (max-width: 900px) { .gallery-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Reviews row ---------- */
.review-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.review {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 30px 30px 28px;
  box-shadow: var(--s-card);
  border: 1px solid var(--line);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.review:hover { transform: translateY(-4px); box-shadow: var(--s-hover); }
.review__stars {
  color: var(--accent); letter-spacing: 2px; font-size: .95rem; margin-bottom: 14px;
}
.review p { color: var(--ink-soft); font-style: italic; }
.review__who { font-weight: 600; color: var(--ink); margin-top: 16px; display: block; font-style: normal; }
.review__when { color: var(--muted); font-size: .85rem; }
@media (max-width: 900px) { .review-row { grid-template-columns: 1fr; } }

/* ---------- Brands strip ---------- */
.brands {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 36px 56px; align-items: center;
  padding: 20px 0;
}
.brands span {
  font-family: var(--font-display);
  color: var(--muted);
  font-size: 1.4rem;
  opacity: .7;
  transition: opacity var(--t-med) var(--ease), color var(--t-med) var(--ease);
  letter-spacing: .02em;
}
.brands span:hover { opacity: 1; color: var(--ink); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 80px 28px;
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--s-hover);
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(1000px 500px at 20% 20%, rgba(255,255,255,.08), transparent 70%);
}
.cta-banner h2 { color: #fff; position: relative; margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,.9); max-width: 56ch; margin: 0 auto 28px; position: relative; }
.cta-banner .btn { position: relative; }

/* ---------- Forms ---------- */
.form {
  display: grid; gap: 20px;
  max-width: 640px;
}
.form label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; letter-spacing: .02em; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--line);
  background: #fff;
  font: inherit;
  color: var(--ink);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(180, 83, 42, 0.15);
}
.form textarea { min-height: 140px; resize: vertical; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-grid-2 { grid-template-columns: 1fr; } }

.mb-form-embed {
  border: 2px dashed var(--line);
  border-radius: var(--r-md);
  padding: 28px;
  color: var(--muted);
  text-align: center;
  background: #fff;
}
.mb-form-embed strong { display: block; color: var(--ink); margin-bottom: 4px; font-family: var(--font-display); font-size: 1.1rem; }

/* ---------- Contact cards ---------- */
.contact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 60px; }
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--s-card);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--s-hover); }
.contact-card__icon {
  width: 54px; height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--accent);
  display: grid; place-items: center;
  font-size: 1.4rem;
}
.contact-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--ink); letter-spacing: .02em; }
.contact-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.contact-card a { color: var(--ink); font-weight: 500; }
@media (max-width: 820px) { .contact-row { grid-template-columns: 1fr; } }

/* ---------- FAQ / AEO ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 16px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 24px;
  box-shadow: var(--s-subtle);
  transition: box-shadow var(--t-med) var(--ease);
}
.faq details[open] { box-shadow: var(--s-card); }
.faq summary {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.6rem;
  color: var(--accent);
  transition: transform var(--t-med) var(--ease);
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 14px 0 0; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-darker);
  color: #D6D0BF;
  padding: 90px 0 28px;
}
.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
@media (max-width: 900px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-cols { grid-template-columns: 1fr; } }
.site-footer a { color: #D6D0BF; display: inline-block; padding: 4px 0; font-size: .96rem; }
.site-footer a:hover { color: var(--accent); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin: 4px 0; }
.footer-brand__tag { color: #908976; font-size: .95rem; max-width: 32ch; margin-top: 8px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: #D6D0BF; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: grid; place-items: center;
  color: #D6D0BF;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.socials a:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); }
.socials a svg { width: 16px; height: 16px; fill: currentColor; display: block; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 22px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  color: #8C866F;
  font-size: .85rem;
}
.footer-legal a { color: #8C866F; }
.footer-legal a:hover { color: var(--accent); }

/* ---------- Page-title / breadcrumb helpers ---------- */
.breadcrumb {
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 14px;
}
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Price block ---------- */
.price-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--s-card);
}
.price-block > div { padding: 22px 26px; border-bottom: 1px solid var(--line); }
.price-block > div:nth-child(odd) { border-right: 1px solid var(--line); background: var(--bg-alt); font-weight: 600; font-family: var(--font-display); font-size: 1.05rem; }
.price-block > div:nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 640px) { .price-block { grid-template-columns: 1fr; } .price-block > div:nth-child(odd) { border-right: 0; } }

/* ---------- Animations on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-lg { margin-top: 60px; }
.mb-lg { margin-bottom: 60px; }
.divider {
  height: 1px; background: var(--line); margin: 0 auto; max-width: 100px;
}
.hr-fancy {
  display: flex; align-items: center; gap: 14px;
  color: var(--muted); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  max-width: 420px; margin: 0 auto 36px;
}
.hr-fancy::before, .hr-fancy::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}


/* =====================================================================
   Mallard Bay booking widget — defensive overrides
   ---------------------------------------------------------------------
   MB's widget script (loaded at end of body) does three things that will
   visually break this template unless we counter them:

   1) It injects a global Tailwind stylesheet that includes
      `.container { max-width: 640px … }`. Our template avoids this by
      using `.wrap` instead of `.container`.

   2) It sets `body { font-family: "Nunito Sans"; background: #fff; color: #303030 }`
      and other globals. The !important locks at the top of this file
      (on body + .section--alt + .section--dark + .btn.btn--*) defeat
      that.

   3) It WRAPS every decorated .btn-book in nested divs:
        <div class="mb-full-width">
          <div><div>
            <button style="background:none; border:0; padding:0">
              <a class="btn btn--primary btn-book">Book Now</a>
            </button>
          </div></div>
        </div>
      The `.mb-full-width` class expands to 100% — which blows out nav /
      hero / card layouts. The rules below force it to shrink-wrap around
      the inner <a> everywhere EXCEPT inside pricing / feature cards,
      where we want the button to span the card width and pin to the
      card's bottom edge.
   ===================================================================== */

/* Lock horizontal scroll (prevents the jittery side-swipe some mobile
   browsers let through when any child element overflows the viewport
   by a few pixels). */
html, body { overflow-x: hidden; max-width: 100%; }

.mb-full-width {
  display: inline-block !important;
  width: auto !important;
  max-width: none !important;
}
.mb-full-width > *,
.mb-full-width > * > *,
.mb-full-width > * > * > * {
  display: inline-block !important;
  width: auto !important;
}
.mb-full-width button {
  display: inline-block !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  width: auto !important;
}
.mb-full-width a.btn { display: inline-flex !important; }

/* Inside pricing / feature cards: wrapper expands to full width AND
   pins to the bottom of the card so side-by-side cards have aligned
   buttons regardless of copy length. */
.feature-card > .mb-full-width {
  display: block !important;
  width: 100% !important;
  margin-top: auto !important;
  padding-top: 18px;
}
.feature-card > .mb-full-width > *,
.feature-card > .mb-full-width > * > *,
.feature-card > .mb-full-width > * > * > * {
  display: block !important;
  width: 100% !important;
}
.feature-card > .mb-full-width a.btn {
  display: inline-flex !important;
  width: 100% !important;
  justify-content: center !important;
  padding: 14px 28px !important;
}


/* =====================================================================
   Universal mobile + dark-section polish
   ---------------------------------------------------------------------
   Added after the initial Big Water build surfaced these as latent bugs
   across all templates. Kept here as a single block so future edits can
   tweak thresholds in one place.
   ===================================================================== */

/* Force mobile card stacking even when inline styles try to override. */
@media (max-width: 720px) {
  .card-grid { grid-template-columns: 1fr !important; }
  .feature-row { grid-template-columns: 1fr !important; }
}

/* Gallery: 2 columns on mobile (was cramped 4-col by default). */
@media (max-width: 720px) {
  .gallery-strip { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Dark-section feature text — the base `.feature p` color token reads
   black against the dark background. Restore contrast. */
.section--dark .feature p,
.section--dark .feature-card p,
.section--dark .feature-card li,
.section--dark .feature h3,
.section--dark .feature h4 { color: rgba(255,255,255,.88); }
.section--dark .feature-card h3,
.section--dark .feature-card h4 { color: #fff; }

/* =========================================================
   OWYHEE COUNTY OUTFITTERS — Build-specific overrides
   - Dark header (logo is white-on-transparent)
   - Logo image replaces .brand__mark monogram
   - Pricing rows, masonry gallery, info-blocks
   ========================================================= */

/* ---- Dark header treatment ------------------------------ */
.site-header {
  background: rgba(26, 36, 27, 0.92) !important;
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: saturate(1.2) blur(12px);
}
.site-header.is-scrolled {
  background: rgba(17, 24, 17, 0.96) !important;
  box-shadow: 0 6px 20px -10px rgba(0,0,0,.6);
}
.brand__logo {
  height: 56px;
  width: auto;
  border-radius: 0;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.25));
}
@media (max-width: 720px) { .brand__logo { height: 44px; } }

.nav-main a,
.nav-dropdown > button {
  color: #fff !important;
}
.nav-main a:hover { color: var(--accent) !important; }
.nav-main a::after { background: var(--accent); }

/* Ghost (phone) button on dark header */
.site-header .btn.btn--ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255,255,255,.55);
}
.site-header .btn.btn--ghost:hover {
  background: #fff;
  color: var(--ink) !important;
  border-color: #fff;
}

/* Mobile hamburger lines white on dark header */
.nav-toggle span { background: #fff; }

/* Mobile menu drawer when expanded — match the dark header */
@media (max-width: 980px) {
  .site-header.is-open .nav-main {
    background: rgba(17, 24, 17, 0.98) !important;
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .site-header.is-open .nav-main a { color: #fff !important; }
  .site-header.is-open .nav-main a:hover { color: var(--accent) !important; }
}

/* ---- Footer logo treatment ------------------------------ */
.brand__logo--footer {
  height: 64px;
  margin-bottom: 14px;
}

/* ---- Trip pricing card (trips page split blocks) ------- */
.pkg-bullets {
  list-style: none;
  margin: 16px 0 24px;
  padding: 0;
}
.pkg-bullets li {
  position: relative;
  padding: 4px 0 4px 22px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.5;
}
.pkg-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 12px; height: 2px;
  background: var(--accent);
}
.pkg-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 18px 0 22px;
}
.pkg-price__amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}
.pkg-price__unit {
  font-size: .92rem;
  color: var(--muted);
  font-weight: 500;
}
.pkg-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---- FAQs info blocks ----------------------------------- */
.info-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 28px;
  margin-bottom: 18px;
  box-shadow: var(--s-subtle);
}
.info-block h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: var(--ink);
}
.info-block ul { margin: 0; padding-left: 22px; }
.info-block ul li { color: var(--ink-soft); padding: 4px 0; }
.info-block p { color: var(--ink-soft); margin-bottom: 0; }

/* ---- Masonry gallery (CSS columns) ---------------------- */
.masonry {
  column-count: 4;
  column-gap: 14px;
}
.masonry img {
  width: 100%;
  margin: 0 0 14px;
  border-radius: var(--r-md);
  break-inside: avoid;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
  display: block;
}
.masonry img:hover {
  transform: translateY(-3px);
  box-shadow: var(--s-hover);
}
@media (max-width: 1100px) { .masonry { column-count: 3; } }
@media (max-width: 760px)  { .masonry { column-count: 2; column-gap: 10px; } .masonry img { margin-bottom: 10px; } }
@media (max-width: 460px)  { .masonry { column-count: 1; } }

/* ---- CTA banner action row (button + phone) ------------- */
.cta-banner__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}
.btn.btn--ghost-dark {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.5);
  box-shadow: none;
}
.btn.btn--ghost-dark:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ---- Contact form shell (MB embed mounts here) ---------- */
.contact-form-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 32px;
  box-shadow: var(--s-card);
  max-width: 760px;
  margin: 28px auto 0;
  min-height: 200px;
}

/* ---- Hero CTA layout — multiple buttons inline ---------- */
.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.hero__ctas .btn { white-space: nowrap; }

/* ---- FAQ accordion polish (OCO) ----
   Per-item divider, larger bold question text, generous padding,
   accent-rotating marker. Targets the .faq-list > .faq-item pattern
   used in build_faqs(). */
.faq-list {
  border-top: 1px solid var(--line);
  margin-top: 28px;
}
.faq-list .faq-item {
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background var(--t-fast) var(--ease);
}
.faq-list .faq-item:hover { background: rgba(180, 83, 42, 0.03); }
.faq-list .faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 56px 22px 4px;
  position: relative;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: -0.005em;
  transition: color var(--t-fast) var(--ease);
}
.faq-list .faq-item > summary::-webkit-details-marker { display: none; }
.faq-list .faq-item > summary::marker { content: ""; }
.faq-list .faq-item > summary:hover { color: var(--accent); }

/* + → × marker on the right */
.faq-list .faq-item > summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  background:
    linear-gradient(currentColor, currentColor) center/100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center/2px 100% no-repeat;
  color: var(--accent);
  transition: transform var(--t-med) var(--ease);
  transform-origin: 50% 50%;
}
.faq-list .faq-item[open] > summary::after {
  transform: rotate(45deg);
}
.faq-list .faq-item[open] > summary { color: var(--accent); }
.faq-list .faq-item > p {
  padding: 0 56px 26px 4px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.65;
  max-width: 64ch;
}
