/* ================================================================
   BUILDING PAGE DESIGN SYSTEM
   Direction B v2 — Glass Stack · Newsreader + DM Sans
   Based on refined.jsx from the Pioneer Village design handoff
   ================================================================ */

/* ── Design tokens ──────────────────────────────────────────── */
:root {
  --bp-ink:        #1c1812;
  --bp-soft:       rgba(28,24,18,.62);
  --bp-faint:      rgba(28,24,18,.16);
  --bp-hair:       rgba(28,24,18,.10);
  --bp-paper:      #f6efde;
  --bp-paper2:     #f0e6cd;
  --bp-accent:     #9b4a2a;
  --bp-accent-dk:  #7d3a1f;
  --bp-gold:       #c98a3f;
  --font-display:  'Newsreader', Georgia, serif;
  --font-body:     'DM Sans', system-ui, sans-serif;
}

/* ── Reset for building pages ───────────────────────────────── */
.bp-page {
  background: var(--bp-paper);
  color: var(--bp-ink);
  font-family: var(--font-body);
  min-height: 100vh;
}

/* ── Nav overrides ──────────────────────────────────────────── */
.bp-page ~ .site-header,
.site-header {
  background: var(--bp-paper);
  border-bottom: 1px solid var(--bp-hair);
  box-shadow: none;
}
.bp-page .nav-logo,
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: .01em;
  color: var(--bp-ink);
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--bp-soft);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--bp-ink);
}

/* ================================================================
   HERO
================================================================ */
.bp-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 90% 60% at 50% 18%,
    #f9f3e2 0%, var(--bp-paper) 55%, var(--bp-paper2) 100%);
  padding: 120px 80px 80px;
}

.bp-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: flex-end;
  max-width: 1280px;
  margin: 0 auto;
}

/* Back link */
.bp-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--bp-faint);
  background: rgba(255,253,247,.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.85rem;
  color: var(--bp-soft);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color .18s, background .18s;
}
.bp-back:hover {
  color: var(--bp-ink);
  background: rgba(255,253,247,.85);
}

/* Eyebrow — small-caps label */
.bp-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: var(--bp-soft);
  margin-bottom: 12px;
}

/* Main building title */
.bp-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.02em;
  color: #1a1410;
  margin: 0;
}

/* "also called" subtitle */
.bp-subtitle {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 1.1rem;
  color: rgba(20,16,10,.7);
}
.bp-subtitle em {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: #1a1410;
  /* wavy underline */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 6' preserveAspectRatio='none'><path d='M2 3 Q 25 0 50 3 T 98 3' stroke='%239b4a2a' stroke-width='1.6' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 6px;
  background-position: bottom left;
  padding-bottom: 7px;
}

/* Meta line */
.bp-meta {
  margin-top: 14px;
  font-size: 0.85rem;
  color: rgba(20,16,10,.55);
}

/* Quick-jump pill buttons */
.bp-hero__buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.bp-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--bp-faint);
  background: rgba(255,253,247,.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--bp-ink);
  text-decoration: none;
  transition: background .18s, border-color .18s;
}
.bp-pill:hover {
  background: rgba(255,253,247,.9);
  border-color: rgba(28,24,18,.28);
  color: var(--bp-ink);
}
.bp-pill--accent {
  background: var(--bp-accent);
  color: #fff;
  border-color: var(--bp-accent);
}
.bp-pill--accent:hover {
  background: var(--bp-accent-dk);
  border-color: var(--bp-accent-dk);
  color: #fff;
}
.bp-pill--solid {
  background: var(--bp-ink);
  color: #fff;
  border-color: var(--bp-ink);
}

/* Inline play triangle */
.bp-play-tri {
  display: inline-block;
  width: 0; height: 0;
  border-left: 8px solid #fff;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  margin-right: 2px;
}
.bp-dur {
  opacity: .75;
  font-variant-numeric: tabular-nums;
  font-size: 0.78rem;
  margin-left: 2px;
}

/* Hero RIGHT — building photo */
.bp-hero__right {
  position: relative;
}
.bp-hero__photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  /* soft radial mask fades edges into the cream background */
  mask-image: radial-gradient(ellipse 95% 90% at 50% 40%, #000 55%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 95% 90% at 50% 40%, #000 55%, transparent 95%);
  filter: drop-shadow(0 28px 36px rgba(40,28,14,.18));
  max-height: 520px;
}
/* Ground shadow under the photo */
.bp-hero__photo-shadow {
  position: absolute;
  bottom: -8px; left: 12%; right: 12%; height: 22px;
  background: radial-gradient(ellipse, rgba(40,28,14,.22) 0%, transparent 70%);
  filter: blur(6px);
}
/* No-photo variant */
.bp-hero--no-photo .bp-hero__right {
  display: none;
}
.bp-hero--no-photo .bp-hero__inner {
  grid-template-columns: 1fr;
  max-width: 740px;
}

/* ================================================================
   PAGE BODY (warm grain paper)
================================================================ */
.bp-body {
  padding: 60px 80px 100px;
  /* subtle paper grain */
  background-image:
    radial-gradient(transparent 60%, rgba(60,40,20,.05)),
    radial-gradient(circle at 20% 30%, rgba(180,140,80,.07), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(120,80,40,.05), transparent 45%);
}
.bp-stack {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ── Glass card ──────────────────────────────────────────────── */
.bp-glass {
  background: rgba(255,253,247,.62);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 14px 44px rgba(40,28,14,.07);
  border-radius: 22px;
}

/* ── Section header (eyebrow + title + optional right content) */
.bp-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 22px;
}
.bp-section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.05;
  margin: 6px 0 0;
  color: var(--bp-ink);
}
.bp-section-title em {
  font-style: italic;
}

/* ================================================================
   ABOUT / HISTORY SECTION
================================================================ */
.bp-about {
  padding: 48px 52px;
}
.bp-about__grid {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 48px;
  align-items: start;
}
.bp-body-text {
  font-size: 1.05rem;
  line-height: 1.72;
  color: rgba(28,24,18,.85);
  margin: 0;
}
.bp-about__facts {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 22px;
  font-size: 0.82rem;
  color: var(--bp-soft);
}
.bp-about__facts strong {
  color: var(--bp-ink);
}

/* ================================================================
   TOUR VIDEOS
================================================================ */
.bp-videos {
  /* no glass wrapper — videos have their own glass cards */
}
.bp-videos__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  align-items: stretch;
}

/* Glass wrapper for each video card */
.bp-tour-card {
  padding: 14px;
  border-radius: 22px;
}

/* Video thumbnail area */
.bp-vid-area {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  /* crosshatch placeholder */
  background:
    repeating-linear-gradient(135deg, transparent 0 12px, rgba(28,24,18,.04) 12px 14px),
    linear-gradient(180deg, #efe5ce, #e6d9b8);
}

/* Real YouTube thumbnail */
.bp-vid-area img.bp-yt-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}
/* Native <video> element — fills the same area as a thumbnail/iframe */
.bp-vid-area video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
  background: #000;
}

/* Video badge — top left */
.bp-vid-badge {
  position: absolute;
  top: 12px; left: 12px; z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px 7px 9px;
  border-radius: 999px;
  background: rgba(15,12,8,.72);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.bp-vid-badge .bp-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bp-gold);
  flex-shrink: 0;
}
.bp-vid-badge .bp-kind {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 0.68rem;
  opacity: .85;
}
.bp-vid-badge .bp-sep { opacity: .35; }
.bp-vid-badge .bp-time { font-variant-numeric: tabular-nums; }

/* Coming soon badge variant */
.bp-vid-badge--soon {
  background: rgba(28,24,18,.45);
}
.bp-vid-badge--soon .bp-dot {
  background: rgba(255,255,255,.4);
}

/* Centered play button */
.bp-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.bp-play-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(20,16,10,.86);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
  transition: transform .18s, background .18s;
}
.bp-play-btn:hover .bp-play-circle {
  transform: scale(1.08);
  background: rgba(20,16,10,.94);
}
.bp-play-circle::before {
  content: '';
  width: 0; height: 0;
  border-left: 18px solid #fff;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 6px;
}
/* Dimmed play button for "coming soon" */
.bp-play-circle--dim {
  background: rgba(20,16,10,.38);
}
.bp-play-circle--dim::before {
  border-left-color: rgba(255,255,255,.55);
}

/* Card footer: title + sub */
.bp-tour-card__footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 8px 6px;
}
.bp-tour-card__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  font-style: italic;
  color: var(--bp-ink);
  margin: 0;
}
.bp-tour-card__sub {
  font-size: 0.82rem;
  color: var(--bp-soft);
  white-space: nowrap;
  margin-left: 12px;
}

/* YouTube facade → iframe swap handled by main.js */
.bp-yt-facade {
  position: relative;
  aspect-ratio: 16/9;
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
}
.bp-yt-facade iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 14px;
}

/* ================================================================
   PHOTO GALLERY
================================================================ */
.bp-gallery {
  /* no glass — standalone section */
}
.bp-gallery__mosaic {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
}
.bp-gallery__stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Photo placeholder (crosshatch) */
.bp-plate {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, transparent 0 12px, rgba(28,24,18,.04) 12px 14px),
    linear-gradient(180deg, #efe5ce, #e6d9b8);
  transition: transform .22s ease, box-shadow .22s ease;
  will-change: transform;
}
/* Hover: plate lifts, photo zooms subtly inside */
.bp-plate:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 38px rgba(40,28,14,.20), 0 4px 10px rgba(40,28,14,.08);
  z-index: 1;
}
.bp-plate img {
  transition: transform .30s ease;
}
.bp-plate:hover img {
  transform: scale(1.045);
}
.bp-plate::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 70%, rgba(180,130,70,.16), transparent 60%);
}
.bp-plate--tall { aspect-ratio: 3/4; }
.bp-plate--wide { aspect-ratio: 16/9; }
.bp-plate img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 16px;
}
.bp-plate__label {
  position: absolute;
  bottom: 14px; left: 14px; z-index: 2;
  font-family: 'Caveat', cursive;
  color: rgba(255,255,255,.8);
  font-size: 1rem;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}

/* ================================================================
   MAP SECTION (inside glass card)
================================================================ */
.bp-map-section {
  padding: 34px 36px;
}
.bp-topo-map {
  margin-top: 20px;
  position: relative;
  height: 300px;
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(ellipse at 30% 30%, #f4e9c8 0%, #e9d9a8 100%);
}
.bp-topo-map svg {
  position: absolute;
  inset: 0;
}
.bp-map-pin {
  position: absolute;
  transform: translate(-50%,-50%);
}
.bp-map-pin__dot {
  width: 9px; height: 9px;
  border-radius: 3px;
  background: rgba(28,24,18,.55);
}
.bp-map-pin__dot--here {
  width: 14px; height: 14px;
  background: var(--bp-accent);
  box-shadow: 0 0 0 4px rgba(155,74,42,.18);
}
.bp-map-legend {
  position: absolute;
  bottom: 12px; left: 14px;
  display: flex;
  gap: 14px;
  align-items: center;
  background: rgba(255,253,247,.7);
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.bp-map-legend__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--bp-soft);
}
.bp-map-legend__dot {
  width: 8px; height: 8px;
  border-radius: 2px;
}
.bp-you-are-here {
  font-family: 'Caveat', cursive;
  font-size: 1.1rem;
  color: var(--bp-accent);
  transform: rotate(-4deg) translate(-4px,-2px);
  display: inline-block;
  line-height: 1.2;
}

/* ================================================================
   SUPPORT BLOCK
================================================================ */
.bp-support__inner {
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bp-paper2) 0%, #e7d6a8 60%, #d9c082 100%);
  position: relative;
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 14px 40px rgba(60,40,15,.10);
}
.bp-support__bell {
  position: absolute;
  right: -20px; top: -10px;
  opacity: .13;
  pointer-events: none;
}
.bp-support__body {
  padding: 46px 54px;
  position: relative;
}
.bp-support__eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: var(--bp-soft);
}
.bp-support__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  font-style: italic;
  line-height: .95;
  letter-spacing: -.01em;
  margin: 12px 0 0;
  color: var(--bp-ink);
  max-width: 580px;
}
.bp-support__text {
  font-size: 1rem;
  line-height: 1.65;
  max-width: 520px;
  margin-top: 18px;
  color: rgba(28,24,18,.78);
}
.bp-support__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 26px;
}
.bp-support__legal {
  margin-top: 18px;
  font-size: 0.78rem;
  color: rgba(28,24,18,.52);
}

/* ================================================================
   PREV / NEXT NAV
================================================================ */
.bp-prevnext {
  margin-top: 8px;
  padding-top: 26px;
  border-top: 1px solid var(--bp-hair);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bp-prevnext__item {
  text-decoration: none;
  color: var(--bp-ink);
  transition: opacity .18s;
}
.bp-prevnext__item:hover { opacity: .65; }
.bp-prevnext__item--right { text-align: right; }
.bp-prevnext__name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  font-style: italic;
  margin-top: 4px;
  color: var(--bp-ink);
}
.bp-prevnext__count {
  font-size: 0.82rem;
  color: var(--bp-soft);
}

/* Slim building-nav strip above the hero image */
.bp-prevnext--mini {
  margin-top: 0;
  padding: 10px 80px;
  border-top: none;
  border-bottom: 1px solid var(--bp-hair);
}
.bp-prevnext--mini .bp-prevnext__name {
  font-size: 1.05rem;
  font-style: normal;
  margin-top: 1px;
}

/* ================================================================
   FOOTER OVERRIDES
================================================================ */
.site-footer {
  background: var(--bp-ink);
  border-top: none;
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1000px) {
  .bp-hero { padding: 100px 48px 64px; }
  .bp-body { padding: 48px 48px 80px; }
  .bp-about { padding: 36px 36px; }
  .bp-support__body { padding: 36px 36px; }
  .bp-prevnext--mini { padding: 8px 48px; }
}
@media (max-width: 800px) {
  .bp-hero { padding: 80px 24px 56px; }
  .bp-hero__inner { grid-template-columns: 1fr; }
  .bp-hero__right { display: none; } /* photo moves to gallery section */
  .bp-title { font-size: clamp(2.6rem, 10vw, 4rem); }
  .bp-body { padding: 36px 24px 64px; }
  .bp-about { padding: 28px 26px; }
  .bp-about__grid { grid-template-columns: 1fr; gap: 24px; }
  .bp-videos__grid { grid-template-columns: 1fr; }
  .bp-gallery__mosaic { grid-template-columns: 1fr; }
  .bp-plate--tall { aspect-ratio: 4/3; }
  .bp-support__body { padding: 28px 24px; }
  .bp-support__title { font-size: 2.2rem; }
  .bp-prevnext__name { font-size: 1.2rem; }
  .bp-map-section { padding: 24px 22px; }
  .bp-prevnext--mini { padding: 6px 24px; }
  .bp-prevnext--mini .bp-prevnext__name { font-size: 0.9rem; }
}
@media (max-width: 520px) {
  .bp-hero { padding: 72px 18px 48px; }
  .bp-body { padding: 28px 18px 56px; }
  .bp-about { padding: 22px 20px; }
  .bp-hero__buttons { gap: 8px; }
  .bp-pill { font-size: 0.78rem; padding: 8px 12px; }
  .bp-section-title { font-size: 1.7rem; }
  .bp-support__title { font-size: 1.9rem; }
}

/* ================================================================
   HERO V2 — FULLBLEED PHOTO (Option E · "Tall & Full")
   Photo is the hero's background, rendered at its natural aspect
   ratio. A horizontal paper-veil fades it to cream on the left
   so the title column stays legible. About copy lives inline in
   the hero column, directly below the buttons.
================================================================ */
.bp-hero--fullbleed {
  padding: 0;
}

/* Photo: anchored to the RIGHT edge, covering ~65% of the hero width.
   The left zone (where the text column lives) is the natural paper
   background — no need for a wide veil to cover it.
   Horizontal mask: fades in over the first 22% of the image's own width
   on the left, and fades out over the last 7% on the right so the image
   never cuts hard against the viewport edge.
   Bottom fade dissolves the photo into the page at 82%. */
.bp-hero__photo-bg {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  transform: none;
  width: 65%;
  max-width: none;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 80%;
  z-index: 0;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 22%, #000 93%, transparent 100%),
    linear-gradient(180deg, #000 82%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 22%, #000 93%, transparent 100%),
    linear-gradient(180deg, #000 82%, transparent 100%);
  -webkit-mask-composite: destination-in;
}

/* Paper veil — two layers:
   RIGHT ("to left" gradient): covers the gap between the content right
     boundary and the viewport right edge. All stops use max(0px,…) so
     the solid region is zero at ≤1320px. The FEATHER stops also use
     max(0px,…) anchored past the 660px threshold, meaning the feather
     GROWS from zero as the viewport widens past ~840px — no sudden jump.
   LEFT (90deg): solid paper from the left edge, fades to transparent
     at 78% — covers the text column and blends into the photo center. */
.bp-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Image is right-anchored; the left zone is already paper background.
     Veil just bridges the narrow transition at the image's left edge. */
  background: linear-gradient(90deg,
    var(--bp-paper)             0%,
    var(--bp-paper)             10%,
    rgba(246,239,222,.82)       22%,
    rgba(246,239,222,.38)       34%,
    rgba(246,239,222,.08)       44%,
    transparent                 50%);
}

/* Back link: floats in top-left corner above the veil */
.bp-hero--fullbleed .bp-back {
  position: absolute;
  top: 22px; left: 28px;
  z-index: 5;
}

/* Content wrapper: single column, left-aligned, in normal flow */
.bp-hero--fullbleed .bp-hero__inner {
  display: block;        /* override 2-col grid */
  position: relative;
  z-index: 3;
  max-width: 1320px;
  margin: 0 auto;
  padding: 140px 80px 80px;
}

/* Constrain text column so it clears the image zone */
.bp-hero__column {
  max-width: 480px;
}

/* About block nested inside the hero column, below buttons */
.bp-hero__about {
  margin-top: 42px;
  padding-top: 30px;
  border-top: 1px solid var(--bp-hair);
}
.bp-hero__about .bp-eyebrow {
  margin-bottom: 8px;
}
.bp-hero__about h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.1rem;
  font-weight: 400;
  margin: 0 0 16px;
  color: var(--bp-ink);
  line-height: 1.05;
}
.bp-hero__about-stats {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 22px;
  font-size: 0.82rem;
  color: var(--bp-soft);
}
.bp-hero__about-stats strong {
  color: var(--bp-ink);
}

/* ================================================================
   GALLERY + MAP ROW — side-by-side layout
================================================================ */
.bp-gallery-map-row {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
}
.bp-gallery-map-row .bp-map-section {
  padding: 22px 20px;
}

/* Real map image container — square */
.bp-map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  background: #ede0be;
  margin-top: 16px;
}
.bp-map-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Red pin dot — positioned by JS */
.bp-map-pin-dot {
  display: none;
  position: absolute;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
}
.bp-map-pin-dot::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #d42020;
  border: 4px solid #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.45);
}
.bp-map-pin-dot::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2.5px solid rgba(212,32,32,.45);
  animation: bp-ping 2s ease-out infinite;
}
@keyframes bp-ping {
  0%   { transform: scale(0.5); opacity: 0.85; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ================================================================
   MAP CARD IN TOUR SLOT
   When there is no summary video, the map card sits in the video
   grid as the second card, mirroring the video card structure.
================================================================ */
.bp-tour-card--map {
  display: flex;
  flex-direction: column;
  align-self: center;
}
/* Map frame: fixed 16:9 landscape — matches the video card's vid-area ratio */
.bp-map-frame--inline {
  flex: none;
  width: 100%;
  aspect-ratio: 16/9;
  min-height: auto;
  margin-top: 0;
  border-radius: 14px;  /* match video thumb radius */
}
/* "full map" pill overlaid top-right on the inline map */
.bp-map-fullmap-link {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--bp-ink);
  background: rgba(246,239,222,.88);
  border: 1px solid rgba(28,24,18,.18);
  border-radius: 20px;
  padding: 4px 12px;
  text-decoration: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.15s;
}
.bp-map-fullmap-link:hover {
  background: rgba(246,239,222,1);
}

/* ================================================================
   RESPONSIVE — fullbleed hero + gallery-map row
================================================================ */
@media (max-width: 1000px) {
  .bp-hero--fullbleed .bp-hero__inner { padding: 120px 48px 72px; }
  .bp-gallery-map-row { grid-template-columns: 1fr 300px; }
}
@media (max-width: 800px) {
  /* On mobile the photo becomes a faint ghost behind all the text */
  .bp-hero--fullbleed .bp-hero__photo-bg {
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% 20%;
    opacity: 0.18;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .bp-hero--fullbleed .bp-hero__veil {
    background: rgba(246,239,222,.12);
  }
  .bp-hero--fullbleed .bp-hero__inner { padding: 90px 24px 60px; }
  .bp-hero--fullbleed .bp-back { top: 16px; left: 18px; }
  /* Gallery-map: stack vertically on mobile */
  .bp-gallery-map-row { grid-template-columns: 1fr; }
  .bp-gallery-map-row .bp-map-section { padding: 20px 18px; }
  .bp-map-frame { aspect-ratio: 16 / 9; }
}
@media (max-width: 520px) {
  .bp-hero--fullbleed .bp-hero__inner { padding: 80px 18px 52px; }
  .bp-hero__about h2 { font-size: 1.7rem; }
}
