/* ══════════════════════════════════════════════════════════════════
   Cavmir /locations/ — Market Intelligence sections
   Seasonality bars, guest profiles, feeder markets, what-wins, FAQ.
   Matches the /data/ hub language: jewel-tone bands, editorial serif,
   hairline-divided rows, CSS bars. No card grids.
   ══════════════════════════════════════════════════════════════════ */

.mi-wide {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  padding-inline: clamp(24px, 6.5vw, 128px);
}

.mi-band { padding: clamp(56px, 7vw, 110px) 0; }
.mi-band--dark {
  background:
    radial-gradient(1100px 560px at 88% -8%, rgba(212,175,55,0.12), transparent 60%),
    linear-gradient(160deg, #571a3d 0%, #6B214B 55%, #4a1634 100%);
  color: #fff;
}
.mi-band--night { background: #1a1118; color: #fff; }
.mi-band--cream { background: #F8F5F0; color: #1a1118; }

.mi-eyebrow {
  font-family: var(--font-primary);
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 22px;
}
.mi-h2 {
  font-family: var(--font-editorial);
  font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 14px;
  max-width: 22ch;
}
.mi-band--cream .mi-h2 { color: #1a1118; }
.mi-rule {
  width: 72px; height: 2px; background: var(--gold);
  margin: 22px 0 34px;
}
.mi-lede {
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.7;
  max-width: 68ch;
  margin: 0 0 40px;
}
.mi-band--dark .mi-lede, .mi-band--night .mi-lede { color: rgba(255,255,255,0.86); }
.mi-band--cream .mi-lede { color: rgba(26,17,24,0.82); }

/* ── Seasonality bar chart (pure CSS) ── */
.mi-months {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(4px, 0.9vw, 14px);
  align-items: end;
  height: clamp(150px, 20vw, 260px);
  margin: 8px 0 6px;
}
.mi-month { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.mi-month__bar {
  width: 100%;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, rgba(212,175,55,0.55), rgba(212,175,55,0.22));
  min-height: 12%;
}
.mi-month__bar[data-s="5"] { background: linear-gradient(180deg, #E9C960, #B8912B); }
.mi-month__bar[data-s="4"] { background: linear-gradient(180deg, rgba(212,175,55,0.9), rgba(212,175,55,0.5)); }
.mi-month__bar[data-s="2"], .mi-month__bar[data-s="1"] {
  background: linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0.10));
}
.mi-months__labels {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(4px, 0.9vw, 14px);
  margin-bottom: 12px;
}
.mi-months__labels span {
  text-align: center;
  font-size: clamp(10px, 1vw, 13px);
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.72);
  text-transform: uppercase;
}
.mi-legend {
  display: flex; flex-wrap: wrap; gap: 20px;
  font-size: 13px; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.75);
  margin: 4px 0 42px;
}
.mi-legend i {
  display: inline-block; width: 12px; height: 12px; border-radius: 2px;
  margin-right: 7px; vertical-align: -1px; font-style: normal;
}
.mi-legend .mi-lg-peak i { background: #E9C960; }
.mi-legend .mi-lg-mid i { background: rgba(212,175,55,0.5); }
.mi-legend .mi-lg-low i { background: rgba(255,255,255,0.2); }

/* three-up season prose */
.mi-tricol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 56px);
}
.mi-tricol h3, .mi-duo h3, .mi-block h3 {
  font-family: var(--font-primary);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}
.mi-tricol p { margin: 0; line-height: 1.72; font-size: 15.5px; }
.mi-band--dark .mi-tricol p { color: rgba(255,255,255,0.85); }

/* ── Hairline-divided rows (events, guest profiles) ── */
.mi-rows { margin: 10px 0 0; border-top: 1px solid rgba(212,175,55,0.35); }
.mi-row {
  display: grid;
  grid-template-columns: minmax(180px, 320px) 1fr;
  gap: clamp(16px, 3vw, 48px);
  padding: 20px 0;
  border-bottom: 1px solid rgba(212,175,55,0.35);
}
.mi-row__k {
  font-family: var(--font-editorial);
  font-weight: 600;
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  line-height: 1.25;
}
.mi-row__k small {
  display: block;
  font-family: var(--font-primary);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 6px;
}
.mi-row__v { line-height: 1.7; font-size: 15.5px; align-self: center; }
.mi-band--cream .mi-rows, .mi-band--cream .mi-row { border-color: rgba(107,33,75,0.22); }
.mi-band--cream .mi-row__v { color: rgba(26,17,24,0.8); }
.mi-band--dark .mi-row__v, .mi-band--night .mi-row__v { color: rgba(255,255,255,0.84); }

/* ── Two-column blocks (booking window / stay length) ── */
.mi-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 72px);
  margin-top: 44px;
}
.mi-duo p { margin: 0; line-height: 1.72; font-size: 15.5px; }
.mi-band--cream .mi-duo p { color: rgba(26,17,24,0.8); }

/* ── Origin chips ── */
.mi-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 6px; }
.mi-chip {
  font-family: var(--font-primary);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  padding: 9px 16px;
  border: 1px solid rgba(107,33,75,0.35);
  border-radius: 999px;
  color: #4a1634;
  background: #fff;
  white-space: nowrap;
}
.mi-band--dark .mi-chip, .mi-band--night .mi-chip {
  border-color: rgba(212,175,55,0.45);
  color: #F3E3B3;
  background: rgba(0,0,0,0.18);
}

/* ── Gold note callout ── */
.mi-note {
  border-left: 3px solid var(--gold);
  padding: 6px 0 6px 22px;
  margin: 40px 0 0;
  max-width: 72ch;
  font-size: 15.5px;
  line-height: 1.7;
}
.mi-band--cream .mi-note { color: rgba(26,17,24,0.82); }
.mi-band--dark .mi-note { color: rgba(255,255,255,0.86); }

/* ── FAQ ── */
.mi-faq { margin-top: 30px; border-top: 1px solid rgba(107,33,75,0.22); }
.mi-faq details { border-bottom: 1px solid rgba(107,33,75,0.22); }
.mi-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 44px 22px 0;
  position: relative;
  font-family: var(--font-editorial);
  font-weight: 600;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  line-height: 1.3;
}
.mi-faq summary::-webkit-details-marker { display: none; }
.mi-faq summary::after {
  content: "+";
  position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-family: var(--font-primary);
  font-size: 26px; font-weight: 300;
}
.mi-faq details[open] summary::after { content: "–"; }
.mi-faq details > div { padding: 0 0 24px; max-width: 76ch; }
.mi-faq details > div p { margin: 0 0 12px; line-height: 1.72; font-size: 15.5px; color: rgba(26,17,24,0.8); }

/* ── Keep-exploring link rows ── */
.mi-explore .mi-row__k a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(212,175,55,0.55);
  transition: color 0.25s ease;
}
.mi-explore .mi-row__k a:hover { color: #6B214B; }
.mi-band--dark .mi-explore .mi-row__k a:hover,
.mi-band--night .mi-explore .mi-row__k a:hover { color: var(--gold); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .mi-tricol { grid-template-columns: 1fr; gap: 28px; }
  .mi-duo { grid-template-columns: 1fr; gap: 28px; }
  .mi-row { grid-template-columns: 1fr; gap: 8px; }
  .mi-row__v { align-self: start; }
}
@media (max-width: 640px) {
  .mi-months { height: 130px; gap: 3px; }
  .mi-months__labels { gap: 3px; }
  .mi-months__labels span { font-size: 9px; letter-spacing: 0; }
  .mi-chip { font-size: 12.5px; padding: 8px 13px; }
}


/* ── Neighborhood gallery (de-scoped from locations-v3.css for pre-v3 pages) ── */
/* the v3 sheet defines these on body.locations-v3; pre-v3 pages need them here */
.nbhd-strip { --container-loc: 1640px; --gutter-loc: clamp(20px, 3vw, 56px); }
/* ── 5. NEIGHBORHOOD GALLERY STRIP — FULL-BLEED ──────────────────────────── */
.nbhd-strip {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: clamp(64px, 8vw, 120px) 0;
  background: linear-gradient(180deg, #0c0a0e 0%, #1a0f17 100%);
  color: var(--white);
  overflow: hidden;
}
.nbhd-strip__inner {
  max-width: var(--container-loc);
  margin: 0 auto;
  padding: 0 var(--gutter-loc);
}
.nbhd-strip__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  margin-bottom: clamp(36px, 4vw, 56px);
}
.nbhd-strip__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(212,175,55,0.5);
  margin-bottom: 22px;
}
.nbhd-strip__title {
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.012em;
  color: var(--white);
}
.nbhd-strip__title em { font-style: italic; color: var(--gold); }
.nbhd-strip__body {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  max-width: 380px;
}
.nbhd-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.nbhd-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 24px 60px -28px rgba(0,0,0,0.6);
  background: #1a0f17;
}
.nbhd-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(.2,.7,.2,1);
  filter: saturate(1.05);
}
.nbhd-card:hover img { transform: scale(1.07); }
.nbhd-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(12,8,14,0.30) 60%, rgba(12,8,14,0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 22px;
  transition: background 0.45s ease;
}
.nbhd-card:hover .nbhd-card__overlay {
  background: linear-gradient(180deg, transparent 10%, rgba(107,33,75,0.50) 50%, rgba(107,33,75,0.95) 100%);
}
.nbhd-card__eyebrow {
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  font-weight: 600;
}
.nbhd-card__title {
  font-family: var(--font-editorial);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.nbhd-card__attr {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  background: rgba(0,0,0,0.4);
  padding: 4px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  z-index: 2;
}
@media (max-width: 1024px)  {
  .nbhd-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px)  {
  .nbhd-strip__head { grid-template-columns: 1fr; }
  .nbhd-grid { grid-template-columns: 1fr; }
}
