
#track {--intro-art-gap: 16px}

#track :is(#s1, #s2) {
  --slpb: 90px;
  padding-bottom: var(--slpb);
  justify-content: flex-start;
}
#s1 > .inner, #s2 > .inner {height: auto}
#s1 .dtitle {text-align: center}
#s1 .home-hero-media {
  --film-hud-line: 20px;
  --film-button-height: 52px;
  --film-max-width: 100cqw;
  --film-max-height: calc(100cqh - var(--film-hud-line) - var(--film-button-height) - 2 * var(--intro-art-gap));
  --film-width: round(down, min(var(--film-max-width), calc(var(--film-max-height) * 16 / 9)), 2px);
  display: grid;
  container-type: inline-size;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: var(--intro-art-gap);
  width: 100%;
  margin-top: var(--intro-art-gap);
}
#s1 .home-film-slot {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  width: 100%;
}
@media (min-width: 900px) {
  #s1 > .inner {height: 100%}
  #s1 .giant .acc {display: inline-block; margin: 0 0 0 round(nearest, .12em, 2px); font-size: inherit}
  #s1 .home-hero-media {
    flex: 1;
    min-height: 0;
    
    container-type: size;
    grid-template-rows: auto var(--film-button-height) var(--film-hud-line);
    align-content: start;
  }
}
#s1 .filmband {
  z-index: 1;
  width: var(--film-width);
  height: min(round(down, var(--film-max-height), 2px), round(nearest, calc(var(--film-width) * 9 / 16), 2px));
  max-height: none;
  background: #050706;
}
#s1 .home-film-still {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#s1 .filmframe {
  --film-track-grey: #717a75;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  background: #000;
}
#s1 .filmframe:fullscreen .home-film-still {object-fit: contain}
#s1 .filmopen {position: absolute; inset: 0; width: 100%; color: #fff}
#s1 .filmplay {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
}
#s1 .filmplay svg {width: 52px; height: 52px; fill: currentColor}
#s1 .filmframe:fullscreen .filmopen {display: none}
#s1 .fctl {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px 12px;
  background: linear-gradient(180deg, rgba(6,8,7,0), rgba(6,8,7,.88) 46%);
}
#s1 .filmframe :is(.filmopen, .fctl) {opacity: 0; pointer-events: none}
#s1 .filmframe:is(.show-controls, :has(:focus-visible)) :is(.filmopen, .fctl) {opacity: 1}
#s1 .filmframe:is(.show-controls, :has(:focus-visible)) .fctl {pointer-events: auto}
@media (hover: hover) {
  #s1 .filmframe:hover :is(.filmopen, .fctl) {opacity: 1}
  #s1 .filmframe:hover .fctl {pointer-events: auto}
}
#s1 .fbtn {
  width: 32px;
  height: 32px;
  flex: none;
  display: grid;
  place-items: center;
  color: var(--paper);
  border: 0;
}
#s1 .fbtn:enabled:is(:hover, :focus-visible) {color: var(--green)}
#s1 .fbtn:disabled {cursor: default}
#s1 .fbtn svg {width: 16px; height: 16px; fill: currentColor}
#s1 #fmute:not(.is-muted) svg + svg, #s1 #fmute.is-muted svg:first-child {display: none}
#s1 .ftime {font-size: 12px; font-weight: 600; color: var(--grey); flex: none; min-width: 44px; text-align: center}
#s1 .ftrack {display: flex; flex: 1; align-items: center; min-width: 0; height: 28px}
#s1 .fskew {position: relative; display: block; width: 100%; height: 8px; overflow: hidden; background: var(--film-track-grey); transform: skewX(-25deg)}
#s1 .fskew i {position: absolute; inset: 0 auto 0 0; width: 30%; background: var(--green)}
#s1 .fvol {position: relative; display: flex; align-items: center; flex: none; width: 96px; height: 32px}
#s1 .fvol input {position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer}
#s1 .fvol:has(input:focus-visible) {outline: 2px solid var(--paper); outline-offset: 2px}
@media (max-width: 899px) {
  #s1 .lead .home-creativity {display: block}
  #s1 .fctl {gap: 4px; padding: 8px; flex-wrap: nowrap}
  #s1 .fctl .fbtn {width: 44px; height: 44px}
  #s1 .fctl .ftrack {order: 0}
  #s1 .ftime {min-width: 28px}
  #s1 .fvol {width: clamp(52px, 16vw, 96px); height: 44px}
}
#s1 .s1row {
  display: grid;
  grid-template-columns: repeat(2, round(down, calc((100% - 8px) / 2), 2px));
  justify-content: space-between;
  align-self: center;
  width: var(--film-width);
}
#s1 .home-hero-media .hud {
  width: max-content;
  max-width: calc(100vw - 2 * var(--pad));
  margin: 0;
  justify-content: center;
  line-height: var(--film-hud-line);
  text-align: center;
}
#s1 .s1row .btn {
  width: 100%;
  height: var(--film-button-height);
  background: transparent;
  color: var(--paper);
  border-color: var(--btnline);
}

#s2 > .inner {
  --company-gap: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--company-gap);
}
#s2 .dtitle {width: 100%}
#s2 .dtitle .lead {margin-bottom: -4px}
#s2 .company-asset {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--company-gap);
  width: 100%;
  min-height: 0;
  container-type: inline-size;
}
#s2 .home-portrait-slot {
  --portrait-width: round(nearest, calc(min(92cqw, 416px) * .9), 2px);
  display: grid;
  place-items: center;
  width: 100%;
  container-type: inline-size;
}
@media (min-width: 900px) {
  #s2 > .inner {
    --company-gap: 10px;
    grid-template-rows: auto minmax(0, 1fr);
    row-gap: 0;
    height: 100%;
  }
  #s2 .company-asset {justify-content: space-between}
  
  #s2 .company-asset::before {content: ""}
  #s2 .home-portrait-slot {
    
    --portrait-width: round(down, min(82cqw, calc(100cqh * 3840 / 1520)), 2px);
    flex: .8 1 0;
    min-height: 0;
    max-height: round(down, calc(82cqw * 1520 / 3840), 2px);
    container-type: size;
  }
}
#s2 .company-asset-caption {
  width: 100%;
  margin: -4px 0;
  color: var(--grey);
  text-align: center;
  font-size: clamp(18px, round(down, 1.6vw, 2px), 24px);
  line-height: clamp(24px, round(up, 2vw, 2px), 32px);
}
:is(#s2, #s6) {--tile-height: 210px}
#s2 .company-asset-tiles,
#s6 .why-points {width: 100%; grid-template-rows: none}
:is(#s2 .company-asset-tile, #s6 .why-row) {
  --tile-padding-block: 20px;
  --tile-padding-inline: 20px;
  padding-inline-start: var(--content-card-inset);
  display: flex;
  flex-direction: column;
  grid-row: auto;
  min-height: var(--tile-height);
  gap: 12px;
}
:is(#s2 .company-asset-tile, #s6 .why-row) h4 {
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
:is(#s2 .company-asset-tile, #s6 .why-row) h4::before,
:is(#s2 .company-asset-tile, #s6 .why-row) .why-list::after {content: none}
:is(#s2 .company-asset-tile, #s6 .why-row) .why-list {
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: repeat(3, minmax(min-content, 1fr));
  gap: 0;
  margin: 0;
  padding-block: 0;
  border: 0;
}
:is(#s2 .company-asset-tile, #s6 .why-row) .why-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-block: 4px;
  color: var(--grey);
  line-height: 20px;
}
:is(#s2 .company-asset-tile, #s6 .why-row) .why-list li + li {box-shadow: inset 0 1px var(--line)}
:is(#s2 .company-asset-tile, #s6 .why-row) .why-list .dot {top: 50%; transform: translateY(-50%)}
#s2 .company-asset-tile .why-list li > b {color: var(--paper); font-weight: 600; white-space: nowrap}
#s2 .company-asset-tile .why-list li > span {min-width: 0; text-align: right}
@media (min-width: 900px) {
  
  #s2 .dtitle .lead {margin-bottom: -2px}
  #s2 .company-asset-caption {margin-block: -6px -2px}
  :is(#s2 .company-asset-tile, #s6 .why-row) h4 {line-height: 24px}
}
@media (min-width: 900px) and (max-height: 900px) {
  :is(#s2, #s6) {--tile-height: 190px}
}
@media (min-width: 900px) and (max-width: 1199px) {
  :is(#s2 .company-asset-tile, #s6 .why-row) {--tile-padding-inline: 14px}
  :is(#s2 .company-asset-tile, #s6 .why-row) .why-list li {gap: 4px}
}
@media (min-width: 900px) and (max-width: 999px) {
  :is(#s2, #s6) {--tile-height: 202px}
  :is(#s2 .company-asset-tile, #s6 .why-row) {--tile-padding-block: 12px; --tile-padding-inline: 10px; gap: 10px}
}
@media (max-width: 899px) {
  :is(#s2, #s6) {--tile-height: 200px}
}
@media (max-width: 359px) {
  :is(#s2 .company-asset-tile, #s6 .why-row) {--tile-padding-inline: 10px}
  :is(#s2 .company-asset-tile, #s6 .why-row) .why-list li {gap: 4px}
}
@media (min-width: 900px) and (max-height: 900px) {
  #track {--intro-art-gap: 12px}
  #track :is(#s1, #s2) {--slpt: calc(var(--barh) + 30px)}
}
@media (max-width: 899px) {
  #track {--intro-art-gap: 20px}
  #s1 .home-hero-media {
    --film-max-width: min(calc(100cqw + 16px), calc(100vw - 24px));
    --film-max-height: calc(100svh - var(--barh) - var(--xph));
  }
  #s1 .home-hero-media .hud {gap: 8px 16px}
  #s1 :is(.filmband, .s1row) {justify-self: unsafe center}
  #s1 .s1row .btn {padding-inline: 8px}
  #track #s2 {min-height: 0}
}

@media (min-width: 900px) {
  body:has(> .to-top.show) .xpbar {
    --cut-start: var(--home-top-right);
    --cut-end: calc(var(--cut-start) + var(--home-top-size));
    border-image: linear-gradient(to left, var(--line) 0 var(--cut-start),
      transparent var(--cut-start) var(--cut-end), var(--line) var(--cut-end)) 1;
  }
}

#s8 .ps-snapshot {position: relative}
#s8 .ps-snapshot-xp {
  position: absolute;
  top: 96.66%;
  left: 70.40%;
  width: 22.86%;
  height: 1.02%;
  display: flex;
  gap: 2.15%;
  padding: .19% .50% .25%;
  background: #080a09;
  pointer-events: none;
}
#s8 .ps-snapshot-xp i {flex: 1; background: #1e201f; transform: skewX(-25deg)}


#s7 .demo-tier > p {max-width: 520px; min-width: 0}


#s6 .why-story {
  --shaped-text-size: clamp(18px, round(down, min(8px + 1.4vh, 12px + .8vw), 2px), 22px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
#s6 .why-copy .giant .acc {display: block}
#s6 .why-copy .lead {margin: 0 0 28px}
#s6 .why-text {
  --shaped-quote-size: 32px;
  
  --shaped-quote-inset: round(nearest, calc(var(--shaped-quote-size) * .16), 2px);
  --shaped-quote-room: calc(var(--shaped-quote-size) - var(--shaped-quote-inset));
  position: relative;
  display: grid;
  gap: 10px;
  max-width: 46ch;
  padding-top: calc(var(--shaped-quote-room) + 2px);
  color: var(--grey);
  font-size: min(20px, var(--shaped-text-size));
  line-height: calc(1.32 * var(--shaped-text-size));
  text-align: justify;
  hyphens: auto;
}
#s6 .why-text p {margin: 0}
#s6 .why-copy-mark {
  position: absolute;
  inset-inline-start: calc(var(--shaped-quote-size) * -.1);
  inset-block-start: calc(-1 * var(--shaped-quote-inset));
  width: var(--shaped-quote-size);
  height: var(--shaped-quote-size);
  margin: 0;
  pointer-events: none;
}
#s6 .why-playground {text-align: start; text-wrap: pretty}
#s6 .why-photo {
  position: relative;
  width: 100%;
  margin: 0;
  justify-self: end;
}
#s6 .why-photo img {display: block; width: 100%; height: auto}
@media (min-width: 900px) {
  #s6 > .inner {
    --shaped-gap: clamp(12px, round(down, calc((100vh - 620px) / 12), 2px), 24px);
    --shaped-room: calc(var(--slh) - var(--slpt) - 90px);
    height: var(--shaped-room);
    margin-bottom: auto;
    justify-content: flex-start;
  }
  #s6 .why-grid {flex: 1; justify-content: space-between; gap: var(--shaped-gap)}
  #s6 .why-story {
    flex: 1;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) min(44%, 600px);
    align-items: stretch;
    column-gap: clamp(16px, round(down, 1.65vw, 2px), 32px);
  }
  #s6 .why-copy {display: flex; flex-direction: column; min-width: 0}
  #s6 .why-copy .lead {margin-bottom: var(--shaped-lead-gap, 10px)}
  #s6 .why-text {
    --shaped-quote-size: 20px;
    flex: 1;
    min-height: 0;
    align-content: end;
    gap: var(--shaped-paragraph-gap, 4px);
    max-width: none;
    padding-top: var(--shaped-quote-room);
    
    margin-bottom: -4px;
  }
  #s6 .why-photo {
    align-self: end;
    container-type: inline-size;
    --photo-room: calc(var(--shaped-room) - var(--tile-height) - var(--shaped-gap));
    max-width: 640px;
  }
  #s6 .why-photo img {
    height: min(round(down, 96cqw, 2px), var(--photo-room));
    object-fit: cover;
  }
}
@media (min-width: 900px) and (min-height: 821px) {
  #s6 .why-text {--shaped-quote-size: 48px}
}
@media (min-width: 1440px) and (min-height: 1000px) {
  #s6 .why-story {
    --shaped-text-size: 24px;
    grid-template-columns: minmax(0, 1fr) min(44%, 600px, calc(100% - 756px));
  }
  #s6 .why-text {--shaped-quote-size: 56px}
}
@media (min-width: 900px) and (max-width: 1000px) and (min-height: 821px) and (max-height: 960px) {
  #s6 .why-story {grid-template-columns: minmax(0, 5fr) minmax(0, 3fr)}
  #s6 .why-text {--shaped-quote-size: 20px}
}
@media (min-width: 1081px) and (max-height: 820px) {
  #s6 .why-story {
    grid-template-columns: minmax(min(66%, calc(35.5 * var(--shaped-text-size))), 7fr) minmax(0, 6fr);
  }
}
@media (min-width: 900px) and (max-width: 1080px) and (max-height: 820px) {
  #s6 .why-story {grid-template-columns: minmax(min(82%, calc(34.5 * var(--shaped-text-size))), 7fr) minmax(0, 6fr)}
}
@media (min-width: 900px) and (max-width: 1080px) and (max-height: 780px) {
  #s6 {--tile-height: 174px}
}
@media (min-width: 900px) and (max-height: 700px) {
  #s6 {--tile-height: clamp(154px, round(down, calc(100vh - 496px), 2px), 190px)}
  #s6 .why-row {--tile-padding-block: 10px; gap: 8px}
  #s6 .why-row .why-list {display: flex}
  #s6 .why-row .why-list li {flex: 1 1 auto; padding-block: 2px}
}
@media (min-width: 900px) and (max-width: 1080px) and (max-height: 660px) {
  #s6 > .inner {--shaped-gap: 4px}
  #s6 {--tile-height: 152px}
  #s6 .why-row {--tile-padding-block: 6px; gap: 4px}
}
@media (max-width: 899px) {
  #s6 .why-story {--shaped-text-size: 18px; gap: 16px}
  #s6 .why-grid {gap: 20px}
  #s6 .why-photo {max-width: 600px; justify-self: start}
}
