/* ============================================================
   Aerial New Haven hero — animated CSS/SVG illustration
   Drop in real footage by replacing .nh-aerial with <video>.
   ============================================================ */
.nh-aerial {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #1e3658 0%, #0d1b2a 55%, #050d1a 100%);
}

/* Sky / atmosphere wash */
.nh-aerial::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 0%, rgba(201,163,93,0.18), transparent 55%),
    radial-gradient(ellipse at 20% 10%, rgba(255,220,160,0.08), transparent 50%);
  z-index: 1;
}

/* Distant haze + drifting clouds layer */
.nh-aerial::after {
  content: "";
  position: absolute;
  inset: -10% -20%;
  background:
    radial-gradient(ellipse 40% 20% at 30% 40%, rgba(255,255,255,0.05), transparent 70%),
    radial-gradient(ellipse 30% 15% at 70% 60%, rgba(255,255,255,0.04), transparent 70%),
    radial-gradient(ellipse 50% 25% at 50% 30%, rgba(255,255,255,0.03), transparent 70%);
  z-index: 2;
  animation: nhDrift 60s ease-in-out infinite alternate;
}

/* City layer — SVG cityscape, parallax + gentle ken-burns */
.nh-city {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: nhKenBurns 28s ease-in-out infinite alternate;
}
.nh-city svg {
  width: 130%;
  height: auto;
  max-height: 100%;
  display: block;
}

/* Light pinpoints — windows */
.nh-lights {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.nh-lights .pt {
  position: absolute;
  width: 2px; height: 2px;
  background: #f3d68a;
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(243,214,138,0.8), 0 0 8px rgba(243,214,138,0.4);
  animation: nhTwinkle 4s ease-in-out infinite;
}

/* Slow drift on overlaid grid */
.nh-grid {
  position: absolute;
  inset: 0;
  z-index: 5;
  background-image:
    linear-gradient(90deg, rgba(201,163,93,0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(201,163,93,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: nhDrift2 40s linear infinite;
  opacity: 0.6;
}

/* Atmospheric vignette */
.nh-vignette {
  position: absolute;
  inset: 0;
  z-index: 6;
  background:
    linear-gradient(180deg, rgba(13,27,42,0.2) 0%, transparent 30%, rgba(13,27,42,0.85) 100%),
    radial-gradient(ellipse at 50% 60%, transparent 40%, rgba(13,27,42,0.6) 100%);
  pointer-events: none;
}

/* Tag */
.nh-tag {
  position: absolute;
  bottom: 24px;
  right: var(--gutter);
  z-index: 7;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(245,241,234,0.45);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nh-tag::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: #c9a35d;
  box-shadow: 0 0 8px #c9a35d;
  animation: nhPulse 2s ease-in-out infinite;
}

@keyframes nhDrift {
  0%   { transform: translateX(-3%) translateY(0%); }
  100% { transform: translateX(3%) translateY(-2%); }
}
@keyframes nhDrift2 {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(80px, 80px); }
}
@keyframes nhKenBurns {
  0%   { transform: scale(1.05) translateY(2%); }
  100% { transform: scale(1.12) translateY(-2%); }
}
@keyframes nhTwinkle {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 1; }
}
@keyframes nhPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50%      { transform: scale(1.4); opacity: 1; }
}

/* ============================================================
   Hero Carousel — multi-slide rotating hero
   ============================================================ */
.hero-carousel {
  position: relative;
  height: 100vh;
  min-height: 720px;
  width: 100%;
  overflow: hidden;
  color: #f5f1ea;
  background: #0d1b2a;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1200ms cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 1200ms;
  display: flex;
  align-items: flex-end;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 1200ms cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
  z-index: 2;
}
.hero-slide-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-slide-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,18,32,0.35) 0%, rgba(10,18,32,0.15) 40%, rgba(10,18,32,0.9) 100%),
    linear-gradient(90deg, rgba(10,18,32,0.55) 0%, transparent 55%);
  z-index: 3;
}
.hero-slide-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-slide.is-active .hero-slide-bg {
  animation: heroKen 14s ease-out forwards;
}
@keyframes heroKen {
  0%   { transform: scale(1.04) translate(0, 0); }
  100% { transform: scale(1.14) translate(-1.5%, -1.5%); }
}

.hero-slide-inner {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 180px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: 64px;
  align-items: end;
}
.hero-slide.is-active .hero-slide-content > * {
  animation: heroRise 900ms cubic-bezier(0.2,0.7,0.2,1) backwards;
}
.hero-slide.is-active .hero-slide-content > *:nth-child(1) { animation-delay: 200ms; }
.hero-slide.is-active .hero-slide-content > *:nth-child(2) { animation-delay: 320ms; }
.hero-slide.is-active .hero-slide-content > *:nth-child(3) { animation-delay: 440ms; }
.hero-slide.is-active .hero-slide-content > *:nth-child(4) { animation-delay: 560ms; }
.hero-slide.is-active .hero-meta-block {
  animation: heroRise 900ms cubic-bezier(0.2,0.7,0.2,1) 600ms backwards;
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-slide .hero-discipline {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: rgba(245,241,234,0.7);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}
.hero-slide .hero-discipline::before {
  content: "";
  width: 40px; height: 1px; background: var(--accent, #c9a35d);
}
.hero-slide .hero-discipline strong { color: var(--accent, #c9a35d); font-weight: 500; }
.hero-slide h1 {
  font-family: var(--font-display);
  font-size: clamp(54px, 7.4vw, 120px);
  color: #f5f1ea;
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin: 0 0 32px;
  max-width: 14ch;
}
.hero-slide h1 em {
  font-style: italic;
  color: var(--accent-2, #c9a35d);
}
.hero-slide-copy {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.2vw, 17px);
  color: rgba(245,241,234,0.85);
  line-height: 1.55;
  max-width: 44ch;
  margin: 0 0 36px;
}
.hero-slide-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Right rail meta */
.hero-meta-block {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px 0;
  border-top: 1px solid rgba(245,241,234,0.22);
  border-bottom: 1px solid rgba(245,241,234,0.22);
}
.hero-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-meta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(245,241,234,0.55);
  text-transform: uppercase;
  flex-shrink: 0;
}
.hero-meta-value {
  font-family: var(--font-display);
  font-size: 20px;
  color: #f5f1ea;
  text-align: right;
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.25;
}
.hero-meta-value.mono {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

/* Carousel controls (lower-left + lower-right rails) */
.hero-controls {
  position: absolute;
  left: 0; right: 0;
  bottom: 32px;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  pointer-events: none;
}
.hero-controls > * { pointer-events: auto; }

.hero-dots {
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero-dot {
  background: none;
  border: 0;
  padding: 8px 4px;
  cursor: pointer;
  color: rgba(245,241,234,0.5);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 400ms;
  position: relative;
}
.hero-dot::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(245,241,234,0.3);
  transition: background 400ms, width 400ms;
  position: relative;
  overflow: hidden;
}
.hero-dot.is-active { color: #f5f1ea; }
.hero-dot.is-active::before { background: rgba(245,241,234,0.3); width: 56px; }
.hero-dot.is-active::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  height: 1px;
  background: var(--accent, #c9a35d);
  width: 0;
  animation: heroProgress var(--slide-dur, 8s) linear forwards;
}
.hero-carousel.is-paused .hero-dot.is-active::after { animation-play-state: paused; }
@keyframes heroProgress {
  from { width: 0; }
  to   { width: 56px; }
}

.hero-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(245,241,234,0.4);
  background: rgba(13,27,42,0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #f5f1ea;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 400ms, border-color 400ms, transform 400ms;
}
.hero-arrow svg { width: 14px; height: 8px; }
.hero-arrow svg line, .hero-arrow svg polyline { stroke: currentColor; stroke-width: 1; fill: none; }
.hero-arrow:hover {
  background: #f5f1ea;
  color: var(--ink);
  border-color: #f5f1ea;
}
.hero-arrow.prev svg { transform: rotate(180deg); }

.hero-counter {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(245,241,234,0.8);
  padding: 0 14px;
  min-width: 64px;
  text-align: center;
}
.hero-counter strong { color: #f5f1ea; font-weight: 500; }

/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  left: var(--gutter);
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  z-index: 5;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(245,241,234,0.55);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: none;
}
.hero-scroll-cue::after {
  content: "";
  width: 48px; height: 1px;
  background: linear-gradient(90deg, rgba(245,241,234,0.6), rgba(245,241,234,0));
}

/* ====== Slide-specific backdrop treatments ====== */
.hsg-equity {
  background:
    radial-gradient(ellipse at 28% 20%, rgba(201,163,93,0.22), transparent 55%),
    radial-gradient(ellipse at 80% 75%, rgba(30,54,88,0.6), transparent 60%),
    linear-gradient(180deg, #182c46 0%, #0d1b2a 60%, #050d1a 100%);
}
.hsg-brokerage {
  background:
    radial-gradient(ellipse at 70% 25%, rgba(201,163,93,0.16), transparent 60%),
    radial-gradient(ellipse at 20% 70%, rgba(40,60,90,0.55), transparent 60%),
    linear-gradient(180deg, #0d1b2a 0%, #0a1320 70%, #050d1a 100%);
}
.hsg-construction {
  background:
    radial-gradient(ellipse at 50% 20%, rgba(201,163,93,0.18), transparent 55%),
    linear-gradient(180deg, #1d2c3e 0%, #0d1b2a 60%, #060e1b 100%);
}
.hsg-management {
  background:
    radial-gradient(ellipse at 35% 80%, rgba(201,163,93,0.18), transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(60,80,110,0.45), transparent 60%),
    linear-gradient(180deg, #14253a 0%, #0d1b2a 60%, #050d1a 100%);
}

/* Decorative city/window light overlay used in slide backdrops */
.hero-slide-bg .bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(201,163,93,0.06) 1px, transparent 1px),
    linear-gradient(0deg,  rgba(201,163,93,0.06) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: 0.5;
  mix-blend-mode: screen;
}
.hero-slide-bg .bg-skyline {
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
}
.hero-slide-bg .bg-skyline svg {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-slide-bg .bg-lights span {
  position: absolute;
  width: 2px; height: 2px;
  background: #f3d68a;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(243,214,138,0.9), 0 0 10px rgba(243,214,138,0.4);
  animation: heroTwinkle 3.6s ease-in-out infinite;
}
@keyframes heroTwinkle {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 1; }
}
.hero-slide-bg .bg-rule {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center 70%, transparent 30%, rgba(8,15,26,0.55) 100%);
}

@media (max-width: 980px) {
  .hero-slide-inner { grid-template-columns: 1fr; gap: 32px; padding-bottom: 180px; }
  .hero-controls { flex-direction: column-reverse; gap: 18px; align-items: flex-start; padding-bottom: 24px; }
  .hero-scroll-cue { display: none; }
}
@media (max-width: 600px) {
  .hero-arrows { gap: 8px; }
  .hero-arrow { width: 44px; height: 44px; }
  .hero-slide { align-items: flex-start; }
  .hero-slide-inner { padding: 104px var(--gutter) 92px; gap: 24px; }
  .hero-slide .hero-discipline { margin-bottom: 16px; }
  .hero-slide h1 { font-size: clamp(32px, 8.6vw, 42px); line-height: 1.04; margin-bottom: 18px; max-width: 18ch; }
  .hero-slide-copy { font-size: 15px; line-height: 1.5; margin-bottom: 22px; max-width: none; }
  .hero-slide-actions { gap: 12px; }
  .hero-slide-actions .btn { width: 100%; justify-content: center; }
  .hero-meta-block { padding: 16px 0; gap: 12px; margin-top: 0; }
  .hero-meta-value { font-size: 17px; }
  .hero-slide.has-photo .hero-meta-block { margin-bottom: 0; }
  .hero-slide.has-photo .hero-meta-block::before { display: none; }
  /* Compact the slide-nav into dots — the labelled version overflowed the screen. */
  .hero-controls { bottom: 16px; }
  .hero-arrows { display: none; }
  .hero-dots { gap: 14px; }
  .hero-dot { font-size: 0; gap: 0; padding: 12px 2px; }
  .hero-dot::before { width: 16px; }
  .hero-dot.is-active::before { width: 28px; }
}
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.testimonial {
  padding: 56px 48px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.testimonial:nth-child(2n) { border-right: 0; }
.testimonial:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.4;
  color: var(--ink);
  font-style: italic;
}
.testimonial-quote::before { content: "\201C"; color: var(--accent); margin-right: 4px; }
.testimonial-quote::after  { content: "\201D"; color: var(--accent); margin-left: 4px; }
.testimonial-attr {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.testimonial-attr strong { color: var(--ink); font-weight: 500; letter-spacing: 0.12em; }
@media (max-width: 880px) {
  .testimonials { grid-template-columns: 1fr; }
  .testimonial { border-right: 0; }
  .testimonial:nth-child(-n+3) { border-bottom: 1px solid var(--rule); }
}

/* Markets / neighborhoods */
.markets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.market {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--bg-3);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  color: #f5f1ea;
  transition: transform 600ms cubic-bezier(0.2,0.7,0.2,1);
}
.market:hover { transform: translateY(-4px); }
.market::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,27,42,0.3) 0%, rgba(13,27,42,0.85) 100%);
  z-index: 1;
}
.market-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.market-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  position: relative;
  z-index: 2;
  margin-bottom: 16px;
}
.market h3 {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 44px);
  color: #f5f1ea;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.market p {
  position: relative;
  z-index: 2;
  color: rgba(245,241,234,0.85);
  font-size: 14px;
  margin: 0;
  max-width: none;
}
.market-meta {
  position: relative;
  z-index: 2;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(245,241,234,0.2);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(245,241,234,0.7);
  text-transform: uppercase;
}
@media (max-width: 880px) {
  .markets { grid-template-columns: 1fr; }
}

/* ============================================================
   Warm-neutral sections — subtle linen / paper grain
   Applied via .section-paper so we can opt-in per section without
   touching the navy CTA banner or dark hero. Two pseudo-elements:
   one for the linen weave (tiny crosshatch), one for a faint cloud
   variation so the texture doesn't look mechanical. Both anchored
   to the section root and z-indexed below content.
   ============================================================ */
.section-paper {
  position: relative;
  background-color: #f7f4ee;
  isolation: isolate;
}
.section-paper::before,
.section-paper::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.section-paper::before {
  background-image:
    repeating-linear-gradient(  0deg, rgba(10,18,32,0.030) 0 0.5px, transparent 0.5px 3px),
    repeating-linear-gradient( 90deg, rgba(10,18,32,0.025) 0 0.5px, transparent 0.5px 3px);
  opacity: 0.9;
  mix-blend-mode: multiply;
}
.section-paper::after {
  background:
    radial-gradient(ellipse 60% 40% at 20% 25%, rgba(201,163,93,0.05), transparent 70%),
    radial-gradient(ellipse 55% 45% at 80% 75%, rgba(10,18,32,0.04),   transparent 70%);
  opacity: 1;
}
.section-paper > * { position: relative; z-index: 1; }

/* ============================================================
   Acquisition Criteria block — institutional "investment memo" feel
   ============================================================ */
.acq-criteria {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(10,27,42,0.12);
  background: #fbf9f4;
  position: relative;
}
.acq-col {
  padding: 40px 32px 36px;
  border-right: 1px solid rgba(10,27,42,0.10);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.acq-col:last-child { border-right: none; }
.acq-col h3 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #6b5d3e;
  margin: 0 0 4px;
  font-weight: 500;
}
.acq-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.acq-col li {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.25;
  color: #0d1b2a;
  letter-spacing: -0.005em;
}
.acq-col li .acq-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  color: #5a6b7d;
  margin-top: 4px;
  letter-spacing: 0;
}
.acq-col .acq-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.05;
  color: #0d1b2a;
  letter-spacing: -0.01em;
  margin: 0;
}
.acq-col .acq-headline em { font-style: italic; color: var(--accent, #c9a35d); }

@media (max-width: 980px) {
  .acq-criteria { grid-template-columns: 1fr 1fr; }
  .acq-col:nth-child(2) { border-right: none; }
  .acq-col:nth-child(1), .acq-col:nth-child(2) { border-bottom: 1px solid rgba(10,27,42,0.10); }
}
@media (max-width: 600px) {
  .acq-criteria { grid-template-columns: 1fr; }
  .acq-col { border-right: none; border-bottom: 1px solid rgba(10,27,42,0.10); }
  .acq-col:last-child { border-bottom: none; }
}

/* ============================================================
   Capital Partner pillars — six short blocks, dense, restrained
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(10,27,42,0.12);
  border-left: 1px solid rgba(10,27,42,0.12);
}
.pillar {
  padding: 36px 32px 32px;
  border-right: 1px solid rgba(10,27,42,0.12);
  border-bottom: 1px solid rgba(10,27,42,0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: transparent;
  transition: background 240ms ease;
}
.pillar:hover { background: rgba(255,255,255,0.5); }
.pillar-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent, #c9a35d);
}
.pillar h3 {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0;
  color: #0d1b2a;
  font-weight: 400;
}
.pillar p {
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.55;
  color: #3a4a5e;
  margin: 0;
}
@media (max-width: 980px) {
  .pillars { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .pillars { grid-template-columns: 1fr; border-left: none; }
  .pillar { border-right: none; }
}

/* ============================================================
   Capability grid — secondary card (used to demote brokerage on
   the homepage). Sits in the same .capabilities grid but reads
   as supporting evidence rather than a peer discipline.
   ============================================================ */
.cap.cap-secondary {
  background: transparent;
  border: 1px dashed rgba(10,27,42,0.18);
  padding: 36px 36px;
  min-height: 0;
}
.cap.cap-secondary h3 {
  font-size: clamp(22px, 2.2vw, 28px);
}
.cap.cap-secondary .cap-num { color: rgba(10,27,42,0.55); }
.cap.cap-secondary p { font-size: 14.5px; }

/* Force the capability grid to flow 2 large + 2 large + 1 wide
   secondary on the homepage. Add .capabilities-hierarchy to opt in. */
.capabilities.capabilities-hierarchy {
  grid-template-columns: 1fr 1fr;
}
.capabilities.capabilities-hierarchy .cap.cap-secondary {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  align-items: center;
  gap: 32px;
}
.capabilities.capabilities-hierarchy .cap.cap-secondary h3 { margin: 0; }
.capabilities.capabilities-hierarchy .cap.cap-secondary p { margin: 0; }
@media (max-width: 880px) {
  .capabilities.capabilities-hierarchy { grid-template-columns: 1fr; }
  .capabilities.capabilities-hierarchy .cap.cap-secondary {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ====== Photo-backed hero slide ====== */
/* When a slide has a real photograph behind it, we swap out the decorative
   silhouettes and lean on a stronger multi-stop overlay so the headline,
   discipline label and meta column all stay clearly legible against the
   image's sky + brickwork mid-tones. */
.hero-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  z-index: 0;
  /* Take the photo down toward our navy system so the bright brick and
     sky don't outshout the foreground copy. */
  /* User-requested ~25% brightness bump from the previous 0.78 (≈ 0.98). */
  filter: saturate(0.95) contrast(1.02) brightness(0.98);
}
/* Hide decorative SVG silhouettes / window-light dots on photo slides */
.hero-slide.has-photo .bg-skyline,
.hero-slide.has-photo .bg-lights {
  display: none;
}
/* Pull the radial color washes back so the photograph reads as the
   dominant element while still feeling tied to the gold + navy system. */
.hero-slide.has-photo .hsg-equity {
  background:
    radial-gradient(ellipse at 22% 18%, rgba(201,163,93,0.10), transparent 55%),
    linear-gradient(180deg, #0d1b2a 0%, #0a1322 100%);
}
/* Heavier, full-coverage legibility wash.
   - 180deg pass: light tint up top, deep navy bottom band for meta + controls.
   - 90deg pass: deep navy column on the LEFT behind headline / body / buttons
     that fades fully transparent only past the center, and a softer navy
     wash returning from the RIGHT behind the meta block. */
.hero-slide.has-photo .hero-slide-media::after {
  background:
    linear-gradient(180deg,
      rgba(10,18,32,0.45) 0%,
      rgba(10,18,32,0.28) 22%,
      rgba(10,18,32,0.55) 62%,
      rgba(10,18,32,0.96) 100%),
    linear-gradient(90deg,
      rgba(10,18,32,0.92) 0%,
      rgba(10,18,32,0.82) 28%,
      rgba(10,18,32,0.45) 55%,
      rgba(10,18,32,0.55) 78%,
      rgba(10,18,32,0.78) 100%);
}
/* Localized scrim directly behind the meta column — gives "Units owned",
   "$300M+" etc. a guaranteed dark backing regardless of what's in the
   photo behind them, without resorting to a hard card. */
.hero-slide.has-photo .hero-meta-block {
  position: relative;
  /* Push the meta block down so it clears the bottom of the vertical
     "THE VANGUARD" lettering on the building's brick column. Negative
     margin (rather than a transform) so we don't fight the heroRise
     entry animation, which targets transform: translateY. The carousel
     controls sit at bottom:32px so 96px of drop still leaves clearance. */
  margin-bottom: -96px;
}
.hero-slide.has-photo .hero-meta-block::before {
  content: "";
  position: absolute;
  inset: -24px -20px -20px -28px;
  background: linear-gradient(90deg,
    rgba(10,18,32,0) 0%,
    rgba(10,18,32,0.55) 35%,
    rgba(10,18,32,0.7) 100%);
  z-index: -1;
  pointer-events: none;
}
/* Soften the Ken-Burns scale on the photo so it doesn't crop too tightly. */
.hero-slide.has-photo.is-active .hero-slide-bg {
  animation: heroKenSoft 18s ease-out forwards;
}
@keyframes heroKenSoft {
  0%   { transform: scale(1.02) translate(0, 0); }
  100% { transform: scale(1.08) translate(-0.8%, -0.6%); }
}
@media (max-width: 880px) {
  .hero-photo { background-position: 60% 40%; }
  .hero-slide.has-photo .hero-slide-media::after {
    background:
      linear-gradient(180deg, rgba(10,18,32,0.65) 0%, rgba(10,18,32,0.5) 30%, rgba(10,18,32,0.95) 100%);
  }
}
