/* ==========================================================================
   Beacon Capital — Projects system
   Scoped to body.bc-projects (index) and body.bc-project-detail (detail pages).
   Tokens: Beacon Capital Dark Stone design system.
   ========================================================================== */

body.bc-projects {
  --bcp-bg: #070909;
  --bcp-surface: #1B2020;
  --bcp-surface-alt: #111414;
  --bcp-ink: #F3EFE7;
  --bcp-body: #D8D3CA;
  --bcp-muted: #9E9A91;
  --bcp-gold: #D1AA6D;
  --bcp-gold-hover: #B88B48;
  --bcp-gold-light: #E5C98F;
  --bcp-teal: #024548;
  --bcp-teal-2: #025B5A;
  --bcp-hair: rgba(209, 170, 109, 0.18);
  --bcp-hair-soft: rgba(243, 239, 231, 0.10);
  --bcp-r: 4px;
  --bcp-r-sm: 2px;
  --bcp-display: "Cormorant Garamond", Georgia, serif;
  --bcp-body-font: "Poppins", Helvetica, Arial, sans-serif;
  --bcp-max: 1240px;
}

/* --- Reset the theme content shell so sections can go full-bleed --------- */
body.bc-projects #content.site-content,
body.bc-projects .site-content .ast-container,
body.bc-projects .entry-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
  background: var(--bcp-bg);
}
body.bc-projects .entry-header,
body.bc-projects .ast-single-post-title,
body.bc-projects .post-navigation,
body.bc-projects #secondary { display: none !important; }

body.bc-projects .bcp {
  background: var(--bcp-bg);
  color: var(--bcp-body);
  font-family: var(--bcp-body-font);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}
body.bc-projects .bcp *,
body.bc-projects .bcp *::before,
body.bc-projects .bcp *::after { box-sizing: border-box; }

body.bc-projects .bcp__wrap {
  width: 100%;
  max-width: var(--bcp-max);
  margin: 0 auto;
  padding: 0 28px;
}

/* --- Shared type ------------------------------------------------------- */
body.bc-projects .bcp h1,
body.bc-projects .bcp h2,
body.bc-projects .bcp h3 {
  font-family: var(--bcp-display);
  font-weight: 600;
  color: var(--bcp-ink);
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0.2px;
}
body.bc-projects .bcp p { margin: 0; }

body.bc-projects .bcp__label {
  font-family: var(--bcp-body-font);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--bcp-gold);
  margin: 0 0 18px;
}

/* --- Buttons ----------------------------------------------------------- */
body.bc-projects .bcp__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--bcp-body-font);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
  padding: 15px 32px;
  border-radius: var(--bcp-r);
  border: 1px solid transparent;
  text-decoration: none;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.15s ease;
  cursor: pointer;
}
body.bc-projects .bcp__btn--solid {
  background: var(--bcp-gold);
  color: #070909;
  border-color: var(--bcp-gold);
}
body.bc-projects .bcp__btn--solid:hover,
body.bc-projects .bcp__btn--solid:focus-visible {
  background: var(--bcp-gold-hover);
  border-color: var(--bcp-gold-hover);
  color: #070909;
}
body.bc-projects .bcp__btn--ghost {
  background: transparent;
  color: var(--bcp-ink);
  border-color: var(--bcp-gold);
}
body.bc-projects .bcp__btn--ghost:hover,
body.bc-projects .bcp__btn--ghost:focus-visible {
  background: rgba(209, 170, 109, 0.12);
  color: var(--bcp-gold-light);
}
body.bc-projects .bcp__btn:active { transform: translateY(1px); }
body.bc-projects .bcp a:focus-visible,
body.bc-projects .bcp button:focus-visible {
  outline: 2px solid var(--bcp-gold-light);
  outline-offset: 3px;
}

/* ======================================================================
   HERO
   ====================================================================== */
body.bc-projects .bcp-hero {
  position: relative;
  isolation: isolate;
  padding: 132px 0 108px;
  background: var(--bcp-bg);
}
body.bc-projects .bcp-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
}
body.bc-projects .bcp-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 9, 9, 0.88) 0%, rgba(7, 9, 9, 0.74) 38%, rgba(7, 9, 9, 0.94) 100%),
    linear-gradient(115deg, rgba(2, 69, 72, 0.55) 0%, rgba(2, 69, 72, 0) 62%);
}
body.bc-projects .bcp-hero__inner { max-width: 760px; }

body.bc-projects .bcp-crumbs {
  font-size: 0.74rem;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--bcp-muted);
  margin: 0 0 26px;
}
body.bc-projects .bcp-crumbs a {
  color: var(--bcp-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
body.bc-projects .bcp-crumbs a:hover { color: var(--bcp-gold); }
body.bc-projects .bcp-crumbs span[aria-current] { color: var(--bcp-gold); }
body.bc-projects .bcp-crumbs i {
  font-style: normal;
  margin: 0 9px;
  color: rgba(158, 154, 145, 0.55);
}

body.bc-projects .bcp-hero__title {
  font-size: clamp(2.9rem, 6vw, 4.6rem);
  line-height: 1.04;
  margin: 0 0 8px;
}
body.bc-projects .bcp-hero__rule {
  width: 84px;
  height: 2px;
  background: var(--bcp-gold);
  margin: 22px 0 26px;
  border: 0;
}
body.bc-projects .bcp-hero__lede {
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--bcp-body);
  max-width: 60ch;
}

/* ======================================================================
   TRUST BAND
   ====================================================================== */
body.bc-projects .bcp-trust {
  background: var(--bcp-surface-alt);
  border-top: 1px solid var(--bcp-hair);
  border-bottom: 1px solid var(--bcp-hair);
}
body.bc-projects .bcp-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
body.bc-projects .bcp-trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 30px 26px;
  border-left: 1px solid var(--bcp-hair-soft);
}
body.bc-projects .bcp-trust__item:first-child { border-left: 0; }
body.bc-projects .bcp-trust__item svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  stroke: var(--bcp-gold);
  fill: none;
  stroke-width: 1.4;
}
body.bc-projects .bcp-trust__item span {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: var(--bcp-ink);
  line-height: 1.35;
}

/* ======================================================================
   FILTERS
   ====================================================================== */
body.bc-projects .bcp-filter {
  padding: 74px 0 0;
  background: var(--bcp-bg);
}
body.bc-projects .bcp-filter__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
body.bc-projects .bcp-filter__title {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.1;
}
body.bc-projects .bcp-filter__count {
  font-size: 0.8rem;
  letter-spacing: 0.6px;
  color: var(--bcp-muted);
  white-space: nowrap;
  padding-bottom: 6px;
}
body.bc-projects .bcp-filter__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 30px;
  border-bottom: 1px solid var(--bcp-hair);
}
body.bc-projects .bcp-chip {
  position: relative;
  appearance: none;
  background: none;
  border: 0;
  padding: 0 0 15px;
  font-family: var(--bcp-body-font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--bcp-muted);
  cursor: pointer;
  transition: color 0.22s ease;
}
body.bc-projects .bcp-chip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--bcp-gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s ease;
}
body.bc-projects .bcp-chip:hover { color: var(--bcp-body); }
body.bc-projects .bcp-chip[aria-selected="true"] { color: var(--bcp-gold); }
body.bc-projects .bcp-chip[aria-selected="true"]::after { transform: scaleX(1); }

/* ======================================================================
   PROJECT GRID
   ====================================================================== */
body.bc-projects .bcp-grid-sec { padding: 44px 0 96px; background: var(--bcp-bg); }
body.bc-projects .bcp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
body.bc-projects .bcp-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bcp-surface);
  border: 1px solid var(--bcp-hair);
  border-radius: var(--bcp-r);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}
body.bc-projects .bcp-card:hover,
body.bc-projects .bcp-card:focus-visible {
  border-color: rgba(209, 170, 109, 0.55);
  background: #202626;
  transform: translateY(-3px);
}
body.bc-projects .bcp-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bcp-surface-alt);
}
body.bc-projects .bcp-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
body.bc-projects .bcp-card:hover .bcp-card__media img { transform: scale(1.05); }
body.bc-projects .bcp-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 9, 0) 45%, rgba(7, 9, 9, 0.55) 100%);
}
body.bc-projects .bcp-card__sector {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--bcp-gold-light);
  background: rgba(7, 9, 9, 0.78);
  border: 1px solid var(--bcp-hair);
  border-radius: var(--bcp-r-sm);
  padding: 6px 11px;
}
body.bc-projects .bcp-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 24px 24px 22px;
}
body.bc-projects .bcp-card__title {
  font-size: 1.42rem;
  line-height: 1.18;
  margin-bottom: 12px;
}
body.bc-projects .bcp-card__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
body.bc-projects .bcp-card__row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  color: var(--bcp-muted);
  line-height: 1.5;
}
body.bc-projects .bcp-card__row svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  stroke: var(--bcp-gold);
  fill: none;
  stroke-width: 1.5;
}
body.bc-projects .bcp-card__cta {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--bcp-hair-soft);
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--bcp-gold);
  transition: gap 0.25s ease, border-color 0.3s ease;
}
body.bc-projects .bcp-card:hover .bcp-card__cta {
  gap: 15px;
  border-color: var(--bcp-hair);
}
body.bc-projects .bcp-card__cta svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}
body.bc-projects .bcp-card.is-hidden { display: none; }

body.bc-projects .bcp-grid__empty {
  grid-column: 1 / -1;
  padding: 56px 30px;
  text-align: center;
  border: 1px dashed var(--bcp-hair);
  border-radius: var(--bcp-r);
  color: var(--bcp-muted);
  font-size: 0.92rem;
}

/* ======================================================================
   METRICS
   ====================================================================== */
body.bc-projects .bcp-metrics {
  padding: 78px 0;
  background:
    linear-gradient(125deg, rgba(2, 69, 72, 0.42) 0%, rgba(2, 69, 72, 0) 58%),
    var(--bcp-surface-alt);
  border-top: 1px solid var(--bcp-hair);
  border-bottom: 1px solid var(--bcp-hair);
}
body.bc-projects .bcp-metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
body.bc-projects .bcp-metric { padding-left: 22px; border-left: 1px solid var(--bcp-hair); }
body.bc-projects .bcp-metric__val {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--bcp-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 4.4vw, 3.5rem);
  line-height: 1;
  color: var(--bcp-ink);
}
body.bc-projects .bcp-metric__sfx { color: var(--bcp-gold); font-size: 0.55em; }
body.bc-projects .bcp-metric__lbl {
  margin-top: 12px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--bcp-muted);
  line-height: 1.5;
}

/* ======================================================================
   CTA
   ====================================================================== */
body.bc-projects .bcp-cta { padding: 96px 0; background: var(--bcp-bg); }
body.bc-projects .bcp-cta__inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
  background: var(--bcp-surface);
  border: 1px solid var(--bcp-hair);
  border-radius: var(--bcp-r);
  padding: 58px 52px;
}
body.bc-projects .bcp-cta__title {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.12;
  margin-bottom: 16px;
}
body.bc-projects .bcp-cta__text {
  font-size: 1rem;
  color: var(--bcp-body);
  max-width: 54ch;
}
body.bc-projects .bcp-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
body.bc-projects .bcp-cta__actions .bcp__btn { width: 100%; }

/* ======================================================================
   DETAIL PAGES
   ====================================================================== */
body.bc-projects .bcp-dhero {
  position: relative;
  isolation: isolate;
  padding: 124px 0 96px;
  /* Height is driven by the template, never by the source image ratio, so
     every project hero reads at the same scale. */
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
body.bc-projects .bcp-dhero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center 40%;
}
body.bc-projects .bcp-dhero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 9, 9, 0.86) 0%, rgba(7, 9, 9, 0.70) 40%, rgba(7, 9, 9, 0.95) 100%),
    linear-gradient(115deg, rgba(2, 69, 72, 0.50) 0%, rgba(2, 69, 72, 0) 65%);
}
body.bc-projects .bcp-dhero__title {
  font-size: clamp(2.4rem, 5.2vw, 3.8rem);
  line-height: 1.06;
  max-width: 22ch;
}
body.bc-projects .bcp-dhero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
body.bc-projects .bcp-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.7px;
  color: var(--bcp-ink);
  background: rgba(7, 9, 9, 0.6);
  border: 1px solid var(--bcp-hair);
  border-radius: var(--bcp-r-sm);
  padding: 8px 14px;
}
body.bc-projects .bcp-tag svg {
  width: 14px;
  height: 14px;
  stroke: var(--bcp-gold);
  fill: none;
  stroke-width: 1.5;
}

body.bc-projects .bcp-over { padding: 84px 0; background: var(--bcp-bg); }
body.bc-projects .bcp-over__inner {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 56px;
  align-items: start;
}
body.bc-projects .bcp-over__title {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  margin-bottom: 20px;
}
body.bc-projects .bcp-over__text {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--bcp-body);
  max-width: 62ch;
}
body.bc-projects .bcp-over__text + .bcp-over__text { margin-top: 16px; }
body.bc-projects .bcp-facts {
  background: var(--bcp-surface);
  border: 1px solid var(--bcp-hair);
  border-radius: var(--bcp-r);
  padding: 8px 26px;
}
body.bc-projects .bcp-fact {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--bcp-hair-soft);
}
body.bc-projects .bcp-fact:last-child { border-bottom: 0; }
body.bc-projects .bcp-fact__k {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--bcp-muted);
  white-space: nowrap;
}
body.bc-projects .bcp-fact__v {
  font-size: 0.92rem;
  color: var(--bcp-ink);
  text-align: right;
  line-height: 1.5;
}

body.bc-projects .bcp-gal {
  padding: 84px 0;
  background: var(--bcp-surface-alt);
  border-top: 1px solid var(--bcp-hair);
  border-bottom: 1px solid var(--bcp-hair);
}
body.bc-projects .bcp-gal__title { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 34px; }

/* Shared gallery geometry.
 * Every project page uses these ratios; nothing is page-specific and no source
 * file is altered. Ratio containers + object-fit:cover mean a portrait or
 * landscape original occupies exactly the same slot. */
body.bc-projects .bcp-gal__set {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
body.bc-projects .bcp-gal__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
/* Three-up when the supporting count divides by three, so the row fills. */
body.bc-projects .bcp-gal__grid--3 { grid-template-columns: repeat(3, 1fr); }
body.bc-projects .bcp-gal__grid--single { grid-template-columns: 1fr; }
/* A trailing odd image in a two-up grid spans the full width as a deliberate
   closing frame rather than floating alone in a half-empty row.
   Bounded to >=1025px: below that the grid is two-up (--3 included) and below
   768px it is one-up, where `span 2` would force an implicit second column. */
@media (min-width: 1025px) {
  body.bc-projects .bcp-gal__grid:not(.bcp-gal__grid--3):not(.bcp-gal__grid--single)
    .bcp-gal__fig:last-child:nth-child(odd) {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
  }
}

body.bc-projects .bcp-gal__fig {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--bcp-hair);
  border-radius: var(--bcp-r);
  background: var(--bcp-bg);
  aspect-ratio: 4 / 3;
}
/* Lead image and a lone supporting image share the wider 3:2 ratio. */
body.bc-projects .bcp-gal__fig--main,
body.bc-projects .bcp-gal__grid--single .bcp-gal__fig { aspect-ratio: 3 / 2; }

body.bc-projects .bcp-gal__fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
body.bc-projects .bcp-gal__fig:hover img { transform: scale(1.04); }

body.bc-projects .bcp-back { padding: 54px 0 0; background: var(--bcp-bg); }
body.bc-projects .bcp-back a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--bcp-gold);
  text-decoration: none;
  transition: gap 0.25s ease;
}
body.bc-projects .bcp-back a:hover { gap: 16px; }
body.bc-projects .bcp-back svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}

/* ======================================================================
   RESPONSIVE
   ====================================================================== */
@media (max-width: 1024px) {
  body.bc-projects .bcp-grid { grid-template-columns: repeat(2, 1fr); }
  body.bc-projects .bcp-trust__grid { grid-template-columns: repeat(2, 1fr); }
  body.bc-projects .bcp-trust__item:nth-child(odd) { border-left: 0; }
  body.bc-projects .bcp-trust__item:nth-child(n + 3) { border-top: 1px solid var(--bcp-hair-soft); }
  body.bc-projects .bcp-metrics__grid { grid-template-columns: repeat(2, 1fr); gap: 38px 30px; }
  body.bc-projects .bcp-cta__inner { grid-template-columns: 1fr; gap: 34px; padding: 46px 38px; }
  body.bc-projects .bcp-cta__actions { flex-direction: row; }
  body.bc-projects .bcp-cta__actions .bcp__btn { width: auto; flex: 1 1 0; }
  body.bc-projects .bcp-over__inner { grid-template-columns: 1fr; gap: 40px; }
  body.bc-projects .bcp-gal__set { gap: 16px; }
  body.bc-projects .bcp-gal__grid,
  body.bc-projects .bcp-gal__grid--3 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* Tablet is two-up for every grid (--3 included), so a trailing odd image
   spans the pair instead of floating. Bounded at the low end so it can never
   reach the one-up mobile grid, where `span 2` would create an implicit
   second column and collapse the row into slivers. */
@media (min-width: 768px) and (max-width: 1024px) {
  body.bc-projects .bcp-gal__grid:not(.bcp-gal__grid--single)
    .bcp-gal__fig:last-child:nth-child(odd) {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 767px) {
  body.bc-projects .bcp__wrap { padding: 0 20px; }
  body.bc-projects .bcp-hero { padding: 96px 0 76px; }
  body.bc-projects .bcp-dhero { padding: 92px 0 68px; min-height: 340px; }
  body.bc-projects .bcp-hero__title { font-size: clamp(2.3rem, 10vw, 3rem); }
  body.bc-projects .bcp-grid { grid-template-columns: 1fr; gap: 22px; }
  body.bc-projects .bcp-trust__grid { grid-template-columns: 1fr; }
  body.bc-projects .bcp-trust__item {
    border-left: 0;
    padding: 22px 20px;
  }
  body.bc-projects .bcp-trust__item + .bcp-trust__item { border-top: 1px solid var(--bcp-hair-soft); }
  body.bc-projects .bcp-filter { padding-top: 56px; }
  body.bc-projects .bcp-filter__bar {
    gap: 4px 22px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  body.bc-projects .bcp-filter__bar::-webkit-scrollbar { display: none; }
  body.bc-projects .bcp-chip { white-space: nowrap; }
  body.bc-projects .bcp-grid-sec { padding: 34px 0 72px; }
  body.bc-projects .bcp-metrics__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  body.bc-projects .bcp-metric { padding-left: 16px; }
  body.bc-projects .bcp-cta { padding: 68px 0; }
  body.bc-projects .bcp-cta__inner { padding: 38px 24px; }
  body.bc-projects .bcp-cta__actions { flex-direction: column; }
  body.bc-projects .bcp-cta__actions .bcp__btn { width: 100%; }
  body.bc-projects .bcp-over,
  body.bc-projects .bcp-gal { padding: 62px 0; }
  body.bc-projects .bcp-gal__set { gap: 14px; }
  body.bc-projects .bcp-gal__grid,
  body.bc-projects .bcp-gal__grid--3 { grid-template-columns: 1fr; gap: 14px; }
  /* One column, but every slot keeps a shared ratio so no image towers over
     the next. 3:2 throughout preserves more of a portrait facade than 4:3.
     The desktop full-width span is reset so the last image matches the rest. */
  body.bc-projects .bcp-gal__fig,
  body.bc-projects .bcp-gal__fig--main,
  body.bc-projects .bcp-gal__grid .bcp-gal__fig:last-child:nth-child(odd) {
    grid-column: auto;
    aspect-ratio: 3 / 2;
  }
  body.bc-projects .bcp-facts { padding: 6px 20px; }
  body.bc-projects .bcp-fact { flex-direction: column; gap: 5px; align-items: flex-start; }
  body.bc-projects .bcp-fact__v { text-align: left; }
}

/* ======================================================================
   CONCEPTUAL-IMAGERY DISCLOSURE
   Discreet, never competing with the image. Present wherever a generated
   visualization stands in for site photography; disappears automatically
   once a genuine photograph replaces the file.
   ====================================================================== */
body.bc-projects .bcp-concept {
  font-family: var(--bcp-body-font);
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--bcp-muted);
}
body.bc-projects .bcp-concept--badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  font-size: 0.56rem;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: rgba(243, 239, 231, 0.72);
  background: rgba(7, 9, 9, 0.62);
  border: 1px solid rgba(243, 239, 231, 0.16);
  border-radius: var(--bcp-r-sm);
  padding: 5px 9px;
  backdrop-filter: blur(2px);
}
body.bc-projects .bcp-concept--cap {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  font-size: 0.62rem;
  letter-spacing: 0.7px;
  color: rgba(243, 239, 231, 0.78);
  background: linear-gradient(180deg, rgba(7, 9, 9, 0) 0%, rgba(7, 9, 9, 0.82) 100%);
  padding: 22px 14px 9px;
  text-align: right;
  pointer-events: none;
}
body.bc-projects .bcp-concept--note {
  margin-top: 18px;
  font-size: 0.68rem;
  letter-spacing: 0.6px;
  color: rgba(243, 239, 231, 0.60);
}
body.bc-projects .bcp-gal__disclosure {
  margin: -18px 0 30px;
  font-size: 0.78rem;
  color: var(--bcp-muted);
  max-width: 62ch;
}
body.bc-projects .bcp-gal__disclosure em { color: var(--bcp-gold); font-style: normal; }

/* ======================================================================
   GALLERY TRIGGER + RELATED PROJECTS
   ====================================================================== */
body.bc-projects .bcp-gal__fig { position: relative; }
body.bc-projects .bcp-gal__open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  appearance: none;
}

body.bc-projects .bcp-rel {
  padding: 86px 0 90px;
  background: var(--bcp-bg);
}
body.bc-projects .bcp-rel__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 34px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--bcp-hair);
}
body.bc-projects .bcp-rel__title { font-size: clamp(1.8rem, 3vw, 2.4rem); }
body.bc-projects .bcp-rel__all {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--bcp-gold);
  text-decoration: none;
  transition: gap 0.25s ease;
}
body.bc-projects .bcp-rel__all:hover { gap: 15px; }
body.bc-projects .bcp-rel__all svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}

/* ======================================================================
   LIGHTBOX
   ====================================================================== */
html.bcp-lb-open { overflow: hidden; }
body.bc-projects .bcp-lb {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 68px;
  background: rgba(7, 9, 9, 0.94);
}
body.bc-projects .bcp-lb[hidden] { display: none; }
body.bc-projects .bcp-lb__fig {
  position: relative;
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
body.bc-projects .bcp-lb__img {
  max-width: 100%;
  max-height: calc(100vh - 130px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border: 1px solid var(--bcp-hair);
  border-radius: var(--bcp-r);
}
body.bc-projects .bcp-lb__cap {
  position: static;
  background: none;
  padding: 0;
  font-size: 0.7rem;
  letter-spacing: 0.7px;
  color: rgba(243, 239, 231, 0.66);
  text-align: center;
}
body.bc-projects .bcp-lb__cap[hidden] { display: none; }
body.bc-projects .bcp-lb__x,
body.bc-projects .bcp-lb__nav {
  appearance: none;
  cursor: pointer;
  color: var(--bcp-ink);
  background: rgba(27, 32, 32, 0.85);
  border: 1px solid var(--bcp-hair);
  border-radius: 50%;
  line-height: 1;
  transition: background-color 0.22s ease, color 0.22s ease;
}
body.bc-projects .bcp-lb__x:hover,
body.bc-projects .bcp-lb__nav:hover { background: var(--bcp-gold); color: #070909; }
body.bc-projects .bcp-lb__x {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
}
body.bc-projects .bcp-lb__nav {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  font-size: 1.9rem;
}

@media (max-width: 767px) {
  body.bc-projects .bcp-rel { padding: 62px 0 66px; }
  body.bc-projects .bcp-gal__disclosure { margin: -10px 0 24px; }
  body.bc-projects .bcp-lb { padding: 60px 12px 24px; flex-wrap: wrap; }
  body.bc-projects .bcp-lb__fig { order: -1; flex: 1 0 100%; }
  body.bc-projects .bcp-lb__img { max-height: calc(100vh - 190px); }
  body.bc-projects .bcp-lb__nav { width: 44px; height: 44px; }
  body.bc-projects .bcp-lb__x { top: 12px; right: 12px; width: 40px; height: 40px; }
  body.bc-projects .bcp-concept--cap { font-size: 0.58rem; padding: 18px 11px 7px; }
}

@media (prefers-reduced-motion: reduce) {
  body.bc-projects .bcp * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  body.bc-projects .bcp-card:hover { transform: none; }
  body.bc-projects .bcp-card:hover .bcp-card__media img,
  body.bc-projects .bcp-gal__fig:hover img { transform: none; }
}
