/* ==========================================================================
   preview-about.css — LOCAL PREVIEW ONLY (linked from about.html)
   mcl117 — denser Who We Are editorial grid; fill right void; McLaren feel
   Does NOT thin other Albyn pages. Habitation untouched.
   ========================================================================== */

/* ---- Page-scoped tokens / rhythm ---- */
body.page-about .about-who {
  padding-top: clamp(2.15rem, 3.8vw, 3.25rem) !important;
  padding-bottom: clamp(2.35rem, 4vw, 3.5rem) !important;
}

/* Use more of the main column at laptop widths — less grey gutter */
@media (min-width: 992px) {
  body.page-about .main-wrapper > .about-who > .container.about-who__container,
  body.page-about .about-who > .about-who__container.container,
  body.page-about .about-who > .container.about-who__container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: clamp(0.85rem, 1.4vw, 1.25rem) !important;
    padding-right: clamp(0.85rem, 1.4vw, 1.25rem) !important;
  }
  /* Align header title band with Who We Are board */
  body.page-about .main-wrapper > .page-header.page-header--compact > .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: clamp(0.85rem, 1.4vw, 1.25rem) !important;
  }
}

/* Mast — tighter, full-bleed of the grid width */
body.page-about .about-who__mast {
  max-width: none !important;
  margin: 0 0 clamp(1.35rem, 2.4vw, 2rem) !important;
}
body.page-about .about-who__mast .section-kicker {
  margin-bottom: 0.75rem !important;
  color: #00B0FD !important;
  border-bottom-color: rgba(0, 176, 253, 0.55) !important;
}
body.page-about .about-who__title {
  max-width: 28ch !important;
  font-size: clamp(1.45rem, 2.35vw, 1.95rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.2 !important;
  color: var(--ac-ink, #071628) !important;
}

/* ---- Unified editorial board: prose | rail (no grey gutter) ---- */
body.page-about .about-who__board {
  position: relative !important;
  display: block !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(250,251,253,0.97) 100%) !important;
  border: 1px solid rgba(11, 31, 58, 0.09) !important;
  border-top: 1px solid rgba(0, 176, 253, 0.32) !important;
  border-radius: 0.1rem !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.92) inset,
    0 1px 2px rgba(11, 31, 58, 0.04),
    0 16px 40px rgba(11, 31, 58, 0.07) !important;
  overflow: hidden !important;
}
body.page-about .about-who__board::before {
  content: '' !important;
  position: absolute !important;
  left: 1.25rem !important;
  right: 1.25rem !important;
  top: 0 !important;
  height: 1px !important;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0,176,253,0.5) 18%,
    rgba(201,162,39,0.3) 52%,
    rgba(0,176,253,0.5) 82%,
    transparent 100%) !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

body.page-about .about-who__grid {
  display: grid !important;
  gap: 0 !important;
  column-gap: 0 !important;
  row-gap: 0 !important;
  align-items: stretch !important;
  grid-template-columns: 1fr !important;
}
@media (min-width: 992px) {
  body.page-about .about-who__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(17.5rem, 22rem) !important;
    column-gap: 0 !important;
  }
}

/* Story sheet — flat inside board (board owns chrome) */
body.page-about .about-who__story {
  min-width: 0 !important;
}
body.page-about .about-who__sheet {
  position: relative !important;
  height: 100% !important;
  padding: clamp(1.25rem, 2.2vw, 1.75rem) clamp(1.2rem, 2vw, 1.75rem) !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.page-about .about-who__sheet::before {
  content: none !important;
  display: none !important;
}
body.page-about .about-who__sheet p {
  margin-bottom: 0.95rem !important;
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
  letter-spacing: 0.004em;
  color: var(--ac-ink-soft, #1a2f46) !important;
  max-width: none !important;
}
body.page-about .about-who__sheet p:last-child,
body.page-about .about-who__sheet p.mb-0 {
  margin-bottom: 0 !important;
}

/* Kill legacy nested columns if any CSS still targets them */
body.page-about .about-who__columns {
  display: block !important;
  grid-template-columns: none !important;
}
body.page-about .about-who__col + .about-who__col {
  border-left: none !important;
  padding-left: 0 !important;
}

/* ---- Supporting rail: bay stats + group + depot ---- */
body.page-about .about-who__rail {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
  position: relative !important;
  min-width: 0 !important;
  padding: clamp(1.1rem, 2vw, 1.45rem) clamp(1rem, 1.8vw, 1.35rem) !important;
  background:
    linear-gradient(180deg, rgba(246,248,251,0.92) 0%, rgba(242,245,249,0.96) 100%) !important;
  border-top: 1px solid rgba(11, 31, 58, 0.06) !important;
}
@media (min-width: 992px) {
  body.page-about .about-who__rail {
    position: relative !important;
    top: auto !important;
    border-top: none !important;
    border-left: 1px solid rgba(11, 31, 58, 0.09) !important;
    background:
      linear-gradient(180deg, rgba(245,247,250,0.98) 0%, rgba(240,243,247,0.98) 100%) !important;
  }
}

/* Bay stats — dense metric strip */
body.page-about .about-who__stats {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1px !important;
  background: rgba(11, 31, 58, 0.08) !important;
  border: 1px solid rgba(11, 31, 58, 0.1) !important;
  border-top: 1px solid rgba(0, 176, 253, 0.42) !important;
  border-radius: 0.1rem !important;
  overflow: hidden !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 10px 28px rgba(11, 31, 58, 0.06) !important;
}
body.page-about .about-who__stat {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.2rem !important;
  padding: 0.85rem 0.9rem 0.9rem !important;
  background:
    linear-gradient(180deg, #0f1622 0%, #0a1018 100%) !important;
  color: #f5f7fa !important;
}
body.page-about .about-who__stat-value {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.1 !important;
  color: #fff !important;
}
body.page-about .about-who__stat-label {
  font-size: 0.62rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: rgba(245, 247, 250, 0.55) !important;
}
body.page-about .about-who__stats-note {
  margin: 0 !important;
  padding: 0 0.15rem !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.04em !important;
  color: var(--ac-muted, #3f536a) !important;
}

body.page-about .about-who__rail-title {
  margin: 0 0 0.85rem !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: var(--ac-muted, #3f536a) !important;
}

body.page-about .about-who__group.card-hc--aside,
body.page-about .main-wrapper .about-who__group.card-hc--aside,
body.page-about .about-who__facts.card-hc--aside,
body.page-about .main-wrapper .about-who__facts.card-hc--aside {
  margin: 0 !important;
  padding: 0.95rem 1rem !important;
  border-radius: 0.08rem !important;
  border: 1px solid rgba(11, 31, 58, 0.08) !important;
  border-left: 2px solid rgba(0, 176, 253, 0.55) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 1px 2px rgba(11, 31, 58, 0.03) !important;
  background: rgba(255,255,255,0.92) !important;
}

body.page-about .about-who__group-list li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.65rem !important;
  margin: 0 0 0.65rem !important;
  font-size: 0.86rem !important;
  line-height: 1.45 !important;
  color: var(--ac-ink-soft, #1a2f46) !important;
  font-weight: 550 !important;
}
body.page-about .about-who__group-list li:last-child {
  margin-bottom: 0 !important;
}
body.page-about .about-who__group-mark {
  flex: 0 0 auto !important;
  width: 0.45rem !important;
  height: 0.45rem !important;
  margin-top: 0.4rem !important;
  border-radius: 50% !important;
  background: #00B0FD !important;
  box-shadow: 0 0 0 3px rgba(0, 176, 253, 0.16) !important;
}

body.page-about .about-who__facts-list li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.15rem !important;
  margin: 0 0 0.75rem !important;
  font-size: 0.84rem !important;
  line-height: 1.45 !important;
  color: var(--ac-ink-soft, #1a2f46) !important;
}
body.page-about .about-who__facts-list li:last-child {
  margin-bottom: 0 !important;
}
body.page-about .about-who__facts-list .bi {
  color: #00B0FD !important;
  margin-top: 0.12rem !important;
}

/* ---- Band under page header — denser About intro rhythm ---- */
body.page-about .page-header.page-header--compact,
body.page-about .main-wrapper > .page-header.page-header--compact {
  padding-top: clamp(1.35rem, 2.5vw, 1.85rem) !important;
  padding-bottom: clamp(1.35rem, 2.5vw, 1.85rem) !important;
}
@media (min-width: 992px) {
  body.page-about .page-header.page-header--compact > .container,
  body.page-about .main-wrapper > .page-header.page-header--compact > .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-right: clamp(14.5rem, 22vw, 18.5rem) !important; /* room for portal cluster */
    padding-left: clamp(0.85rem, 1.4vw, 1.25rem) !important;
  }
}

/* Portal cluster on About: position only — button depth/hover stays sitewide (Contact). */
@media (min-width: 992px) {
  body.page-about > .portal-login-cluster--desktop {
    top: 0.85rem !important;
    right: 0.85rem !important;
  }
}

/* Clarity section — slightly tighter to match denser Who We Are */
body.page-about .about-clarity {
  padding-top: clamp(2.35rem, 4.5vw, 3.75rem) !important;
  padding-bottom: clamp(2.35rem, 4.5vw, 3.75rem) !important;
}

/* Mobile: stats as 4-up where space allows */
@media (max-width: 991.98px) {
  body.page-about .about-who__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 575.98px) {
  body.page-about .about-who__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
