/* Establish the platform before introducing an application built on it. */
.story-page .home-hero {
  padding-block: 44px 34px;
  text-align: center;
}
.story-page .home-hero h1 {
  max-width: 920px;
  margin-inline: auto;
  font-size: clamp(46px, 5.4vw, 80px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.055em;
}
.story-page .home-hero p {
  max-width: 740px;
  margin: 22px auto 0;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.55;
  text-wrap: balance;
}
.home-hero-action {
  gap: 20px;
  margin-top: 23px;
}
.home-hero-action svg { width: 20px; height: 20px; }
.home-platform-art { overflow: hidden; }
.home-platform-art img {
  display: block;
  width: 100%;
  aspect-ratio: 2.85;
  height: auto;
  object-fit: cover;
  object-position: center 58%;
}
.home-runtime { scroll-margin-top: 8px; }
.home-runtime:focus { outline: none; }
.home-story { padding-bottom: 40px; }
.home-story-copy { border-top: 1px solid var(--line); }
.home-workspace-stage {
  padding: 46px 46px 0;
  overflow: hidden;
  background: linear-gradient(115deg, #071d2e 0%, #15394f 65%, #536467 88%, #8a7351 100%);
}
.home-workspace-stage picture { display: block; box-shadow: 0 22px 65px #03131e80; }
.home-workspace-stage img {
  display: block;
  width: 100%;
  height: auto;
}
.home-workspace figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 54px;
  color: var(--mid);
  font-size: 12px;
  line-height: 1.5;
}
.home-enlarge { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); min-height: 44px; }
.home-enlarge:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-enlarge svg { width: 17px; height: 17px; }
.home-story-copy {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: start;
  gap: 80px;
  padding-block: 48px 36px;
}
.story-page .home-story-copy h2 { font-size: clamp(34px, 3.5vw, 50px); }
.story-page .home-story-copy p { max-width: 510px; font-size: 21px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.home-story-copy .s-link { margin-top: 21px; }
.home-viewer {
  width: min(1500px, calc(100vw - 40px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  padding: 0;
  margin: auto;
  border: 1px solid #465365;
  border-radius: 0;
  background: #0d1f2d;
  color: #fff;
}
.home-viewer::backdrop { background: #071018dd; }
.home-viewer-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 20px; }
.home-viewer-bar h2 { font: 500 15px/1.4 var(--sans); margin: 0; }
.home-viewer-close { min-height: 44px; padding: 8px 16px; border: 1px solid #8a98a6; color: #fff; background: none; font: 500 14px/1.4 var(--sans); cursor: pointer; }
.home-viewer-close:hover { background: #243e52; }
.home-viewer-image { overflow: auto; max-height: calc(100dvh - 120px); }
.home-viewer-image img { display: block; width: 100%; min-width: 1020px; height: auto; }
@media (max-width: 1100px) {
  .home-workspace-stage { padding: 30px 30px 0; }
  .home-story-copy { gap: 36px; }
}
@media (max-width: 680px) {
  .story-page .home-hero { padding-block: 40px 32px; }
  .story-page .home-hero h1 { font-size: clamp(36px, 10.5vw, 48px); letter-spacing: -.05em; }
  .story-page .home-hero p { font-size: 17px; margin-top: 22px; max-width: 360px; }
  .home-hero-action { margin-top: 24px; }
  .home-platform-art img { aspect-ratio: 1.35; object-position: 58% center; }
  .home-story { padding-bottom: 0; }
  .home-workspace-stage { padding: 24px 16px; }
  .home-workspace-stage img { aspect-ratio: 710 / 524; }
  .home-workspace figcaption { font-size: 11px; gap: 10px; }
  .home-story-copy { grid-template-columns: 1fr; gap: 24px; padding-block: 34px 28px; }
  .story-page .home-story-copy h2 { font-size: 36px; }
  .story-page .home-story-copy p { font-size: 19px; }
  .home-viewer { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); }
  .home-viewer-bar { padding: 8px 12px; }
}
