@font-face {
  font-family: Super;
  src: url(super.ttf);
}
:root {
  --page: #f5f3ed;
  --ink: #20292a;
  --accent: #ff5c35;
  --muted: #55615d;
  --line: #20292a25;
  --panel: #e8e8df;
  --card: #fff;
  --shadow: #18201e25;
}
html[data-theme="dark"] {
  --page: #0e1516;
  --ink: #f6f4ef;
  --muted: #9aa3a3;
  --line: #ffffff25;
  --panel: #202829;
  --card: #1d2627;
  --shadow: #0007;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Arial, sans-serif;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #398bd6;
  outline-offset: 4px;
}
.skip {
  position: fixed;
  top: -100px;
  z-index: 99;
  padding: 15px;
  background: var(--card);
}
.skip:focus {
  top: 0;
}
header {
  height: 84px;
  position: fixed;
  inset: 0 0 auto;
  background: var(--page);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 18px 5%;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font:
    23px Super,
    sans-serif;
}
.brand img {
  width: 37px;
  height: 37px;
  border-radius: 50%;
}
.header-label {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
  margin-left: auto;
}
.tools {
  display: flex;
  gap: 8px;
}
.tools button,
.cta {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 12px 17px;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  min-height: 44px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--muted);
}
.story {
  position: relative;
  height: 600svh;
  margin-top: 84px;
}
.stage {
  position: sticky;
  top: 84px;
  height: calc(100svh - 84px);
  min-height: 570px;
  overflow: hidden;
  isolation: isolate;
}
.chapter-copy {
  position: absolute;
  left: 7%;
  top: 19%;
  width: 35%;
  z-index: 8;
  pointer-events: none;
}
h1,
h2 {
  font-family: Super, Arial;
  line-height: 0.96;
  letter-spacing: -2px;
  margin: 20px 0;
}
h1 {
  font-size: clamp(45px, 5.7vw, 86px);
}
.chapter-copy > p {
  font-size: 17px;
  line-height: 1.6;
  max-width: 340px;
  color: var(--muted);
  margin: 25px 0;
}
.chapter-tag {
  font-size: 10px;
  line-height: 1.5;
  display: inline-block;
  border-left: 3px solid var(--accent);
  padding-left: 10px;
  max-width: 320px;
  color: var(--muted);
}
.world {
  position: absolute;
  inset: 0 0 0 40%;
  perspective: 1200px;
  transform-style: preserve-3d;
}
.halo {
  position: absolute;
  width: 560px;
  height: 560px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.12;
}
.orbit {
  position: absolute;
  left: 11%;
  right: 11%;
  top: 21%;
  bottom: 21%;
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: rotate(-30deg);
}
.phone {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 246px;
  aspect-ratio: 390/844;
  border: 7px solid #182322;
  border-radius: 36px;
  overflow: hidden;
  background: var(--page);
  box-shadow: 20px 30px 50px var(--shadow);
  transform: translate(-50%, -50%) rotateY(-15deg) rotateZ(4deg);
  opacity: 0;
  transform-origin: center;
  z-index: 5;
  will-change: transform, opacity;
}
.speaker {
  position: absolute;
  z-index: 4;
  top: 5px;
  width: 28%;
  height: 9px;
  background: #111;
  border-radius: 20px;
  left: 36%;
}
.screen-stage {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.app-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--page);
  opacity: 0;
  transition: opacity 0.3s;
}
.app-screen.active {
  opacity: 1;
}
.screen-await {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background: var(--panel);
  font: 20px Super;
}
.screen-await span {
  font-size: 11px;
  color: var(--accent);
}
.screen-await p {
  line-height: 1.4;
}
.bubble {
  position: absolute;
  padding: 20px 25px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 14px 32px var(--shadow);
  font-size: 16px;
  z-index: 6;
  max-width: 310px;
}
.bubble small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 8px;
}
.b1 {
  left: 10%;
  top: 18%;
  background: var(--accent);
  color: #20292a;
  transform: rotate(-7deg);
}
.b2 {
  right: 7%;
  top: 34%;
  transform: rotate(5deg);
}
.b3 {
  left: 12%;
  top: 48%;
  transform: rotate(-5deg);
}
.b4 {
  right: 14%;
  top: 63%;
  transform: rotate(8deg);
}
.b5 {
  left: 13%;
  top: 76%;
  transform: rotate(-3deg);
}
.scene-label {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 13%;
  z-index: 9;
  text-align: center;
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
}
.bottom-bar {
  position: absolute;
  bottom: 25px;
  left: 7%;
  right: 7%;
  z-index: 15;
}
.progress {
  height: 2px;
  background: var(--line);
  margin-bottom: 17px;
}
.progress i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
}
.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
#hint {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--muted);
}
.controls nav {
  display: flex;
  gap: 6px;
}
.controls button {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--page);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 10px;
}
.controls button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--page);
}
.travel,
.calendar,
.jersey-world {
  position: absolute;
  inset: 0;
  z-index: 7;
  opacity: 0;
  pointer-events: none;
}
.globe {
  position: absolute;
  left: 3%;
  top: 23%;
  width: 155px;
  height: 155px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 24px Super;
  line-height: 1.1;
  background: var(--page);
  transform: rotate(-12deg);
}
.globe:before,
.globe:after {
  content: "";
  position: absolute;
  inset: 0 20%;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.globe:after {
  inset: 20% 0;
}
.globe span {
  z-index: 1;
  text-align: center;
  background: var(--page);
}
.plane {
  position: absolute;
  left: 23%;
  top: 18%;
  font: 70px Super;
  color: var(--accent);
}
.ticket {
  position: absolute;
  right: 2%;
  bottom: 25%;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 20px;
  font: 20px Super;
  transform: rotate(8deg);
  box-shadow: 0 10px 25px var(--shadow);
}
.ticket b {
  color: var(--accent);
}
.day {
  position: absolute;
  width: 140px;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 18px;
  text-align: center;
  border-radius: 14px;
  box-shadow: 0 15px 30px var(--shadow);
}
.day span {
  display: block;
  font-size: 9px;
  letter-spacing: 1px;
}
.day b {
  font: 50px Super;
  display: block;
  margin: 10px 0;
}
.day small {
  font-size: 10px;
}
.day.old {
  left: 3%;
  top: 24%;
  transform: rotate(-12deg);
}
.day.old b {
  text-decoration: line-through;
  text-decoration-color: var(--accent);
}
.day.new {
  right: 2%;
  bottom: 24%;
  background: var(--accent);
  color: #20292a;
  transform: rotate(9deg);
}
.jersey-world {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  padding: 0 5%;
  z-index: 8;
}
.team {
  width: 43%;
  padding: 25px 15px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 24px;
  box-shadow: 0 15px 30px var(--shadow);
}
.team-name {
  display: block;
  font: 17px Super;
  text-align: center;
  margin-bottom: 25px;
}
.players {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.player svg {
  width: 100%;
  display: block;
  filter: drop-shadow(0 5px 4px #0002);
}
.player {
  transition: transform 0.6s;
}
.player span {
  display: block;
  text-align: center;
  font-size: 8px;
  margin-top: 5px;
  color: var(--muted);
}
.team-a {
  color: var(--accent);
  transform: rotate(-6deg);
}
.team-b {
  color: #fff;
  transform: rotate(6deg);
}
.team-b .team-name {
  color: var(--ink);
}
.jersey-world > p {
  position: absolute;
  bottom: 15%;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
  color: var(--muted);
  left: 10%;
  right: 10%;
}
.close {
  text-align: center;
  padding: 120px 7%;
}
.close h2 {
  font-size: clamp(48px, 7vw, 105px);
}
em {
  font-style: normal;
  color: var(--accent);
}
.close p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}
.close .cta {
  background: var(--ink);
  color: var(--page);
  padding: 18px 28px;
  margin-top: 18px;
}
.review-notes {
  padding: 70px 7%;
  border-top: 1px solid var(--line);
}
.review-notes h2 {
  font-size: 35px;
  letter-spacing: -1px;
}
.storyline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 40px 0;
}
.storyline div {
  border-top: 2px solid var(--accent);
  padding-top: 20px;
}
.storyline b {
  display: block;
  font: 20px Super;
  margin-bottom: 12px;
}
.storyline span {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
details {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
summary {
  color: var(--ink);
  font-weight: bold;
  cursor: pointer;
}
footer {
  padding: 30px 7%;
  border-top: 1px solid var(--line);
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.motion-off * {
  transition: none !important;
}
.motion-off .phone {
  will-change: auto;
}
@media (max-width: 750px) {
  header {
    height: 72px;
    padding: 12px 4%;
    gap: 10px;
  }
  .brand {
    font-size: 16px;
    gap: 7px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .header-label {
    display: none;
  }
  .tools {
    margin-left: auto;
    gap: 5px;
  }
  .tools button {
    font-size: 9px;
    padding: 8px 9px;
    min-height: 40px;
  }
  .story {
    margin-top: 72px;
    height: 600svh;
  }
  .stage {
    top: 72px;
    height: calc(100svh - 72px);
    min-height: 620px;
  }
  .chapter-copy {
    left: 7%;
    top: 5%;
    width: 86%;
  }
  h1 {
    font-size: 38px;
    letter-spacing: -1px;
    margin: 10px 0;
    line-height: 0.95;
  }
  .chapter-copy > p {
    font-size: 13px;
    max-width: 300px;
    margin: 12px 0;
  }
  .eyebrow {
    font-size: 8px;
  }
  .chapter-tag {
    font-size: 8px;
    max-width: 300px;
  }
  .world {
    inset: 32% 0 8%;
  }
  .phone {
    width: 164px;
    border-width: 4px;
    border-radius: 24px;
    top: 48%;
    box-shadow: 10px 15px 25px var(--shadow);
  }
  .halo {
    width: 330px;
    height: 330px;
    top: 45%;
  }
  .orbit {
    inset: 15% 8%;
  }
  .speaker {
    height: 5px;
    top: 3px;
  }
  .bubble {
    padding: 12px 15px;
    font-size: 12px;
    border-radius: 13px;
    max-width: 215px;
  }
  .bubble small {
    font-size: 8px;
    margin-top: 5px;
  }
  .b1 {
    top: 10%;
    left: 5%;
  }
  .b2 {
    top: 26%;
    right: 5%;
  }
  .b3 {
    top: 43%;
    left: 7%;
  }
  .b4 {
    top: 58%;
    right: 6%;
  }
  .b5 {
    top: 76%;
    left: 7%;
  }
  .bottom-bar {
    bottom: 16px;
    left: 5%;
    right: 5%;
  }
  .controls {
    flex-direction: column;
    gap: 8px;
  }
  .controls nav {
    gap: 5px;
  }
  .controls button {
    width: 33px;
    height: 33px;
    font-size: 9px;
  }
  #hint {
    font-size: 7px;
  }
  .progress {
    margin-bottom: 10px;
  }
  .scene-label {
    font-size: 7px;
    bottom: 2%;
    left: 7%;
    right: 7%;
  }
  .globe {
    width: 100px;
    height: 100px;
    left: 3%;
    top: 20%;
    font-size: 17px;
  }
  .plane {
    left: 25%;
    top: 6%;
    font-size: 42px;
  }
  .ticket {
    font-size: 14px;
    padding: 12px;
    right: 1%;
    bottom: 16%;
  }
  .day {
    width: 90px;
    padding: 12px;
  }
  .day b {
    font-size: 34px;
  }
  .day span {
    font-size: 7px;
  }
  .day small {
    font-size: 8px;
  }
  .day.old {
    left: 2%;
    top: 18%;
  }
  .day.new {
    right: 2%;
    bottom: 18%;
  }
  .jersey-world {
    gap: 15px;
    padding: 0 7%;
  }
  .team {
    padding: 18px 10px;
    border-radius: 15px;
  }
  .team-name {
    font-size: 13px;
    margin-bottom: 15px;
  }
  .players {
    gap: 12px;
  }
  .player span {
    font-size: 7px;
  }
  .jersey-world > p {
    bottom: 2%;
    font-size: 8px;
  }
  .close {
    padding: 80px 7%;
  }
  .close h2 {
    font-size: 43px;
    letter-spacing: -1px;
  }
  .close p:not(.eyebrow) {
    font-size: 15px;
  }
  .storyline {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .review-notes {
    padding: 50px 7%;
  }
  .review-notes h2 {
    font-size: 30px;
  }
  footer {
    font-size: 8px;
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

.app-mock.source-render {
  padding: 0;
  overflow: hidden;
}
.source-render iframe {
  width: 390px;
  height: 844px;
  border: 0;
  transform: scale(0.595);
  transform-origin: top left;
  pointer-events: none;
}
@media (max-width: 750px) {
  .source-render iframe {
    transform: scale(0.4);
  }
}

.chapter-copy .scene-label {
  position: static;
  text-align: left;
  font-size: 9px;
  line-height: 1.5;
  max-width: 310px;
  margin-top: 12px;
}
.chapter-copy .scene-label:empty {
  display: none;
}
@media (max-width: 750px) {
  .chapter-copy .scene-label {
    font-size: 7px;
    margin-top: 6px;
  }
}

/* Each problem and its relevant app view remain visible together. */
.problem-panel {
  position: absolute;
  left: 1%;
  top: 28%;
  width: 37%;
  z-index: 8;
}
.pair-label,
.solution-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--muted);
}
.problem-panel h3 {
  font: 24px Super;
  margin: 14px 0 20px;
  line-height: 1.05;
}
.problem-message {
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 14px;
  margin: 10px 0;
  font-size: 12px;
  line-height: 1.5;
  box-shadow: 0 8px 24px var(--shadow);
}
.problem-message:nth-of-type(2) {
  transform: rotate(-3deg);
}
.problem-message:nth-of-type(3) {
  transform: rotate(2deg);
}
.pair-arrow {
  display: block;
  text-align: right;
  font-size: 36px;
  color: var(--accent);
  margin-top: 4px;
}
.world .phone {
  left: 72%;
  top: 48%;
}
.solution-label {
  position: absolute;
  top: 7%;
  left: 48%;
  right: 3%;
  text-align: center;
}
.world .halo {
  left: 64%;
  width: 480px;
  height: 480px;
}
.world .orbit {
  display: none;
}
.chats,
.travel,
.calendar,
.jersey-world {
  display: none !important;
}
.split-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 15px 0;
}
.split-demo > div {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 5px;
  text-align: center;
  background: var(--card);
}
.split-demo b {
  font-size: 8px;
}
.split-demo span {
  display: block;
  color: var(--accent);
  font-size: 23px;
  line-height: 1.9;
}
.split-demo > div + div span {
  color: #fff;
  text-shadow:
    0 0 2px #20292a,
    1px 1px #20292a;
}
.chapter-copy h1 {
  font-size: clamp(42px, 5.1vw, 74px);
}
@media (max-width: 750px) {
  .problem-panel {
    left: 5%;
    top: 20%;
    width: 38%;
  }
  .problem-panel h3 {
    font-size: 17px;
    margin: 10px 0 13px;
  }
  .problem-message {
    font-size: 9px;
    padding: 10px 9px;
    margin: 9px 0;
    border-radius: 10px;
  }
  .pair-label,
  .solution-label {
    font-size: 7px;
    letter-spacing: 0.7px;
  }
  .solution-label {
    top: 0;
    left: 48%;
    right: 3%;
  }
  .world .phone {
    left: 73%;
    top: 48%;
  }
  .pair-arrow {
    font-size: 27px;
  }
  .chapter-copy h1 {
    font-size: 35px;
  }
  .split-demo {
    gap: 4px;
    margin: 10px 0;
  }
  .split-demo > div {
    padding: 8px 3px;
    border-radius: 8px;
  }
  .split-demo span {
    font-size: 15px;
  }
  .split-demo b {
    font-size: 6px;
  }
}

.split-demo span {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 10px;
}
.split-demo svg {
  width: 100%;
  height: auto;
}

/* Motion direction: eight sporting beats, not one repeated transition. */
.sport-grid {
  position: absolute;
  inset: 14% 2% 15%;
  opacity: 0.14;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 45px 45px;
  transform: perspective(700px) rotateX(52deg) rotateZ(-14deg);
  mask-image: radial-gradient(ellipse, #000, transparent 70%);
}
.motion-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  color: var(--accent);
}
.motion-art > div,
.motion-art > svg {
  position: absolute;
  opacity: 0;
  transition: opacity 0.5s;
}
.world .phone {
  box-shadow:
    18px 30px 0 -8px var(--line),
    25px 40px 65px var(--shadow);
  transition: opacity 0.35s;
}
.problem-message {
  transform-origin: right center;
}
.problem-panel {
  perspective: 800px;
}
.problem-message:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
}
.problem-panel h3 {
  font-size: 21px;
}
.pair-arrow {
  animation: arrow-run 2.4s ease-in-out infinite;
}
.world .halo {
  opacity: 0.075;
}
body[data-scene="chat"] .problem-message {
  animation: chat-chaos 4.5s ease-in-out infinite;
}
.problem-message:nth-of-type(2) {
  animation-delay: -1.5s !important;
}
.problem-message:nth-of-type(3) {
  animation-delay: -3s !important;
}
.speed-lines {
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.speed-lines i {
  height: 2px;
  width: 160px;
  background: linear-gradient(90deg, transparent, var(--accent));
  animation: speed-pass 2.8s ease-in-out infinite;
  opacity: 0;
}
.speed-lines i:nth-child(2) {
  animation-delay: 0.4s;
  width: 100px;
}
.speed-lines i:nth-child(3) {
  animation-delay: 0.8s;
  width: 220px;
}
body[data-scene="chat"] .speed-lines {
  opacity: 0.8;
}
.roster-orbit {
  width: 390px;
  height: 390px;
  border: 1px dashed var(--accent);
  border-radius: 50%;
  top: 19%;
  left: 30%;
  animation: orbit-spin 24s linear infinite;
}
.roster-orbit i {
  position: absolute;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: var(--accent);
  color: #20292a;
  font: 13px Super;
  font-style: normal;
  border: 4px solid var(--page);
  animation: orbit-spin 24s linear infinite reverse;
}
.roster-orbit i:nth-child(1) {
  top: -20px;
  left: 175px;
}
.roster-orbit i:nth-child(2) {
  top: 92px;
  right: -6px;
}
.roster-orbit i:nth-child(3) {
  bottom: 20px;
  right: 45px;
}
.roster-orbit i:nth-child(4) {
  bottom: 20px;
  left: 45px;
}
.roster-orbit i:nth-child(5) {
  top: 92px;
  left: -6px;
}
body[data-scene="roster"] .roster-orbit {
  opacity: 0.7;
}
body[data-scene="roster"] .problem-message {
  animation: roster-align 4s ease-in-out infinite;
}
.jersey-flight {
  inset: 15% 2% 18% 38%;
}
.jersey-flight i {
  position: absolute;
  display: grid;
  place-items: center;
  width: 62px;
  height: 68px;
  font: 24px Super;
  font-style: normal;
  clip-path: polygon(
    28% 0,
    40% 10%,
    60% 10%,
    72% 0,
    100% 23%,
    85% 40%,
    75% 30%,
    75% 100%,
    25% 100%,
    25% 30%,
    15% 40%,
    0 23%
  );
  filter: drop-shadow(0 5px 10px #0002);
  animation: jersey-split 4.6s ease-in-out infinite;
}
.jersey-flight .orange {
  background: var(--accent);
  color: #20292a;
  left: 0;
  --dx: -35px;
}
.jersey-flight .white {
  background: #fff;
  color: #20292a;
  right: 0;
  --dx: 35px;
}
.jersey-flight i:nth-child(n + 3) {
  bottom: 0;
  animation-delay: -0.5s;
}
body[data-scene="jerseys"] .jersey-flight {
  opacity: 0.8;
}
body[data-scene="jerseys"] .split-demo > div:first-child {
  animation: split-left 4.6s ease-in-out infinite;
}
body[data-scene="jerseys"] .split-demo > div:last-child {
  animation: split-right 4.6s ease-in-out infinite;
}
.travel-map {
  width: 100%;
  height: 90%;
  left: 10%;
  top: 3%;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  opacity: 0;
}
.travel-map path {
  stroke-width: 2;
  stroke-dasharray: 6 8;
}
.travel-map .flight-dot {
  fill: var(--accent);
  stroke-width: 8;
  stroke: var(--page);
}
body[data-scene="travel"] .travel-map {
  opacity: 0.4;
}
body[data-scene="travel"] .problem-message {
  animation: new-city 5s ease-in-out infinite;
}
.calendar-flip {
  left: 37%;
  top: 20%;
  width: 100px;
  height: 70%;
  perspective: 500px;
}
.calendar-flip i {
  display: block;
  width: 90px;
  padding: 25px 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 10px solid var(--accent);
  border-radius: 8px;
  font: 28px Super;
  font-style: normal;
  text-align: center;
  box-shadow: 0 10px 20px var(--shadow);
  animation: calendar-turn 5s ease-in-out infinite;
}
.calendar-flip i + i {
  margin-top: 30px;
  background: var(--accent);
  color: #20292a;
  animation-delay: -2.5s;
}
.calendar-flip b {
  position: absolute;
  bottom: 4%;
  font-size: 8px;
  letter-spacing: 2px;
}
body[data-scene="schedule"] .calendar-flip {
  opacity: 0.85;
}
@keyframes chat-chaos {
  0%,
  100% {
    transform: translate(0, 0) rotate(-2deg);
  }
  35% {
    transform: translate(-13px, -7px) rotate(-6deg);
  }
  70% {
    transform: translate(10px, 5px) rotate(3deg);
  }
}
@keyframes arrow-run {
  0%,
  100% {
    transform: translateX(-6px);
    opacity: 0.4;
  }
  50% {
    transform: translateX(12px);
    opacity: 1;
  }
}
@keyframes speed-pass {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  85%,
  100% {
    transform: translateX(450px);
    opacity: 0;
  }
}
@keyframes orbit-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes roster-align {
  0%,
  100% {
    transform: translateX(-8px);
    border-color: var(--line);
  }
  50% {
    transform: translateX(0);
    border-color: var(--accent);
  }
}
@keyframes jersey-split {
  0%,
  100% {
    transform: translateX(0) rotate(0);
  }
  50% {
    transform: translateX(var(--dx)) rotate(8deg);
  }
}
@keyframes split-left {
  0%,
  100% {
    transform: translateX(5px);
  }
  50% {
    transform: translateX(-3px);
  }
}
@keyframes split-right {
  0%,
  100% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(3px);
  }
}
@keyframes new-city {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}
@keyframes calendar-turn {
  0%,
  100% {
    transform: rotateX(0) rotate(-8deg);
  }
  45% {
    transform: rotateX(25deg) rotate(8deg);
  }
  65% {
    transform: rotateX(-10deg) rotate(2deg);
  }
}
.motion-off *,
.motion-off *:before,
.motion-off *:after {
  animation-play-state: paused !important;
}
.motion-off .problem-message,
.motion-off .pair-arrow,
.motion-off .split-demo > div {
  animation: none !important;
  transform: none !important;
}
@media (max-width: 750px) {
  .motion-art {
    transform: scale(0.65);
    transform-origin: 60% 45%;
    inset: -15% -25% -15% -25%;
  }
  .problem-panel h3 {
    font-size: 15px;
  }
  .problem-message {
    font-size: 9px;
  }
  .world .phone {
    box-shadow:
      10px 18px 0 -6px var(--line),
      15px 20px 35px var(--shadow);
  }
  .sport-grid {
    inset: 0;
    opacity: 0.1;
  }
  .problem-panel {
    z-index: 9;
  }
  .problem-message:before {
    width: 4px;
    height: 4px;
    margin-right: 5px;
  }
}
@media (max-width: 750px) and (max-height: 740px) {
  .stage {
    min-height: 0;
  }
  .chapter-copy {
    top: 3%;
  }
  .chapter-copy h1 {
    font-size: 29px;
    margin: 8px 0;
  }
  .chapter-copy > p {
    font-size: 11px;
    line-height: 1.4;
    margin: 8px 0;
  }
  .chapter-tag {
    font-size: 7px;
  }
  .chapter-copy .scene-label {
    font-size: 6px;
    max-width: 310px;
    margin-top: 4px;
  }
  .world {
    inset: 39% 0 13%;
  }
  .world .phone {
    width: 128px;
    border-radius: 20px;
    top: 51%;
  }
  .source-render iframe {
    transform: scale(0.3076923);
  }
  .solution-label {
    top: -12px;
    font-size: 6px;
  }
  .problem-panel {
    top: 8%;
    width: 40%;
  }
  .problem-panel h3 {
    font-size: 12px;
    margin: 8px 0;
  }
  .problem-message {
    font-size: 8px;
    padding: 8px;
    margin: 7px 0;
  }
  .pair-arrow {
    font-size: 20px;
  }
  .app-mock {
    padding: 10px 7px 32px;
  }
  .app-status {
    margin-bottom: 8px;
  }
  .app-mock h3 {
    font-size: 16px;
    margin: 4px 0 8px;
  }
  .app-card {
    padding: 6px;
    margin: 5px 0;
  }
  .app-card h4 {
    font-size: 10px;
  }
  .app-row {
    padding: 4px 0;
  }
  .app-action {
    padding: 5px;
  }
  .app-pill-row {
    margin: 5px 0;
  }
  .mini-pitch {
    height: 30px;
  }
  .split-demo span {
    margin-top: 5px;
  }
}
/* Keep long display headings inside the editorial column at laptop widths. */
@media (min-width: 751px) {
  .chapter-copy {
    width: 30%;
    left: 6%;
  }
  .chapter-copy h1 {
    font-size: clamp(28px, 4.05vw, 62px);
    letter-spacing: -1.4px;
    overflow-wrap: normal;
  }
  .chapter-copy > p {
    font-size: 15px;
    max-width: 100%;
  }
  .chapter-tag,
  .chapter-copy .scene-label {
    max-width: 100%;
  }
  .problem-panel {
    left: 4%;
    width: 34%;
  }
  .problem-panel h3 {
    font-size: 19px;
  }
}

.source-render > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.close .access-actions,
footer nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.close a,
footer a {
  color: inherit;
}
.close .cta {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
footer {
  gap: 1.25rem;
  flex-wrap: wrap;
}

.access-actions [data-store="false"] { display: none; }
