/* ===========================================================================
   360 Outdoors LLC  ·  custom build
   Palette, ramp and contrast values come from mb_design_extract.py and are
   NOT overridden. Display face chosen by looking at the mark: a two color
   compass-rose badge with heavy outlined block numerals, so the display face
   is a condensed grotesk with weight and the body face stays plain.
   =========================================================================== */

:root {
  /* measured */
  --surface:      #FBFAF7;
  --ink:          #14181A;
  --accent-fill:  #DE7F2B;   /* logo orange. buttons, bars, rules           */
  --accent-text:  #B35C00;   /* 4.52:1 on surface. links and small type      */
  --on-accent:    #12161A;   /* 6.21:1 on accent-fill                        */

  --ramp-50:  #FFECDA;
  --ramp-100: #FFD4B3;
  --ramp-200: #F1AC7A;
  --ramp-300: #DC8741;
  --ramp-400: #C76A04;
  --ramp-500: #DE7F2B;
  --ramp-600: #893600;
  --ramp-700: #6B2300;
  --ramp-800: #491100;
  --ramp-900: #280400;

  /* the gunmetal from the compass ring in the mark */
  --steel:     #5B666E;
  --steel-ink: #39424A;

  --surface-2: #F2EFE9;
  --surface-3: #E7E2D9;
  --line:      rgba(222,127,43,.32);
  --line-soft: rgba(20,24,26,.12);

  --hero-scrim: .45;
  --hero-pos:   50% 62%;

  --t: 260ms cubic-bezier(.2,.7,.2,1);
  --s-card:  0 14px 40px -18px rgba(14,35,54,.28), 0 2px 6px rgba(14,35,54,.06);
  --s-hover: 0 26px 56px -18px rgba(14,35,54,.38), 0 3px 10px rgba(14,35,54,.10);

  --display: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --body:    "Barlow", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --wrap: 1200px;
}

*,*::before,*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body) !important;
  color: var(--ink) !important;
  background: var(--surface) !important;
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { color: var(--ramp-600); }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .015em;
  line-height: 1.04;
  margin: 0 0 .5em;
}
h2 { font-size: clamp(30px, 4.1vw, 50px); }
h3 { font-size: clamp(20px, 2.1vw, 26px); }
h4 { font-size: 18px; letter-spacing: .06em; }
p  { margin: 0 0 1.1em; }

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 48px, 860px); margin-inline: auto; }

.eyebrow {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 14px;
}
.accent { color: var(--accent-text); }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; }

/* ------------------------------------------------------------- buttons ---- */
/* one shape sitewide, subtle radius, hover fills left to right              */
.btn {
  --btn-bg: var(--accent-fill);
  --btn-fg: var(--on-accent);
  --btn-hover: var(--ink);
  --btn-hover-fg: #FFFFFF;
  --btn-glow: rgba(222,127,43,.55);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 15px 28px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--display);
  font-size: 14px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer;
  transition: color var(--t), transform var(--t), box-shadow var(--t), border-color var(--t);
}
.btn::before {
  content:""; position:absolute; inset:0; z-index:-1;
  background: var(--btn-hover);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
}
.btn:hover::before { transform: scaleX(1); }
.btn:hover { color: var(--btn-hover-fg); transform: translateY(-2px); box-shadow: 0 14px 30px -12px var(--btn-glow); }
.btn svg { transition: transform var(--t); }
.btn:hover svg { transform: translateX(4px); }

.btn.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-hover: var(--ink);
  --btn-hover-fg: #FFFFFF;
  --btn-glow: rgba(20,24,26,.35);
  border-color: var(--ink);
}
/* on a dark or photographic band */
.btn.btn--light {
  --btn-bg: transparent;
  --btn-fg: #FFFFFF;
  --btn-hover: #FFFFFF;
  --btn-hover-fg: var(--ink);
  --btn-glow: rgba(255,255,255,.35);
  border-color: rgba(255,255,255,.85);
}
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* bare .mb_widget buttons must keep site styling */
button.mb_widget.btn,
button.mb_widget.btn--primary { font-family: var(--display) !important; }
button.mb_widget.btn--primary { background: var(--accent-fill) !important; color: var(--on-accent) !important; }
button.mb_widget.btn--primary:hover { color: #FFFFFF !important; }
button.mb_widget.btn--light { background: transparent !important; color: #FFFFFF !important; }

/* ------------------------------------------------------------ site head --- */
/* The glass effect lives on a pseudo element, NEVER on .site-header itself.
   backdrop-filter (and filter) on an element makes it the containing block for
   its position:fixed descendants. The mobile menu panel .nav-wrap is a
   descendant of the header, so putting the filter on the header pins the
   full screen menu inside the 96px header box on Safari and iOS. Chromium
   does not show it once the filter is removed on open, which is why this
   passed every desktop test and still broke on a phone. */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  background: transparent;
  transition: box-shadow var(--t), padding var(--t);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: transparent;
  transition: background var(--t), backdrop-filter var(--t);
}
.site-header.is-scrolled::before {
  background: rgba(251,250,247,.93);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
}
.site-header .wrap { display: flex; align-items: center; gap: 26px; min-height: 96px; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; margin-right: auto; }
.brand__logo { height: 78px; width: auto; transition: height var(--t); display: block; }
.site-header.is-scrolled .brand__logo { height: 54px; }

.nav-wrap { display: flex; align-items: center; gap: 14px; }
.nav-main { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-main > li { position: relative; }
.nav-main > li > a,
.nav-main > li > .nav-trigger {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 13px;
  font-family: var(--display); font-size: 14px; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase;
  color: #FFFFFF; background: none; border: 0; cursor: pointer;
  text-shadow: 0 1px 10px rgba(0,0,0,.55);
  white-space: nowrap;
  transition: color var(--t);
}
.site-header.is-scrolled .nav-main > li > a,
.site-header.is-scrolled .nav-main > li > .nav-trigger { color: var(--ink); text-shadow: none; }

.nav-main > li > a::after,
.nav-main > li > .nav-trigger::after {
  content:""; position:absolute; left:13px; right:13px; bottom:4px; height:1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.nav-main > li > a:hover::after,
.nav-main > li:hover > .nav-trigger::after { transform: scaleX(1); }
.nav-main .caret { width: 9px; height: 9px; flex: none; transition: transform var(--t); }
.nav-main > li:hover .caret { transform: rotate(180deg); }

/* dropdown + hover bridge across the trigger gap */
.nav-dropdown {
  position: absolute; top: 100%; left: 0; min-width: 310px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 8px;
  box-shadow: var(--s-card);
  padding: 12px; margin: 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.nav-main > li::after { content:""; position:absolute; left:0; right:0; top:100%; height:14px; }
.nav-main > li:hover .nav-dropdown,
.nav-main > li:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-dropdown li { margin: 0; }
.nav-dropdown a {
  display: block; padding: 9px 12px; border-radius: 5px;
  font-family: var(--body); font-size: 15px; font-weight: 500;
  color: var(--ink) !important; text-shadow: none !important;
  letter-spacing: 0; text-transform: none;
  transition: background var(--t), color var(--t);
}
.nav-dropdown a:hover { background: var(--ramp-50); color: var(--ramp-600) !important; }
.nav-dropdown .nav-group {
  padding: 12px 12px 5px; font-family: var(--display); font-size: 11px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--steel);
}
.nav-cta { margin-left: 2px; flex: none; padding: 13px 22px; }
.nav-toggle { display: none; }

/* --------------------------------------------------------------- heroes --- */
.hero { position: relative; display: flex; align-items: flex-end; isolation: isolate; }
.hero > .wrap { position: relative; z-index: 2; padding: 0 0 78px; }
.hero h1 {
  font-size: clamp(38px, 6.2vw, 82px) !important;
  font-weight: 700 !important;
  line-height: .98 !important;
  margin: 0 0 18px !important;
  max-width: 17ch;
}

.hero--photo { min-height: clamp(560px, 86vh, 820px); padding-top: 140px; color: #fff; }
.hero--photo::before {
  content:""; position:absolute; inset:0; z-index:-2;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: var(--hero-pos, center);
  background-repeat: no-repeat;
  animation: none; transform: none;
}
.hero--photo::after {
  content:""; position:absolute; inset:0; z-index:-1;
  background:
    radial-gradient(ellipse 78% 66% at 42% 56%, rgba(8,10,12,.52) 0%, rgba(8,10,12,.14) 70%, rgba(8,10,12,0) 100%),
    linear-gradient(180deg, rgba(8,10,12,.46) 0%, rgba(8,10,12,.12) 42%, rgba(8,10,12,.84) 100%);
  opacity: 1;
}
.hero--photo .eyebrow { color: var(--ramp-200); }
.hero--photo h1 { text-shadow: 0 2px 26px rgba(0,0,0,.5); }
.hero--photo .hero__sub { color: rgba(255,255,255,.94); text-shadow: 0 1px 14px rgba(0,0,0,.55); }

.hero--block {
  min-height: clamp(260px, 34vh, 340px);
  padding-top: 120px; color: #fff;
  background:
    radial-gradient(ellipse 60% 120% at 86% 10%, rgba(222,127,43,.26) 0%, rgba(222,127,43,0) 62%),
    linear-gradient(158deg, var(--ramp-900) 0%, var(--ramp-700) 100%);
}
.hero--block > .wrap { padding-bottom: 46px; }
.hero--block h1 { font-size: clamp(32px, 4.6vw, 56px) !important; }
.hero--block .eyebrow { color: var(--ramp-200); }
.hero--block .hero__sub { color: rgba(255,255,255,.9); max-width: 62ch; margin: 0; }
.hero--block::before {
  content:""; position:absolute; inset:0; pointer-events:none; z-index:0;
  background-color: #FFFFFF;
  -webkit-mask-image: url("/images/overlays/terrain-open.svg");
          mask-image: url("/images/overlays/terrain-open.svg");
  -webkit-mask-size: 900px auto; mask-size: 900px auto;
  -webkit-mask-repeat: repeat; mask-repeat: repeat;
  opacity: .09;
}
.hero--block > .wrap { z-index: 2; }
.hero.home-tall { min-height: clamp(420px, 52vh, 560px); }

/* ------------------------------------------------------------- sections --- */
.section { position: relative; padding: clamp(64px, 7vw, 108px) 0; }
.section--tight { padding: clamp(44px, 4.4vw, 66px) 0; }
.section--roomy { padding: clamp(84px, 10vw, 148px) 0; }
.section--alt { background: var(--surface-2) !important; }
.section--dark { background: var(--ink) !important; color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: var(--ramp-200); }
.section--dark p { color: rgba(255,255,255,.84); }

.section--alt::before,
.cta-banner::before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background-color: var(--ink);
  -webkit-mask-image: url("/images/overlays/terrain-open.svg");
          mask-image: url("/images/overlays/terrain-open.svg");
  -webkit-mask-size: 900px auto; mask-size: 900px auto;
  -webkit-mask-repeat: repeat; mask-repeat: repeat;
  opacity: .14;
}
.section--dark.section--alt::before { background-color: #FFFFFF; opacity: .08; }
.section > .wrap, .section > .wrap--narrow { position: relative; z-index: 1; }

.sec-head { max-width: 760px; margin-bottom: clamp(34px, 3.6vw, 54px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head p { margin: 0; color: var(--steel-ink); }
.section--dark .sec-head p { color: rgba(255,255,255,.8); }

/* ---------------------------------------------------------------- cards --- */
.card-grid { display: grid; gap: 26px; grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.hunt-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden;
  box-shadow: var(--s-card);
  transition: transform var(--t), box-shadow var(--t);
}
.hunt-card:hover { transform: translateY(-4px); box-shadow: var(--s-hover); }
.hunt-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--surface-3); }
.hunt-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms ease; }
.hunt-card:hover .hunt-card__media img { transform: scale(1.04); }
.hunt-card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.hunt-card h3 { color: var(--ink); margin-bottom: 8px; }
.section--alt .hunt-card h3 { color: var(--ink); }
.section--dark .hunt-card h3 { color: var(--ink); }
.hunt-card .eyebrow { margin-bottom: 10px; }
.hunt-card p { color: var(--steel-ink); font-size: 15.5px; }
.section--dark .hunt-card p { color: var(--steel-ink); }
.hunt-card__price {
  font-family: var(--display); font-size: 25px; font-weight: 600;
  color: var(--ink); letter-spacing: .01em; margin: 2px 0 4px;
}
.hunt-card__price small { font-family: var(--body); font-size: 13px; font-weight: 500; letter-spacing: .04em; color: var(--steel); text-transform: none; display: block; margin-top: 2px; }
.hunt-card__incl { list-style: none; margin: 14px 0 20px; padding: 0; font-size: 14.5px; color: var(--steel-ink); }
.hunt-card__incl li { position: relative; padding-left: 18px; margin-bottom: 5px; }
.hunt-card__incl li::before { content:""; position:absolute; left:0; top:9px; width:7px; height:7px; border-radius:2px; background: var(--accent-fill); }
.hunt-card .btn-row { margin-top: auto; }
.hunt-card .btn-row { flex-wrap: nowrap; }
.hunt-card .btn { padding: 12px 15px; font-size: 11.5px; letter-spacing: .09em; gap: 7px; white-space: nowrap; }
.hunt-card .btn svg { width: 12px; }

/* ------------------------------------------------------------ split rows -- */
.split { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(34px, 5vw, 76px); align-items: center; }
.split--flip .split__media { order: 2; }
.split--even { grid-template-columns: 1fr 1fr; }
.incl-grid--2 { grid-template-columns: repeat(2, 1fr); }
.split__media img { width: 100%; border-radius: 10px; box-shadow: var(--s-card); }
.split__body h2 { margin-bottom: 18px; }

.photo-duo { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; align-items: stretch; }
.photo-duo img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }

.photo-fullbleed { position: relative; width: 100%; aspect-ratio: var(--ar, 2.2); max-height: 760px; overflow: hidden; }
.photo-fullbleed img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }

/* ---------------------------------------------------------------- stats --- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats-band .stat__n { font-family: var(--display); font-size: clamp(32px, 4vw, 52px); font-weight: 700; line-height: 1; color: var(--accent-fill); }
.stats-band .stat__l { font-family: var(--display); font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.76); margin-top: 10px; }

/* --------------------------------------------------------------- values --- */
.values-triad { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 3.4vw, 50px); }
.value__n { font-family: var(--display); font-size: 13px; letter-spacing: .24em; color: var(--accent-text); }
.value h3 { margin: 12px 0 10px; }
.value p { color: var(--steel-ink); margin: 0; }
.value { border-top: 2px solid var(--line); padding-top: 22px; }

/* -------------------------------------------------------------- reviews --- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 3vw, 44px); }
.review blockquote { margin: 0; font-size: 17.5px; line-height: 1.6; color: rgba(255,255,255,.92); }
.review cite { display: block; margin-top: 18px; font-family: var(--display); font-style: normal; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--ramp-200); }
.review { border-left: 2px solid var(--accent-fill); padding-left: 24px; }

/* ------------------------------------------------------------- pricing ---- */
.pricing-rows { list-style: none; margin: 0 0 26px; padding: 0; }
.pricing-rows li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--line-soft);
}
.pricing-rows li:first-child { border-top: 1px solid var(--line-soft); }
.pricing-rows .pr__name { font-family: var(--display); font-size: 19px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.pricing-rows .pr__meta { display: block; font-family: var(--body); font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--steel); margin-top: 3px; }
.pricing-rows .pr__price { font-family: var(--display); font-size: 25px; font-weight: 600; color: var(--accent-text); white-space: nowrap; }
.price-note { font-size: 14.5px; color: var(--steel); }

/* ------------------------------------------------------------ incl grid --- */
.incl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 28px; list-style: none; padding: 0; margin: 0; }
.incl-grid li { position: relative; padding-left: 22px; font-size: 15.5px; color: var(--steel-ink); }
.incl-grid li::before { content:""; position:absolute; left:0; top:10px; width:8px; height:8px; border-radius:2px; background: var(--accent-fill); }
.section--dark .incl-grid li { color: rgba(255,255,255,.85); }

.info-blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.info-block { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 28px 26px; }
.info-block h3 { font-size: 20px; margin-bottom: 12px; }
.info-block ul { margin: 0; padding-left: 18px; color: var(--steel-ink); font-size: 15.5px; }
.info-block li { margin-bottom: 7px; }

/* ------------------------------------------------------------------ faq --- */
.faq { max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 46px 22px 0; position: relative;
  font-family: var(--display); font-size: clamp(17px, 1.7vw, 21px); font-weight: 500;
  text-transform: uppercase; letter-spacing: .03em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content:"+"; position:absolute; right:8px; top:50%; transform: translateY(-50%);
  font-size: 26px; font-weight: 400; color: var(--accent-text); transition: transform var(--t);
}
.faq details[open] summary::after { content:"\2212"; }
.faq details p { margin: 0 0 22px; color: var(--steel-ink); max-width: 72ch; }

/* -------------------------------------------------------------- gallery --- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.gallery-filters button {
  font-family: var(--display); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  padding: 10px 18px; border-radius: 6px; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  transition: background var(--t), color var(--t), border-color var(--t);
}
.gallery-filters button:hover { background: var(--ramp-50); }
.gallery-filters button.is-active { background: var(--accent-fill); color: var(--on-accent); border-color: var(--accent-fill); }

.gallery-grid { columns: 4; column-gap: 16px; }
.gallery-grid figure { break-inside: avoid; margin: 0 0 16px; }
.gallery-grid img {
  width: 100%; border-radius: 8px; cursor: zoom-in;
  transition: transform var(--t), box-shadow var(--t), opacity var(--t);
  background: var(--surface-3);
}
.gallery-grid img:hover { transform: translateY(-3px); box-shadow: var(--s-hover); }
.gallery-grid figure[hidden] { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,10,12,.94); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 6px; }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.35);
  color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; font-size: 22px;
  display: grid; place-items: center; transition: background var(--t);
}
.lightbox button:hover { background: rgba(255,255,255,.24); }
.lb-prev { left: 3vw; } .lb-next { right: 3vw; } .lb-close { top: 3vh; right: 3vw; width: 46px; height: 46px; }

/* -------------------------------------------------------------- contact --- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 30px 26px; display: flex; flex-direction: column; min-height: 100%;
}
.contact-card .eyebrow { margin-bottom: 10px; }
.contact-card a, .contact-card p { font-family: var(--display); font-size: 20px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); margin: 0 0 6px; }
.contact-card a:hover { color: var(--accent-text); }
.contact-card small { font-family: var(--body); font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--steel); margin-top: auto; padding-top: 12px; }

/* MB embeds sit bare. The column behind them carries no styling at all:
   no background, no border, no shadow, no padding. Hence no declarations. */
.contact-form-shell { background: none; box-shadow: none; }

/* ----------------------------------------------------------- cta banner --- */
.cta-banner { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: clamp(64px, 7vw, 100px) 0; }
.cta-banner h2 { color: #fff; max-width: 18ch; }
.cta-banner p { color: rgba(255,255,255,.82); max-width: 54ch; }
.cta-banner__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center; }
/* the one signature move: the brand's own numeral, outlined, bleeding off */
.cta-banner .mark360 {
  position: absolute; right: -4%; top: 50%; transform: translateY(-50%);
  font-family: var(--display); font-weight: 700; font-size: clamp(220px, 34vw, 520px);
  line-height: .8; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 2px rgba(222,127,43,.26);
  pointer-events: none; z-index: 1; user-select: none;
}

/* --------------------------------------------------------------- footer --- */
.site-footer { background: var(--ramp-900); color: rgba(255,255,255,.76); padding: 72px 0 34px; font-size: 15px; }
.site-footer a { color: rgba(255,255,255,.76); }
.site-footer a:hover { color: var(--ramp-200); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 12.5px; letter-spacing: .2em; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.footer-logo { height: 76px; width: auto; margin-bottom: 18px; }
.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.25); border-radius: 6px; transition: background var(--t), border-color var(--t); }
.social-row a:hover { background: rgba(222,127,43,.22); border-color: var(--accent-fill); }
.social-row svg { width: 17px; height: 17px; fill: currentColor; }
.footer-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: 13.5px; color: rgba(255,255,255,.55); }

/* --------------------------------------------------------------- motion --- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ----------------------------------------------------------- responsive --- */
@media (max-width: 1180px) {
  .gallery-grid { columns: 3; }
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .nav-toggle {
    display: inline-grid; place-items: center; width: 46px; height: 46px; margin-left: auto;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.4); border-radius: 6px;
    cursor: pointer; color: #fff;
  }
  .site-header.is-scrolled .nav-toggle { color: var(--ink); border-color: var(--line); background: transparent; }
  .nav-toggle svg { width: 20px; height: 20px; }
  .nav-wrap {
    position: fixed; inset: 96px 0 0 0; width: auto; max-width: 100vw;
    background: var(--surface); padding: 24px 24px 56px;
    overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch;
    opacity: 0; visibility: hidden; transform: none; pointer-events: none;
    transition: opacity var(--t), visibility var(--t);
  }
  body.nav-open .nav-wrap { opacity: 1; visibility: visible; pointer-events: auto; }
  /* the open menu owns the screen: solid header strip, and the Mallard Bay
     feedback pill and chat bubble are stacked above everything, so main.js
     hides them while the menu is open rather than fighting their z-index */
  body.nav-open .site-header { box-shadow: 0 1px 0 var(--line); }
  body.nav-open .site-header::before {
    background: var(--surface);
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  body.nav-open .nav-main > li > a,
  body.nav-open .nav-main > li > .nav-trigger,
  body.nav-open .nav-toggle { color: var(--ink) !important; text-shadow: none !important; }
  body.nav-open .nav-toggle { border-color: var(--line); background: transparent; }
  body.nav-open { overflow: hidden; }
  .nav-wrap { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-main { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-main > li > a,
  .nav-main > li > .nav-trigger {
    color: var(--ink) !important; text-shadow: none !important;
    width: 100%; justify-content: space-between; padding: 15px 4px;
    border-bottom: 1px solid var(--line-soft); font-size: 16px;
  }
  .nav-main > li::after { display: none; }
  .nav-dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; padding: 4px 0 12px; min-width: 0;
    display: none; background: transparent;
  }
  .nav-main > li.is-open .nav-dropdown { display: block; }
  .nav-main > li:hover .nav-dropdown { opacity: 1; }
  .nav-cta { margin: 20px 0 0; width: 100%; justify-content: center; }
  .site-header .wrap { gap: 14px; }
}
@media (max-width: 900px) {
  .card-grid, .card-grid--2, .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split, .split--even, .photo-duo { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .values-triad, .reviews, .info-blocks, .contact-cards { grid-template-columns: 1fr; }
  .incl-grid, .incl-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { columns: 2; }
  .cta-banner__inner { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap, .wrap--narrow { width: calc(100% - 32px); }
  .card-grid, .card-grid--2, .card-grid--4 { grid-template-columns: 1fr; }
  .incl-grid, .incl-grid--2 { grid-template-columns: 1fr; }
  .hero > .wrap { padding-bottom: 54px; }
  .btn { width: 100%; justify-content: center; }
  .btn-row .btn { width: auto; flex: 1 1 200px; }
  .cta-banner .mark360 { font-size: 300px; right: -18%; opacity: .7; }
}

/* ------------------------------------- MB widget bleed defenses (keep) ----- */
.mb_widget + script, .mb_widget + style,
body > script[src*="mallardbay.com"], body > style[data-emotion] { display: none !important; }
.hero h1 { font-size: clamp(38px, 6.2vw, 82px) !important; }
.hero--block h1 { font-size: clamp(32px, 4.6vw, 56px) !important; }
.crew-grid { max-width: 720px; }
