/* Home intro — The Firm split (navy copy | gold rule | portrait) */

.sc-home-intro.mod-firm-split {
  --intro-navy: #101929;
  --intro-gold: #ba9d4e;
  --intro-cream: #d8d4cf;
  --intro-copy-max: 54rem;
  position: relative;
  z-index: 6;
  width: 100%;
  max-width: 100%;
  margin-top: 0 !important;
  padding: 0 !important;
  background: var(--intro-navy);
  color: #fff;
  overflow: visible !important;
  isolation: isolate;
}

/* Undo legacy Webflow grid placement (g-home-intro-* / home-intro-bg-wrap) */
.sc-home-intro.mod-firm-split .g-home-intro-main,
.sc-home-intro.mod-firm-split .g-home-intro-bg-wrap,
.sc-home-intro.mod-firm-split .home-intro-copy,
.sc-home-intro.mod-firm-split .home-intro-media,
.sc-home-intro.mod-firm-split .home-intro-bg-wrap {
  grid-area: auto !important;
  grid-column: auto !important;
  grid-row: auto !important;
  margin: 0 !important;
}

.sc-home-intro.mod-firm-split .home-intro-title-wrap {
  position: static !important;
  top: auto !important;
  transform: none !important;
  max-width: none;
}

.sc-home-intro.mod-firm-split > .container {
  display: none !important;
}

.home-intro-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0.15rem minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
  min-height: clamp(52rem, 88vh, 96rem);
}

.elementor-widget-compass-home-intro .sc-home-intro.mod-firm-split,
.elementor-widget-compass-home-intro .home-intro-split {
  width: 100%;
  max-width: none;
}

.sc-home-intro.mod-firm-split .home-intro-copy {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  background: var(--intro-navy);
  padding:
    clamp(5rem, 8vh, 8.5rem)
    clamp(3.6rem, 5.5vw, 7rem)
    clamp(5rem, 8vh, 8.5rem)
    clamp(4rem, 7vw, 10rem);
}

.sc-home-intro.mod-firm-split .home-intro-copy-inner {
  width: 100%;
  max-width: var(--intro-copy-max);
}

.sc-home-intro.mod-firm-split .home-intro-label {
  margin: 0 0 clamp(2.4rem, 4vh, 4rem) !important;
  color: var(--intro-gold) !important;
  font-family: Reckless, Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 2.35vw, 3.2rem) !important;
  font-weight: 400;
  line-height: 1.2 !important;
  letter-spacing: 0;
  text-transform: none;
}

.sc-home-intro.mod-firm-split .home-intro-title {
  margin: 0;
  max-width: none;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-family: Reckless, Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 4.35vw, 7.2rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.01em;
}

.sc-home-intro.mod-firm-split .home-intro-title .home-intro-title-accent,
.sc-home-intro.mod-firm-split .home-intro-title-accent {
  color: var(--intro-gold) !important;
  -webkit-text-fill-color: var(--intro-gold) !important;
}

.sc-home-intro.mod-firm-split .home-intro-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  margin-top: clamp(2.8rem, 4.5vh, 4.4rem);
}

.sc-home-intro.mod-firm-split .home-banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 5.2rem;
  padding: 1.4rem 2.4rem;
  border: 1.5px solid var(--intro-gold);
  border-radius: 0;
  font-family: Inter, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.sc-home-intro.mod-firm-split .home-banner-btn--primary {
  background-color: var(--intro-gold);
  border-color: var(--intro-gold);
  color: var(--intro-navy) !important;
  -webkit-text-fill-color: var(--intro-navy) !important;
}

.sc-home-intro.mod-firm-split .home-banner-btn--primary:hover {
  background-color: #a88c42;
  border-color: #a88c42;
  color: var(--intro-navy) !important;
  -webkit-text-fill-color: var(--intro-navy) !important;
}

.sc-home-intro.mod-firm-split .home-banner-btn--outline {
  background-color: transparent;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border-color: rgba(244, 239, 232, 0.42);
}

.sc-home-intro.mod-firm-split .home-banner-btn--outline:hover {
  background-color: var(--intro-gold);
  border-color: var(--intro-gold);
  color: var(--intro-navy) !important;
  -webkit-text-fill-color: var(--intro-navy) !important;
}

.sc-home-intro.mod-firm-split .home-banner-btn__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
}

.sc-home-intro.mod-firm-split .home-banner-btn__phone svg {
  display: block;
  width: 100%;
  height: 100%;
}

.sc-home-intro.mod-firm-split .home-banner-btn__chev {
  display: inline-block;
  font-size: 1.5rem;
  line-height: 1;
  transform: translateY(-0.05em);
}

.sc-home-intro.mod-firm-split .home-intro-divider {
  width: 0.15rem;
  min-height: 100%;
  background: var(--intro-gold);
  box-shadow: 0 0 0.8rem rgba(186, 157, 78, 0.28);
}

.sc-home-intro.mod-firm-split .home-intro-media {
  position: relative;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  background: var(--intro-cream);
}

.sc-home-intro.mod-firm-split picture {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.sc-home-intro.mod-firm-split .home-intro-photo,
.sc-home-intro.mod-firm-split .home-intro-bg-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(52rem, 88vh, 96rem);
  margin: 0;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
  opacity: 1 !important;
  visibility: visible !important;
  transform: none;
  mask-image: none !important;
  -webkit-mask-image: none !important;
}

/* Law-banner homepage — static handoff into Discover / CTA */
body:has(.sc-home-hero.mod-law-banner) .sc-home-intro.mod-firm-split {
  margin-top: -1px !important;
  padding-top: 0 !important;
  border-top: none !important;
  z-index: 6;
}

body:has(.sc-home-hero.mod-law-banner) .elementor-widget-compass-home-intro .sc-home-intro.mod-firm-split {
  margin-top: -1px !important;
  padding-top: 0 !important;
}

/* Kill Elementor container chrome that paints navy between hero and firm-split */
body:has(.sc-home-hero.mod-law-banner) .e-con:has(.sc-home-hero.mod-law-banner),
body:has(.sc-home-hero.mod-law-banner) .e-con:has(.sc-home-intro.mod-firm-split) {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  row-gap: 0 !important;
  gap: 0 !important;
  background-color: transparent !important;
}

body:has(.sc-home-hero.mod-law-banner) .elementor-widget-compass-home-intro,
body:has(.sc-home-hero.mod-law-banner) .elementor-widget-compass-home-intro > .elementor-widget-container,
body:has(.sc-home-hero.mod-law-banner) .elementor-widget-compass-home-hero,
body:has(.sc-home-hero.mod-law-banner) .elementor-widget-compass-home-hero > .elementor-widget-container {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background-color: transparent !important;
}

/* Keep split media flush to the top edge (no navy strip above the portrait) */
body:has(.sc-home-hero.mod-law-banner) .sc-home-intro.mod-firm-split .home-intro-split,
body:has(.sc-home-hero.mod-law-banner) .sc-home-intro.mod-firm-split .home-intro-media,
body:has(.sc-home-hero.mod-law-banner) .sc-home-intro.mod-firm-split picture,
body:has(.sc-home-hero.mod-law-banner) .sc-home-intro.mod-firm-split .home-intro-photo,
body:has(.sc-home-hero.mod-law-banner) .sc-home-intro.mod-firm-split .home-intro-bg-photo {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Hide legacy intro layers if cached markup still exists */
.sc-home-intro.mod-firm-split .home-intro-main,
.sc-home-intro.mod-firm-split .home-intro-bg-wrap-tb-mb,
.sc-home-intro.mod-firm-split .home-intro-title-stick-wrap,
.sc-home-intro.mod-firm-split .home-intro-bg-stick,
.sc-home-intro.mod-firm-split .home-intro-compass,
.sc-home-intro.mod-firm-split .line-hor.home-intro-line,
.sc-home-intro.mod-firm-split .line-ver.home-intro-line {
  display: none !important;
}

@media screen and (max-width: 991px) {
  .sc-home-intro.mod-firm-split {
    overflow-x: clip !important;
    width: 100%;
    max-width: 100%;
  }

  .home-intro-split {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: 0;
    width: 100%;
  }

  /* Portrait first — more visible above the copy */
  .sc-home-intro.mod-firm-split .home-intro-media {
    order: -1;
    width: 100%;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 4 / 5;
    max-height: min(72vh, 64rem);
  }

  .sc-home-intro.mod-firm-split .home-intro-divider {
    display: none;
  }

  .sc-home-intro.mod-firm-split .home-intro-copy {
    width: 100%;
    min-width: 0;
    align-items: flex-start;
    padding:
      clamp(3.6rem, 6vh, 5.6rem)
      clamp(2.4rem, 5vw, 4rem)
      clamp(4rem, 7vh, 6rem) !important;
  }

  .sc-home-intro.mod-firm-split .home-intro-copy-inner,
  .sc-home-intro.mod-firm-split .home-intro-title-wrap {
    max-width: 100%;
    width: 100%;
  }

  .sc-home-intro.mod-firm-split .home-intro-label {
    font-size: clamp(1.8rem, 3.2vw, 2.4rem) !important;
    margin-bottom: clamp(1.6rem, 3vh, 2.8rem) !important;
  }

  .sc-home-intro.mod-firm-split .home-intro-title {
    font-size: clamp(2.8rem, 5.6vw, 4.6rem);
    line-height: 1.16;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .sc-home-intro.mod-firm-split picture {
    width: 100%;
    height: 100%;
    min-height: 0;
  }

  .sc-home-intro.mod-firm-split .home-intro-photo,
  .sc-home-intro.mod-firm-split .home-intro-bg-photo {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    object-fit: cover;
    object-position: center 20%;
    transform: none;
  }
}

/* Tablet (iPad range) */
@media screen and (max-width: 991px) and (min-width: 768px) {
  .sc-home-intro.mod-firm-split .home-intro-media {
    aspect-ratio: 5 / 6;
    max-height: min(78vh, 72rem);
  }

  .sc-home-intro.mod-firm-split .home-intro-copy {
    padding:
      clamp(4.4rem, 7vh, 6.4rem)
      clamp(3.2rem, 6vw, 5.6rem)
      clamp(4.8rem, 8vh, 7rem) !important;
  }

  .sc-home-intro.mod-firm-split .home-intro-title {
    font-size: clamp(3.2rem, 4.8vw, 5rem);
  }

  .sc-home-intro.mod-firm-split .home-intro-photo,
  .sc-home-intro.mod-firm-split .home-intro-bg-photo {
    object-position: center 16%;
  }
}

/* Phone */
@media screen and (max-width: 767px) {
  .sc-home-intro.mod-firm-split .home-intro-media {
    aspect-ratio: 3 / 4;
    max-height: min(62vh, 48rem);
  }

  .sc-home-intro.mod-firm-split .home-intro-copy {
    padding:
      clamp(3.2rem, 5.5vh, 4.4rem)
      clamp(2rem, 5vw, 2.8rem)
      clamp(3.6rem, 6vh, 5rem) !important;
  }

  .sc-home-intro.mod-firm-split .home-intro-label {
    font-size: 1.7rem !important;
    margin-bottom: 1.6rem !important;
  }

  .sc-home-intro.mod-firm-split .home-intro-title {
    font-size: clamp(2.4rem, 7.4vw, 3.4rem);
    line-height: 1.18;
  }

  .sc-home-intro.mod-firm-split .home-intro-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .sc-home-intro.mod-firm-split .home-banner-btn {
    width: 100%;
  }

  .sc-home-intro.mod-firm-split .home-intro-photo,
  .sc-home-intro.mod-firm-split .home-intro-bg-photo {
    object-position: center 18%;
  }
}

/* Short / landscape phones — keep portrait usable */
@media screen and (max-width: 991px) and (max-height: 520px) {
  .sc-home-intro.mod-firm-split .home-intro-media {
    aspect-ratio: 16 / 10;
    max-height: 58vh;
  }

  .sc-home-intro.mod-firm-split .home-intro-photo,
  .sc-home-intro.mod-firm-split .home-intro-bg-photo {
    object-position: center 24%;
  }

  .sc-home-intro.mod-firm-split .home-intro-copy {
    padding-top: 2.4rem !important;
    padding-bottom: 2.8rem !important;
  }
}

/* Legacy intro (non split) — keep minimal portrait rules for older pages */
.sc-home-intro:not(.mod-firm-split) {
  overflow-x: clip !important;
  overflow-y: visible;
  max-width: 100%;
  width: 100%;
}

.sc-home-intro:not(.mod-firm-split) > .container {
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

.sc-home-intro:not(.mod-firm-split) .home-intro-bg-stick {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  display: block !important;
  width: min(72rem, 54vw);
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  min-height: min(82vh, 78rem);
  max-height: min(96vh, 100rem);
  margin-left: auto;
  margin-right: clamp(0.5rem, 1.5vw, 1.6rem);
  overflow: hidden !important;
  flex: none;
  background: #d8d4cf;
}

.sc-home-intro:not(.mod-firm-split) .home-intro-bg-stick::before,
.sc-home-intro:not(.mod-firm-split) .home-intro-bg-stick-tb-mb::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7%;
  bottom: 7%;
  width: 0.15rem;
  z-index: 5;
  pointer-events: none;
  background: var(--cl-gold, #ba9d4e);
  box-shadow: 0 0 0.8rem rgba(186, 157, 78, 0.35);
}

.sc-home-intro:not(.mod-firm-split) .home-intro-compass {
  display: none !important;
}

.sc-home-intro:not(.mod-firm-split) .home-intro-title-accent,
.sc-home-intro:not(.mod-firm-split) .home-intro-title .home-intro-title-accent {
  color: var(--cl-gold, #ba9d4e) !important;
  -webkit-text-fill-color: var(--cl-gold, #ba9d4e) !important;
}
