/* Homepage opening: locally photographed architecture, with live text. */
.home-page .cinematic-shell {
  --opening-gutter: clamp(10px, 1.5vw, 24px);
  margin: var(--opening-gutter) auto 0;
  padding: 0 var(--opening-gutter);
}
.home-page .cinematic-opening {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: max(320px, calc(100svh - var(--mobile-header-height, 96px) - 2 * var(--opening-gutter)));
  margin-bottom: var(--opening-gutter);
  border-radius: 12px;
  background: #1b1a19;
  color: #f7f5ef;
}
.home-page .cinematic-photo-crop {
  position: absolute;
  inset: 0;
  container-type: size;
}
.home-page .cinematic-opening .cinematic-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% 5%;
}
@supports (width: 1cqh) {
  .home-page .cinematic-opening .cinematic-photo {
    /* Show the upper-left 81% by 51% of the original, clear of the signals. */
    inset: 0 auto auto 50%;
    width: max(123.3cqw, 261cqh);
    max-width: none;
    height: auto;
    transform: translateX(-40.55%);
  }
}
.home-page .cinematic-opening::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(27,26,25,.86) 0%,rgba(27,26,25,.79) 24%,rgba(27,26,25,.66) 47%,rgba(27,26,25,.23) 72%,rgba(27,26,25,.06) 100%);
  pointer-events: none;
}
.home-page .cinematic-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 780px);
  padding: clamp(27px, 3vw, 48px) clamp(26px, 4.4vw, 66px);
}
.home-page .cinematic-copy .cinematic-region {
  margin: 0 0 14px;
  color: #f0e5d7;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
}
.home-page .cinematic-copy .cinematic-region::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin-top: 11px;
  background: #b5a58d;
}
.home-page .cinematic-copy h1 {
  margin: 0 0 14px;
  color: #f7f5ef;
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(2.3rem, 3.85vw, 3.65rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1.02;
}
.home-page .cinematic-copy .cinematic-description {
  max-width: 29rem;
  text-wrap: balance;
  margin: 0 0 20px;
  color: #f7f5ef;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.55;
}
.home-page .cinematic-copy .cinematic-action {
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid #f7f5ef;
  border-radius: 4px;
  background: #f7f5ef;
  color: #191a1e;
  font-weight: 700;
  text-transform: none;
  letter-spacing: .01em;
}
.home-page .cinematic-copy .cinematic-action:hover {background:#e9ddcd;color:#191a1e;border-color:#e9ddcd}
.home-page .cinematic-copy .cinematic-action:focus-visible {outline:2px solid #fff;outline-offset:4px}
.home-page .cinematic-handoff {
  display: grid;
  grid-template-columns: 1.36fr 1fr;
  align-items: center;
  gap: clamp(26px, 5vw, 76px);
  padding: clamp(24px, 2.7vw, 42px) clamp(8px, 2vw, 34px) clamp(40px, 5vw, 70px);
}
.home-page .cinematic-handoff h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.95vw, 2.75rem);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -.048em;
}
.home-page .cinematic-handoff h2 strong {font-weight:700}
.home-page .cinematic-handoff>div {border-left:1px solid #c8c2b7;padding-left:clamp(20px,3.1vw,52px)}
.home-page .cinematic-handoff p {max-width:33rem;margin:0 0 12px;font-size:clamp(1rem,1.45vw,1.2rem);line-height:1.55;color:#40362e}
.home-page .cinematic-handoff a {font-size:.875rem;font-weight:600;text-decoration:underline;text-underline-offset:4px}
.home-page main>.opportunity {border-top:1px solid var(--line)}
.home-page .cinematic-mobile-break {display:none}
@media(max-width:700px){
  .home-page .cinematic-mobile-break {display:inline}
  .home-page .cinematic-opening {min-height:0;height:auto;max-height:none;border-radius:9px}
  .home-page .cinematic-opening .cinematic-photo {object-position:49% 39%}
  @container (max-aspect-ratio: 1 / 1) {
    .home-page .cinematic-opening .cinematic-photo {transform:translateX(-49%)}
  }
  .home-page .cinematic-opening::after {background:linear-gradient(90deg,rgba(25,24,23,.93),rgba(25,24,23,.76) 54%,rgba(25,24,23,.43)),linear-gradient(0deg,rgba(25,24,23,.41),transparent 65%)}
  .home-page .cinematic-copy {padding:32px clamp(18px,6vw,38px)}
  .home-page .cinematic-copy h1 {font-size:clamp(1.9rem,8.2vw,2.8rem)}
  .home-page .cinematic-copy .cinematic-region {font-size:.65rem;letter-spacing:.105em;margin-bottom:13px}
  .home-page .cinematic-copy .cinematic-description {max-width:23rem}
  .home-page .cinematic-handoff {grid-template-columns:1fr;gap:16px;padding:28px 8px 38px}
  .home-page .cinematic-handoff h2 {font-size:clamp(1.25rem,5.4vw,1.7rem)}
  .home-page .cinematic-handoff>div {border:0;padding:0}
}

.home-page main > .opportunity > img { border-radius: 0; }

.home-page .cinematic-copy .cinematic-assurance{
 max-width:36rem;margin:16px 0 0;color:#f7f5ef;
 font-size:.875rem;line-height:1.55;font-weight:500;
}
