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

/* ---------- Design Tokens ---------- */
:root {
  --bg: #FFFFF6;
  --bg-alt: #F4EFDF;
  --bg-dark: #213019;
  --bg-darker: #161F12;
  --ink: #213019;
  --ink-soft: #2F3D26;
  --muted: #6E725F;
  --line: #D6D8C5;
  --accent: #819F43;
  --accent-dark: #6A8434;
  --accent-2: #213019;
  --accent-2-soft: #3C4F2E;
  --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(33, 48, 25, 0.08);
  --s-card:   0 10px 30px -10px rgba(33, 48, 25, 0.22);
  --s-hover:  0 22px 48px -14px rgba(33, 48, 25, 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; }


/* ---------- Twisted Timber brand patches ---------- */
.site-header { background: var(--bg) !important; }
.brand__logo {
  height: 56px;
  width: auto;
  display: block;
  border-radius: 0;
  background: transparent;
}
.site-header .brand__logo { height: 56px; }
.site-footer .brand__logo {
  height: 72px;
  width: auto;
  background: var(--bg);
  padding: 8px 14px;
  border-radius: 14px;
  display: block;
  margin-bottom: 14px;
}
.brand__lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand__lockup .brand__name {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: .02em;
  line-height: 1.1;
}
.brand__lockup .brand__sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .68rem;
  color: var(--muted);
  margin-top: 3px;
}
.site-footer .brand__lockup .brand__name { color: #fff; }
.site-footer .brand__lockup .brand__sub { color: rgba(255,255,255,0.6); }

/* Featured-listing detail extras */
.species-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.species-tags span {
  display: inline-block;
  padding: 6px 12px;
  font-size: .82rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--ink-soft);
  letter-spacing: .01em;
}

/* Pricing rows */
.price-rows {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--white);
  max-width: 740px;
  margin: 0 auto;
}
.price-rows .row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 24px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.price-rows .row:last-child { border-bottom: 0; }
.price-rows .row .label { color: var(--ink); font-weight: 500; }
.price-rows .row .label small { display: block; color: var(--muted); font-weight: 400; font-size: .85rem; margin-top: 2px; }
.price-rows .row .price { color: var(--accent-dark); font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; }

/* Featured callout for cougar (residents only) and similar */
.callout {
  border-left: 4px solid var(--accent);
  background: var(--bg-alt);
  padding: 18px 24px;
  border-radius: 8px;
  margin: 24px 0;
  color: var(--ink-soft);
  font-size: .96rem;
}

/* =====================================================================
   Twisted Timber — fix pass (2026-05-21 PM)
   ===================================================================== */

/* ---------- 1. Harden Book button styling against MB widget strip ---------- */
/* Our v3 buttons carry class="btn btn--primary mb_widget" directly.
   MB's `.mb-full-width button { padding: 0 !important; background: transparent !important }`
   was unintentionally matching our buttons too — exclude them. */
.mb-full-width button.btn,
.mb-full-width button.mb_widget {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 14px 26px !important;
  border-radius: var(--r-pill) !important;
  border: 1.5px solid transparent !important;
  font-weight: 600 !important;
  font-size: .95rem !important;
  letter-spacing: .02em !important;
  box-shadow: var(--s-card) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}

/* Specific variants — re-lock backgrounds */
button.btn.btn--primary,
button.btn.btn--primary.mb_widget,
.mb-full-width button.btn.btn--primary {
  background: var(--accent) !important;
  color: #fff !important;
  border: 1.5px solid transparent !important;
  font-family: var(--font-body) !important;
}
button.btn.btn--primary:hover,
button.btn.btn--primary.mb_widget:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--s-hover) !important;
  color: #fff !important;
}
button.btn.btn--dark,
button.btn.btn--dark.mb_widget,
.mb-full-width button.btn.btn--dark {
  background: var(--ink) !important;
  color: #fff !important;
  border: 1.5px solid transparent !important;
  font-family: var(--font-body) !important;
}
button.btn.btn--dark:hover,
button.btn.btn--dark.mb_widget:hover {
  background: #000 !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--s-hover) !important;
}

/* Nav-toggle hamburger should NOT inherit these styles */
button.nav-toggle {
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* ---------- 2. Nav lockup — logo only, no text ---------- */
.site-header .brand__lockup { gap: 0; }

/* ---------- 4. Trip-detail gallery — always 3 per row on desktop ---------- */
.gallery-strip--3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 18px;
}
.gallery-strip--3 img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--r-md);
}
@media (max-width: 720px) {
  .gallery-strip--3 { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ---------- 5. Restyled FAQs ---------- */
.faq-list {
  border-top: 1px solid var(--line);
  margin-top: 24px;
}
.faq-list .faq-item {
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background var(--t-fast) var(--ease);
}
.faq-list .faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 48px 22px 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--ink);
  position: relative;
  transition: color var(--t-fast) var(--ease);
  outline: none;
}
.faq-list .faq-item summary::-webkit-details-marker { display: none; }
.faq-list .faq-item summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-65%) rotate(45deg);
  transform-origin: center;
  transition: transform var(--t-med) var(--ease), border-color var(--t-fast) var(--ease);
}
.faq-list .faq-item[open] summary::after {
  transform: translateY(-25%) rotate(225deg);
  border-color: var(--accent-dark);
}
.faq-list .faq-item summary:hover { color: var(--accent-dark); }
.faq-list .faq-item summary:focus-visible { color: var(--accent-dark); }
.faq-list .faq-item[open] summary { color: var(--accent-dark); }
.faq-list .faq-item p {
  padding: 0 60px 24px 0;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.7;
  font-size: 1rem;
}
.faq-list .faq-item[open] { background: rgba(129, 159, 67, 0.04); }

/* Also style the older `.faq details` (used on trip-detail pages) the same way */
.faq details {
  border-bottom: 1px solid var(--line);
  background: transparent;
}
.faq details summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 48px 22px 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--ink);
  position: relative;
  outline: none;
}
.faq details summary::-webkit-details-marker { display: none; }
.faq details summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-65%) rotate(45deg);
  transition: transform var(--t-med) var(--ease);
}
.faq details[open] summary::after {
  transform: translateY(-25%) rotate(225deg);
}
.faq details summary:hover { color: var(--accent-dark); }
.faq details[open] summary { color: var(--accent-dark); }
.faq details p {
  padding: 0 60px 24px 0;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}
.faq { border-top: 1px solid var(--line); }

/* ---------- 6. Contact form column: #141414 with solid border ---------- */
.contact-form-shell {
  background: #141414 !important;
  border: 2px solid var(--accent) !important;
  border-radius: var(--r-md);
  padding: 36px 36px;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--s-card);
}
.contact-form-shell::before { display: none !important; }
/* Force interior text light for any client-supplied form content */
.contact-form-shell,
.contact-form-shell h1,
.contact-form-shell h2,
.contact-form-shell h3,
.contact-form-shell h4,
.contact-form-shell p,
.contact-form-shell label,
.contact-form-shell span,
.contact-form-shell div { color: #fff !important; }
.contact-form-shell a { color: var(--accent) !important; }
.contact-form-shell input,
.contact-form-shell textarea,
.contact-form-shell select {
  background: rgba(255,255,255,0.06) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
}
.contact-form-shell input::placeholder,
.contact-form-shell textarea::placeholder {
  color: rgba(255,255,255,0.45) !important;
}
.contact-form-shell button {
  background: var(--accent) !important;
  color: #fff !important;
  border: 0 !important;
  padding: 14px 28px !important;
  border-radius: var(--r-pill) !important;
  font-weight: 600 !important;
}
.contact-form-shell button:hover { background: var(--accent-dark) !important; }

