/* The full-width photograph sits behind the opening, under a navy shade. */
.home-hero.opening-scene {
  --opening-photo-top: 92px;
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: max(780px, min(90svh, 980px));
  height: auto;
  padding: calc(var(--opening-photo-top) + 24vw + 24px) var(--gutter) 110px;
  overflow: clip;
  background: var(--mg-dots-on-navy) 0 0 / var(--mg-dot-step) var(--mg-dot-step), var(--mg-blues);
  color: var(--mg-pure);
}
.opening-image {
  position: absolute;
  inset: 0;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: var(--mg-blues);
}
.opening-photo {
  position: absolute;
  top: var(--opening-photo-top);
  left: 0;
  display: block;
  width: 100%;
}
.opening-photo img {
  display: block;
  width: 100%;
  height: auto;
  /* Keep both ends of the team in frame at every viewport width. */
  transform: none;
}
.opening-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #160F3E38 0%, #160F3E14 calc(var(--opening-photo-top) + 20vw), #160F3EAD calc(var(--opening-photo-top) + 34vw), #160F3EEB calc(var(--opening-photo-top) + 52vw), #160F3E 100%);
  pointer-events: none;
}
.opening-image figcaption {
  position: absolute;
  z-index: 1;
  right: var(--gutter);
  bottom: 90px;
  font: 10px/1.5 var(--mono);
  color: #FFFFFF;
}
.opening-copy {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  column-gap: 6vw;
  align-items: end;
  max-width: none;
}
.opening-eyebrow {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  font: 10px/1.6 var(--mono);
  color: #E4DBEC;
}
.opening-eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--mg-keppel);
}
.opening-title {
  grid-column: 1;
  grid-row: 2 / 4;
  align-self: start;
  font-size: clamp(48px, 6.2vw, 96px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.06em;
}
.opening-title > em {
  display: block;
  margin-top: 12px;
  font-size: 1.035em;
  line-height: 1.08;
}
.opening-title .brand-highlight {
  display: inline-block;
  padding: .015em .07em .1em;
  line-height: 1.02;
  max-width: 100%;
  white-space: normal;
}
.opening-description {
  grid-column: 2;
  grid-row: 2;
  max-width: 43ch;
  margin-top: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #E4DBEC;
}
.opening-actions { grid-column: 2; grid-row: 3; margin-top: 28px; }
.opening-actions .button {
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 100px;
  color: var(--mg-blues);
  background: var(--mg-keppel);
  border-color: var(--mg-keppel);
}
.opening-actions .button:hover { background: #32C1B5; border-color: #32C1B5; }
.opening-bottom {
  position: absolute;
  z-index: 3;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.opening-explore {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 44px;
  font: 10px/1.5 var(--mono);
}
.opening-explore > span { font: 23px/1 var(--sans); }
.opening-bottom .motion-toggle { background: #160F3EEB; color: #FFFFFF; }
html[data-motion-intro="true"] .opening-title { animation: mg-title-in 900ms cubic-bezier(.2, .7, .2, 1) both; }

@media (max-width: 1100px) and (min-width: 801px) {
  .opening-description { max-width: 37ch; font-size: 14px; }
}
@media (max-width: 800px) {
  .home-hero.opening-scene {
    --opening-photo-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    min-height: 0;
    padding: calc(var(--opening-photo-top) + 32vw + 24px) var(--gutter) 145px;
  }
  .opening-copy { display: block; order: 0; max-width: 100%; }
  .opening-eyebrow { margin-bottom: 24px; font-size: 9px; }
  .opening-title { font-size: clamp(52px, 9vw, 72px); }
  .opening-title > em { margin-top: 9px; }
  .opening-description { max-width: 47ch; font-size: 14px; margin-top: 26px; }
  .opening-actions { margin-top: 23px; }
  .opening-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
  }
  .opening-image::after {
    background: linear-gradient(180deg, #160F3E00 0%, #160F3E14 calc(var(--opening-photo-top) + 22vw), #160F3EEB calc(var(--opening-photo-top) + 44vw), #160F3E calc(var(--opening-photo-top) + 66.667vw));
  }
  .opening-image figcaption { right: var(--gutter); bottom: 90px; font-size: 9px; }
  .opening-bottom { left: var(--gutter); right: var(--gutter); bottom: 20px; }
  .opening-explore { font-size: 9px; gap: 14px; }
  .opening-bottom .motion-toggle { font-size: 9px; padding: 9px 11px; }
}
@media (max-width: 480px) {
  .opening-eyebrow { font-size: 8px; gap: 9px; }
  .opening-title { font-size: clamp(40px, 11vw, 52px); }
  .opening-title > em { font-size: 1.035em; }
  .opening-description { font-size: 13px; line-height: 1.8; max-width: 38ch; }
  .opening-actions .button { font-size: 12px; gap: 25px; }
  .opening-bottom { gap: 14px; }
  .opening-explore { max-width: 13ch; }
}
@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="running"]) :is(.opening-photo img, .opening-title) { animation: none; }
}
@media (forced-colors: active) {
  .opening-title .brand-highlight { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; }
}
