/* Shared stage for the release announcement and article mastheads. */
.updates-page .release-cover {
  --stage-height: clamp(465px, 42vw, 602px);
  --headroom: clamp(88px, 8vw, 120px);
  --side: max(6vw, calc((100% - 1120px) / 2));
  --room: url('/landing-assets-f2ae4d3/assets/room.webp');
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: 0;
  background: #efdfcc var(--room) center bottom / cover no-repeat;
}
.updates-page .release-cover .lead {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(24px, 4vw, 72px);
  align-content: stretch;
  align-items: center;
  justify-items: stretch;
  width: 100%;
  max-width: none;
  min-height: var(--stage-height);
  margin: 0;
  padding: var(--headroom) var(--side) 28px;
  overflow: visible;
}
.updates-page .release-cover .lead::before,
.updates-page .release-cover .lead::after { display: none; }
.updates-page .release-cover .lead-copy {
  grid-area: 1 / 1;
  z-index: 1;
  align-self: start;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(22px, 3.2vw, 54px) 0 0;
  text-align: left;
}
.updates-page .release-cover .lead-copy :is(p,h1) { margin-inline: 0; text-align: left; }
.updates-page .release-cover .lead-copy .hero-names { margin-bottom: 12px; font-size: 14px; }
.updates-page .release-cover .lead-copy h1 { font-size: clamp(38px, 4.65vw, 60px); line-height: 1.02; text-wrap: balance; }
.updates-page .release-cover .lead-copy > p:not(.hero-names) { max-width: 39ch; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.45; text-wrap: pretty; }
.release-ui figure {
  position: relative;
  grid-area: 1 / 2;
  align-self: end;
  width: min(100%, 550px, calc((var(--stage-height) - var(--headroom) - 30px) * 1.21));
  margin: 0 auto;
}
.release-ui .cover-composition {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: end;
  padding: 0 2% 0 4%;
  text-decoration: none;
}
.release-ui .glass-box {
  display: block;
  width: 70%;
  padding: clamp(8px, 1.15vw, 18px);
  border: 1px solid rgba(255,255,255,.92);
  border-radius: clamp(17px, 1.8vw, 27px);
  background: linear-gradient(135deg, #ffffffe0, #fffcf75c 53%, #fff8ecc9);
  box-shadow: inset 0 0 0 1px #fff9, 0 12px 26px -10px #60432450;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.release-ui .glass-box img { display: block; width: 100%; height: auto; border-radius: clamp(9px, 1vw, 15px); }
.release-ui .cover-mascot {
  display: block;
  width: 46%;
  height: auto;
  margin: 0 -7% 1% -5%;
  z-index: 1;
  filter: drop-shadow(1px 5px 3px #59401842);
}
.release-cover figure a:focus-visible, .release-photo:focus-visible { outline: 3px solid #1761d3; outline-offset: -3px; }
.release-photo { position: absolute; inset: 25px 0 0; display: flex; justify-content: end; align-items: end; }
.release-photo img {
  display: block;
  width: min(100%, calc((var(--stage-height) - 25px) * 2.4));
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center bottom;
  mask-image: linear-gradient(90deg, transparent, black 9%), linear-gradient(transparent, black 10%);
  mask-composite: intersect;
}
.article-measure { margin: 18px 0; padding: 14px 18px; border-radius: 14px; background: #edf3fb; color: #213b60; }
.article-measure strong { display: block; font: 690 24px/1.3 system-ui; }
.article-measure small { font-size: 12px; }
@media (max-width: 760px) {
  .updates-page .release-cover { --side: clamp(20px, 5.6vw, 36px); }
  .updates-page .release-cover .lead {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    min-height: 0;
    padding: 28px 0 0;
  }
  .updates-page .release-cover .lead-copy { width: auto; margin: 0 var(--side); padding: 0; }
  .updates-page .release-cover .lead-copy h1 { font-size: clamp(34px, 7.7vw, 48px); }
  .updates-page .release-cover .lead-copy .hero-names { margin-bottom: 9px; font-size: 12px; }
  .updates-page .release-cover .lead-copy > p:not(.hero-names) { font-size: 15px; }
  .release-ui figure, .release-photo {
    position: relative;
    inset: auto;
    grid-area: 2 / 1;
    width: 100%;
    height: clamp(236px, 64vw, 342px);
  }
  .release-ui figure { display: grid; align-items: end; justify-items: center; padding-bottom: 12px; }
  .release-ui .cover-composition { width: clamp(242px, 71vw, 337px); padding: 0; }
  .release-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 86% center; mask-image: linear-gradient(transparent, black 10%); }
}
@media (min-width: 701px) and (max-width: 760px) {
  .updates-page .release-cover .lead { padding-top: 89px; }
}

@media (max-width: 700px) and (pointer: coarse), (max-height: 500px) and (orientation: landscape) and (pointer: coarse) {
  .updates-page .release-cover { margin-block-start: calc(0px - var(--room-bleed)); background-origin: border-box; }
}

.release-panel .cover-detail {
  display:block;
  aspect-ratio:var(--panel-ratio);
  width:100%;
  border-radius:8px;
  background-size:100% auto;
  background-repeat:no-repeat;
}
.release-panel .glass-box {
  width:min(79%, calc((var(--stage-height) - var(--headroom) - 80px) * var(--panel-ratio)));
}
.release-panel figure { align-self:center; }
@media (max-width:760px) {
  .release-panel figure {height:auto; min-height:180px; padding:10px 0 22px;}
  .release-panel .cover-composition {width:clamp(270px,85vw,410px);}
  .release-panel .glass-box {width:min(77%, calc(217px * var(--panel-ratio)));}
}
