/* ══════════════════════════════════════════════════
   SIGNATURE MOVE — Overlapping Editorial Hero
   White panel overlaps hero/body boundary.
   Only this move gets custom CSS; everything else
   uses native Gutenberg blocks.
   ══════════════════════════════════════════════════ */

.sig-hero {
  position: relative;
  min-height: 85vh;
  background: #2C2C2C;
  overflow: visible;
}

.sig-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 1;
}

/* Dark overlay — 70% */
.sig-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.70);
  z-index: 2;
}

/* Editorial panel — overlaps into next section */
.sig-hero__panel {
  position: absolute;
  bottom: -120px;
  left: 80px;
  width: 560px;
  padding: 48px;
  background: #FFFFFF;
  z-index: 10;
}

.sig-hero__eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #B5822A;
  margin: 0 0 18px;
}

.sig-hero__h1 {
  font-family: 'Instrument Serif', serif;
  font-size: 3.75rem;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #1A1A1A;
  margin: 0 0 20px;
}

.sig-hero__sub {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #5E5E5E;
  line-height: 1.65;
  margin: 0 0 18px;
}

.sig-hero__credential {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #5E5E5E;
  letter-spacing: 0.02em;
  margin: 0;
}

/* ══════════════════════════════════════════════════
   UNIFORM IMAGES
   Consistent aspect ratio across all content images.
   ══════════════════════════════════════════════════ */

.entry-content .wp-block-image img,
.entry-content .wp-block-media-text__media img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  height: auto;
}

/* ══════════════════════════════════════════════════
   SPACING TIGHTENING
   Reduce gap between eyebrow labels and their headings,
   and between bold titles and their descriptions.
   Astra's blockGap support doesn't work, so we use
   targeted margin overrides.
   ══════════════════════════════════════════════════ */

/* Tighten eyebrow → heading gap */
.entry-content p[style*="text-transform:uppercase"] {
  margin-block-end: 0 !important;
}
.entry-content p[style*="text-transform:uppercase"] + .wp-block-heading {
  margin-block-start: 6px !important;
}

/* Tighten bold title → description gap in service items */
.entry-content p[style*="font-weight:600"] {
  margin-block-end: 0 !important;
}
.entry-content p[style*="font-weight:600"] + .has-muted-color {
  margin-block-start: 4px !important;
}

/* ══════════════════════════════════════════════════
   CREDENTIAL BAND — receives the hero panel overlap
   Dark ground, 3-column grid
   ══════════════════════════════════════════════════ */

.sig-credential-band {
  background: #1A1A1A;
  padding-top: 160px; /* space for hero panel overlap */
}

.sig-credential-grid {
  display: grid;
  grid-template-columns: 5fr 4fr 3fr;
  padding: 0 80px;
}

.sig-credential-cell {
  padding: 36px 44px 44px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.sig-credential-cell + .sig-credential-cell {
  padding-left: 44px;
}
.sig-credential-cell:last-child {
  border-right: none;
  display: flex;
  align-items: center;
}

.sig-credential-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 10px;
}

.sig-credential-name {
  font-family: 'Instrument Serif', serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: #FFFFFF;
  line-height: 1.3;
  margin: 0 0 8px;
}

.sig-credential-detail {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin: 0;
}

/* ══════════════════════════════════════════════════
   OUTCOME STAGE — display-scale proof figure
   Surface ground, 3-column: context | figure | outcome
   ══════════════════════════════════════════════════ */

.sig-outcome {
  padding: 90px 0;
}

.sig-outcome__eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #B5822A;
  margin: 0 0 14px;
}

.sig-outcome__heading {
  font-family: 'Instrument Serif', serif;
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #1A1A1A;
  margin: 0 0 48px;
  max-width: 600px;
}

.sig-outcome__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 48px;
}
.sig-outcome__grid > div {
  align-self: start;
}
.sig-outcome__grid > .sig-outcome__figure {
  align-self: center;
}

.sig-outcome__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #B5822A;
  margin: 0 0 14px;
}

.sig-outcome__text {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #5E5E5E;
  line-height: 1.72;
  margin: 0;
}

.sig-outcome__figure {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sig-outcome__number {
  font-family: 'Instrument Serif', serif;
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #1A1A1A;
  margin: 0 0 2px;
}

.sig-outcome__result {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: #5E5E5E;
  line-height: 1.4;
  margin: 0;
}

/* Zero out Astra's default block padding on signature move wrappers */
.wp-block-group:has(.sig-hero),
.wp-block-group:has(.sig-credential-band) {
  padding: 0 !important;
  margin-top: 0;
  margin-bottom: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .sig-hero {
    min-height: 70vh;
  }
  .sig-hero__panel {
    left: 20px;
    right: 20px;
    width: auto;
    bottom: -40px;
    padding: 32px;
  }
  .sig-hero__h1 {
    font-size: 2.25rem;
  }
  .sig-outcome {
    padding: 60px 20px;
  }
  .sig-outcome__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .sig-outcome__figure {
    text-align: left;
  }
  .sig-outcome__number {
    font-size: 2.5rem;
  }
  .sig-credential-band {
    padding-top: 80px;
  }
  .sig-credential-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
  .sig-credential-cell {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 28px 0;
  }
  .sig-credential-cell + .sig-credential-cell {
    padding-left: 0;
  }
  .sig-credential-cell:last-child {
    border-bottom: none;
    padding: 28px 0;
  }
}
