/* Second direction: a living typographic entrance and a continuous portrait story. */
:root {
  --portal-bg: #08090d;
  --scene-progress: 0;
}
html.intro-locked,
html.intro-locked body {
  overflow: hidden;
  overscroll-behavior: none;
}
html {
  scrollbar-gutter: stable;
}
body {
  background: var(--portal-bg);
}
[hidden] {
  display: none !important;
}
#pixel-atmosphere {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}
.site-header {
  position: absolute;
  width: 100%;
  height: 82px;
  background: transparent;
  border: 0;
  z-index: 30;
}
.site-header .wordmark {
  font-size: 24px;
}
.site-nav a {
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
main,
.site-footer {
  position: relative;
}
.portal {
  isolation: isolate;
  position: relative;
  min-height: 740px;
  height: 100svh;
  overflow: hidden;
  background: radial-gradient(ellipse at 68% 53%, #11122266, transparent 62%);
}
.portal-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(#77779908 1px, transparent 1px),
    linear-gradient(90deg, #77779908 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse, black, transparent 80%);
}
#portal-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}
.portal-heading {
  position: absolute;
  top: 27%;
  left: var(--gutter);
  z-index: 4;
  pointer-events: none;
  transition: transform 1.5s var(--ease-out);
}
.portal-heading .kicker {
  font-size: 10px;
  letter-spacing: 0.17em;
  margin-bottom: 34px;
}
.portal-heading h1 {
  font: 700 clamp(64px, 8.3vw, 155px)/0.96 var(--font-display);
  letter-spacing: -0.075em;
  margin: 0;
  text-wrap: initial;
}
.portal-heading h1 > .hero-word--outline {
  color: transparent;
  -webkit-text-stroke: 1px #f4efe6a8;
  font-size: 0.71em;
  letter-spacing: -0.06em;
}
.portal-description {
  max-width: 270px;
  font-size: 15px;
  line-height: 1.65;
  color: #b4b2bd;
  margin: 30px 0 0;
}
.portal-coordinate {
  position: absolute;
  right: var(--gutter);
  top: 135px;
  color: #9692a5;
  font: 9px/1.8 var(--font-mono);
  letter-spacing: 0.14em;
  text-align: right;
  z-index: 5;
}
.portal-orbit {
  position: absolute;
  width: 170px;
  height: 170px;
  border: 1px solid #c0bfd722;
  border-radius: 50%;
  left: 45%;
  top: 14%;
  transform: rotate(-22deg);
  pointer-events: none;
  opacity: 0.7;
}
.portal-orbit:after {
  content: "+";
  font: 200 45px var(--font-body);
  color: #8d96c5;
  position: absolute;
  top: 42px;
  left: 65px;
}
.portal-orbit span {
  position: absolute;
  bottom: 25px;
  left: 24px;
  font: 7px var(--font-mono);
  letter-spacing: 0.05em;
}
.portal-monitor {
  position: absolute;
  width: min(31vw, 450px);
  right: 13%;
  top: 15%;
  padding: 12px;
  border: 1px solid #757588;
  background: linear-gradient(
    130deg,
    #242632,
    #101118 24%,
    #08090e 70%,
    #2b2d3b
  );
  border-radius: 14px;
  box-shadow:
    0 0 0 5px #0c0d1280,
    0 30px 100px #0009,
    0 0 90px #536be919;
  z-index: 2;
  transform: perspective(1400px) rotateY(-9deg) rotateX(3deg);
}
.monitor-top,
.monitor-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font: 10px/1.4 var(--font-mono);
  letter-spacing: 0.1em;
  color: #a4a7bb;
  padding: 5px 5px 12px;
  white-space: nowrap;
}
.monitor-top > span,
.monitor-bottom > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.monitor-top > .signal-dot,
.monitor-bottom > span:last-child {
  flex: none;
}
.monitor-bottom {
  padding: 12px 5px 4px;
}
.monitor-pixels {
  font-size: 14px;
  color: var(--coral);
}
.signal-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 10px #ff808080;
}
.monitor-screen {
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  background: #11121c;
  border: 1px solid #343744;
  border-radius: 3px;
}
.monitor-screen img,
.monitor-screen video {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}
.monitor-screen video {
  opacity: 0;
}
.monitor-screen video.is-playing {
  opacity: 1;
}
.monitor-scan {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 3px, #0001 3px 4px);
  opacity: 0.4;
}
.monitor-reticle {
  position: absolute;
  inset: 12px;
  border: 1px solid #ffffff10;
}
.js .portal-monitor {
  opacity: 0;
  transform: perspective(1400px) rotateY(-24deg) rotateX(8deg) scale(0.82);
  transition:
    opacity 1.3s,
    transform 2.2s var(--ease-out);
}
.js .portal.is-revealing .portal-monitor,
.js .portal.is-open .portal-monitor {
  opacity: 1;
  transform: perspective(1400px) rotateY(-9deg) rotateX(3deg) scale(1);
}
.portal.is-open .portal-heading {
  transform: translateY(-15px);
}
.portal.is-open .portal-orbit {
  opacity: 0.2;
}
.portal-bottom {
  position: absolute;
  bottom: 38px;
  left: var(--gutter);
  right: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 25px;
  z-index: 6;
}
.portal-caption {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font: 11px var(--font-mono);
  color: #a6a4b5;
}
.tiny-label {
  font: 10px/1.6 var(--font-mono);
  letter-spacing: 0.14em;
  color: #777887;
}
.portal-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
#enter-experience {
  min-width: 210px;
  height: 60px;
  font-size: 14px;
  box-shadow: 0 0 45px #ff80801a;
}
#enter-experience[aria-disabled="true"] {
  cursor: progress;
}
.portal-scroll {
  font: 12px var(--font-mono);
  text-decoration: none;
  display: flex;
  gap: 30px;
  align-items: center;
}
.portal-scroll span {
  font-size: 23px;
}
.js .portal:not(.is-open) .portal-scroll {
  display: none;
}
.portal.is-open #enter-experience {
  display: none;
}
.portal-utility {
  justify-self: end;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 14px;
  font: 10px var(--font-mono);
  color: #a6a4b5;
}
.portal-utility a {
  text-decoration: none;
}
.text-control {
  background: none;
  border: 0;
  border-bottom: 1px solid #77788760;
  color: inherit;
  padding: 5px 0;
  cursor: pointer;
  font: 11px var(--font-mono);
}
#replay-intro {
  color: #848291;
}
.portal:not(.is-open) #replay-intro {
  display: none;
}
html:not(.js) #enter-experience,
html:not(.js) [data-skip-intro]:not(.skip-link) {
  display: none;
}
/* Native scrolling feeds one pinned visual; none of the wheel/touch events are hijacked. */
.journey {
  position: relative;
  border-top: 1px solid #ffffff16;
  background: radial-gradient(ellipse at 80% 40%, #11152370, transparent 70%);
}
.journey-sticky {
  min-height: 850px;
  padding: 60px var(--gutter) 40px;
  position: relative;
}
.journey-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.journey-header .kicker {
  margin: 0;
  font-size: 11px;
}
.journey-copy {
  position: relative;
  width: 45%;
  padding-top: 100px;
}
.journey-chapter {
  padding-bottom: 65px;
}
.chapter-eyebrow {
  font: 11px var(--font-mono);
  letter-spacing: 0.13em;
  color: var(--coral);
  margin: 0 0 28px;
}
.journey-chapter h3 {
  font: 700 clamp(54px, 6.5vw, 110px)/1.02 var(--font-display);
  letter-spacing: -0.07em;
  margin: 0 0 27px;
}
.journey-chapter h3 em {
  font-style: normal;
  color: var(--coral);
}
.journey-chapter > p:not(.chapter-eyebrow) {
  max-width: 345px;
  color: #adabb8;
  font-size: 15px;
  line-height: 1.8;
}
.chapter-detail {
  display: block;
  margin-top: 38px;
  font: 10px var(--font-mono);
  color: #747788;
  letter-spacing: 0.1em;
}
.journey-visual {
  position: absolute;
  width: 49%;
  height: 650px;
  right: var(--gutter);
  top: 110px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1500px;
}
.journey-halo {
  position: absolute;
  width: 90%;
  aspect-ratio: 1;
  border: 1px solid #8e9feb20;
  border-radius: 50%;
  box-shadow:
    0 0 100px #435fb008,
    inset 0 0 100px #435fb008;
  transform: rotateX(30deg);
}
.journey-halo:before,
.journey-halo:after {
  content: "";
  position: absolute;
  inset: 15%;
  border: 1px solid #8e9feb14;
  border-radius: 50%;
}
.journey-halo:after {
  inset: -12%;
  border-style: dashed;
  opacity: 0.6;
}
.journey-cross {
  position: absolute;
  color: #7a7e99;
  font: 20px var(--font-mono);
}
.cross-one {
  top: 8%;
  right: 12%;
}
.cross-two {
  bottom: 9%;
  left: 8%;
}
.story-machine {
  width: min(390px, 65%);
  border: 1px solid #6d7184;
  border-radius: 10px;
  padding: 12px;
  background: linear-gradient(125deg, #292d3a, #0e111b 40%, #151825);
  box-shadow: -20px 20px 70px #0007;
  transform: rotateY(-15deg) rotateX(5deg);
  position: relative;
  z-index: 2;
  will-change: transform;
}
.story-machine-top,
.story-machine-bottom {
  display: flex;
  justify-content: space-between;
  font: 10px var(--font-mono);
  letter-spacing: 0.12em;
  color: #a9adbf;
  padding: 3px 2px 12px;
  white-space: nowrap;
}
.story-machine-bottom {
  padding: 12px 2px 3px;
}
.story-screen {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #10121c;
  border: 1px solid #ffffff20;
  border-radius: 3px;
}
.story-screen img,
.story-screen video,
.story-screen canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-screen img {
  filter: grayscale(1);
}
.story-screen video {
  opacity: 0;
}
.capture-guides {
  position: absolute;
  inset: 12%;
}
.capture-guides span {
  width: 22px;
  height: 22px;
  position: absolute;
  border-color: #f1ece0;
  border-style: solid;
  border-width: 0;
}
.capture-guides span:nth-child(1) {
  top: 0;
  left: 0;
  border-top-width: 1px;
  border-left-width: 1px;
}
.capture-guides span:nth-child(2) {
  top: 0;
  right: 0;
  border-top-width: 1px;
  border-right-width: 1px;
}
.capture-guides span:nth-child(3) {
  bottom: 0;
  left: 0;
  border-bottom-width: 1px;
  border-left-width: 1px;
}
.capture-guides span:nth-child(4) {
  bottom: 0;
  right: 0;
  border-bottom-width: 1px;
  border-right-width: 1px;
}
.story-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  box-shadow: 0 0 35px 5px #a9bfff20;
  background: #c5d0ff80;
}
.story-play {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 35px;
  height: 35px;
  border: 1px solid #ffffff50;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  opacity: 0;
}
/* Keep: the kiosk's QR tile (a decorative pattern, not a scannable code). */
.delivery-card {
  position: absolute;
  right: 5%;
  bottom: 16%;
  display: flex;
  gap: 14px;
  align-items: center;
  width: max-content;
  border: 1px solid #15151524;
  background: #fbfbf9;
  color: #151515;
  padding: 10px 18px 10px 10px;
  border-radius: 4px;
  box-shadow: 0 18px 48px #0000001f;
  z-index: 3;
  opacity: 0;
  transform: translateY(30px);
}
.delivery-qr {
  flex: none;
  width: 84px;
  height: 84px;
  image-rendering: pixelated;
}
.delivery-card p {
  max-width: 7.6em;
  margin: 0;
  font: 600 15px/1.2 var(--font-display);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
/* Narrower screens: a compact ticket (label under the code) so the tile never
   runs past the page edge beside the phone. */
@media (max-width: 1339px) {
  .delivery-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 9px 9px 10px;
  }
  /* 3 px per module (21 modules): whole pixels under image-rendering:
     pixelated, as 84 px (4 px) on wide screens and 63 px on phones. */
  .delivery-qr {
    width: 63px;
    height: 63px;
  }
  .delivery-card p {
    max-width: 6.4em;
    font-size: 13px;
  }
}
.journey-rail {
  display: flex;
  gap: 40px;
  padding: 24px 0 0;
  border-top: 1px solid #ffffff25;
  position: relative;
}
.journey-rail a {
  text-decoration: none;
  font: 12px var(--font-mono);
  color: #838491;
  transition: color 0.35s;
}
.journey-rail a span {
  font-size: 10px;
  margin-right: 10px;
  opacity: 0.75;
}
.journey-rail a[aria-current] {
  color: var(--coral);
}
.journey-progress {
  position: absolute;
  top: -1px;
  left: 0;
  width: calc(var(--scene-progress) * 100%);
  height: 1px;
  background: var(--coral);
}
.js .journey {
  height: 440svh;
  min-height: 2500px;
}
.js .journey-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 660px;
  overflow: hidden;
}
.js .journey-copy {
  position: absolute;
  left: var(--gutter);
  top: 28%;
  padding: 0;
  height: 60%;
}
.js .journey-chapter {
  position: absolute;
  inset: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(45px);
}
.js .journey-chapter.is-current {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.js .journey-visual {
  height: 72%;
  top: 14%;
}
.js .journey-rail {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 42px;
}
/* Quiet chapter content follows the high-intensity entrance. */
.studies,
.hosts,
.invite {
  position: relative;
  z-index: 1;
  background: #0a0b0ee6;
}
.invite-title {
  letter-spacing: -0.065em;
}
.invite-band {
  opacity: 0.5;
}
.site-footer {
  background: #090a0c;
}
.motion-paused *,
.motion-paused *:before,
.motion-paused *:after {
  animation-play-state: paused !important;
}
@media (min-width: 1800px) {
  .portal-heading {
    left: 8%;
  }
  .portal-monitor {
    right: 19%;
  }
  .portal-bottom {
    left: 8%;
    right: 8%;
  }
}
@media (max-height: 780px) and (min-width: 761px) {
  .portal {
    min-height: 620px;
  }
  .portal-monitor {
    top: 15%;
    width: min(29vw, 330px);
  }
  .portal-heading {
    top: 28%;
  }
  .portal-heading h1 {
    font-size: 8vw;
  }
  .portal-heading .kicker {
    margin-bottom: 22px;
  }
  .portal-description {
    margin-top: 20px;
  }
  .portal-bottom {
    bottom: 25px;
  }
  .js .journey-sticky {
    min-height: 600px;
  }
  .journey-chapter h3 {
    font-size: 6vw;
  }
  .js .journey-copy {
    top: 23%;
  }
  .chapter-detail {
    margin-top: 20px;
  }
  .story-machine {
    max-width: 275px;
  }
}
@media (max-width: 760px) {
  .site-header {
    height: 68px;
  }
  .site-header .wordmark {
    font-size: 21px;
  }
  .site-nav ul {
    gap: 18px;
  }
  .site-header .site-nav a {
    font-size: 11px;
  }
  .site-nav li:nth-child(2),
  .site-nav .nav-external {
    display: none;
  }
  .portal {
    height: 100svh;
    min-height: 650px;
  }
  .portal-heading {
    top: 15%;
    left: var(--pad);
  }
  .portal-heading .kicker {
    font-size: 8px;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
  }
  .portal-heading h1 {
    font-size: clamp(54px, 13vw, 90px);
  }
  .portal-description {
    display: none;
  }
  .portal-coordinate {
    display: none;
  }
  .portal-orbit {
    width: 110px;
    height: 110px;
    top: 34%;
    left: 3%;
  }
  .portal-orbit span {
    display: none;
  }
  .portal-orbit:after {
    font-size: 28px;
    top: 31px;
    left: 44px;
  }
  .portal-monitor {
    width: min(56vw, 290px);
    right: 18%;
    top: 32%;
    padding: 9px;
    border-radius: 10px;
  }
  /* Phone: monitor microcopy would be < 8 px, so only the bars remain. */
  .monitor-top,
  .monitor-bottom {
    font-size: 6px;
    padding-bottom: 9px;
  }
  .monitor-bottom {
    padding-top: 9px;
  }
  .monitor-top > span:not(.signal-dot),
  .monitor-bottom > span {
    visibility: hidden;
  }
  .portal-bottom {
    bottom: 22px;
    left: var(--pad);
    right: var(--pad);
    grid-template-columns: 1fr auto;
    row-gap: 18px;
  }
  .portal-actions {
    grid-column: 1/-1;
    grid-row: 1;
  }
  .portal-caption {
    font-size: 8px;
    gap: 5px;
  }
  .portal-caption .tiny-label {
    font-size: 7px;
  }
  .portal-utility {
    font-size: 8px;
    gap: 8px;
  }
  .text-control {
    font-size: 11px;
  }
  #enter-experience {
    height: 52px;
    min-height: 52px;
    min-width: 200px;
    font-size: 13px;
  }
  .portal-scroll {
    font-size: 11px;
  }
  .journey-sticky {
    padding-top: 30px;
  }
  .journey-header > .tiny-label {
    display: none;
  }
  .journey-header .kicker {
    font-size: 11px;
  }
  .journey-copy {
    width: 100%;
    padding-top: 30px;
  }
  .journey-chapter h3 {
    font-size: clamp(42px, 12vw, 64px);
    margin-bottom: 15px;
  }
  .chapter-eyebrow {
    font-size: 11px;
    margin: 0 0 14px;
  }
  .journey-chapter > p:not(.chapter-eyebrow) {
    font-size: 12px;
    line-height: 1.6;
    max-width: 320px;
  }
  .chapter-detail {
    display: none;
  }
  .journey-visual {
    position: relative;
    width: 100%;
    height: 430px;
    top: 0;
    right: 0;
  }
  .story-machine {
    width: 190px;
    padding: 8px;
  }
  .story-machine-top,
  .story-machine-bottom {
    font-size: 6px;
    padding: 3px 0 8px;
  }
  .story-machine-top > span,
  .story-machine-bottom > span {
    visibility: hidden;
  }
  .story-machine-bottom {
    padding: 8px 0 3px;
  }
  .js .journey {
    height: 420svh;
    min-height: 2400px;
  }
  .js .journey-sticky {
    min-height: 670px;
  }
  .js .journey-copy {
    top: 12%;
    left: var(--pad);
    width: calc(100% - var(--pad) * 2);
    height: 32%;
  }
  .js .journey-visual {
    position: absolute;
    top: 43%;
    left: var(--pad);
    width: calc(100% - var(--pad) * 2);
    height: 44%;
  }
  .js .story-machine {
    width: auto;
    height: 91%;
    aspect-ratio: 3/4.75;
  }
  .js .story-screen {
    height: calc(100% - 35px);
    aspect-ratio: auto;
  }
  .journey-rail {
    gap: 0;
    justify-content: space-between;
  }
  .journey-rail a {
    font-size: 11px;
  }
  .journey-rail a span {
    display: block;
    font-size: 10px;
    margin: 0 0 6px;
  }
  .js .journey-rail {
    bottom: 27px;
    padding-top: 14px;
  }
  /* Phones: a compact ticket, the label under the code. */
  .delivery-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 8px 8px 9px;
    bottom: 18%;
    right: 0;
  }
  .delivery-qr {
    width: 63px;
    height: 63px;
  }
  .delivery-card p {
    max-width: 7em;
    font-size: 11px;
  }
  .journey-halo {
    width: 75%;
    max-height: 90%;
    aspect-ratio: 1;
    height: auto;
  }
  .journey-cross {
    font-size: 14px;
  }
  .cross-one {
    right: 0;
  }
  .cross-two {
    left: 0;
  }
}
@media (max-height: 680px) and (max-width: 760px) {
  .portal {
    min-height: 560px;
  }
  .portal-heading {
    top: 14%;
  }
  .portal-heading h1 {
    font-size: 48px;
  }
  .portal-monitor {
    width: 180px;
    top: 31%;
    right: 22%;
  }
  .portal-bottom {
    bottom: 15px;
  }
  .portal-caption {
    display: none;
  }
  .portal-utility {
    grid-column: 2;
  }
  .portal-bottom {
    row-gap: 6px;
  }
  .portal-orbit {
    display: none;
  }
  .js .journey-sticky {
    min-height: 560px;
  }
  .journey-chapter h3 {
    font-size: 38px;
  }
  .js .journey-copy {
    top: 12%;
  }
  .js .journey-visual {
    top: 44%;
    height: 41%;
  }
  .journey-chapter > p:not(.chapter-eyebrow) {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .js .portal-monitor {
    transform: none !important;
  }
  .portal-heading {
    transform: none !important;
  }
  .js .journey {
    height: auto;
    min-height: 0;
  }
  .js .journey-sticky {
    position: relative;
    height: auto;
    min-height: 0;
    overflow: visible;
    padding-bottom: 40px;
  }
  .js .journey-copy {
    position: relative;
    top: auto;
    left: auto;
    width: 50%;
    height: auto;
    padding: 60px 0 0;
  }
  .js .journey-chapter {
    position: relative;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    padding: 0 0 50px;
  }
  .js .journey-visual {
    position: absolute;
    top: 130px;
    height: 500px;
  }
  .js .journey-rail {
    position: relative;
    inset: auto;
  }
  .story-machine {
    transform: none !important;
  }
  #pixel-atmosphere {
    opacity: 0.3;
  }
}
@media (prefers-reduced-motion: reduce) and (max-width: 760px) {
  .js .journey-copy {
    width: 100%;
  }
  .js .journey-visual {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: 350px;
  }
  .js .story-machine {
    height: 90%;
  }
  .js .journey-rail {
    margin-top: 20px;
  }
}

/* If artwork cannot be fetched, a procedural portrait silhouette remains. */
.monitor-screen:before,
.story-screen:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 24% 22% at 50% 34%,
      #b68e9b 0 97%,
      transparent 100%
    ),
    radial-gradient(
      ellipse 50% 40% at 50% 100%,
      #6475ae 0 97%,
      transparent 100%
    ),
    linear-gradient(145deg, #1b224c, #130d1e 70%);
}
.art-unavailable img[src$="hero-portrait.png"] {
  visibility: hidden;
}
/* Short landscape screens still keep the entrance action in the viewport. */
@media (max-height: 600px) and (min-width: 600px) {
  .portal {
    height: 100svh;
    min-height: 100svh;
  }
  .site-header {
    height: 56px;
  }
  .portal-heading {
    top: 25%;
  }
  .portal-heading .kicker {
    font-size: 7px;
    margin-bottom: 14px;
  }
  .portal-heading h1 {
    font-size: clamp(40px, 6.3vw, 72px);
  }
  .portal-description {
    font-size: 11px;
    margin-top: 15px;
  }
  .portal-monitor {
    width: auto;
    height: calc(100svh - 115px);
    aspect-ratio: 3/4.8;
    top: 65px;
    right: 17%;
    padding: 8px;
  }
  .monitor-screen {
    height: calc(100% - 35px);
    aspect-ratio: auto;
  }
  .monitor-top,
  .monitor-bottom {
    font-size: 6px;
    padding: 3px 2px 7px;
  }
  .monitor-top > span:not(.signal-dot),
  .monitor-bottom > span {
    visibility: hidden;
  }
  .monitor-bottom {
    padding: 7px 2px 2px;
  }
  .portal-orbit,
  .portal-coordinate,
  .portal-caption {
    display: none;
  }
  .portal-bottom {
    bottom: 12px;
  }
  .portal-actions {
    grid-column: 2;
    gap: 5px;
  }
  .portal-utility {
    grid-column: 3;
    gap: 5px;
  }
  #enter-experience {
    height: 42px;
    min-height: 42px;
    min-width: 175px;
    font-size: 11px;
  }
  .js .journey-sticky {
    min-height: 100svh;
    padding-top: 20px;
  }
  .js .journey-copy {
    top: 23%;
  }
  .journey-chapter h3 {
    font-size: 42px;
    margin-bottom: 12px;
  }
  .chapter-eyebrow {
    font-size: 10px;
    margin-bottom: 12px;
  }
  .journey-chapter > p:not(.chapter-eyebrow) {
    font-size: 11px;
    max-width: 255px;
  }
  .chapter-detail {
    display: none;
  }
  .js .journey-visual {
    top: 15%;
    height: 67%;
  }
  .story-machine {
    height: 100%;
    width: auto;
    aspect-ratio: 3/4.8;
    padding: 7px;
  }
  .story-screen {
    height: calc(100% - 32px);
    aspect-ratio: auto;
  }
  .story-machine-top,
  .story-machine-bottom {
    font-size: 6px;
    padding: 3px 0 6px;
  }
  .story-machine-top > span,
  .story-machine-bottom > span {
    visibility: hidden;
  }
  .story-machine-bottom {
    padding: 6px 0 3px;
  }
  .js .journey-rail {
    bottom: 14px;
    padding-top: 10px;
  }
  .journey-rail a {
    font-size: 11px;
  }
}

/* The decorative monitor pixels only fit on wide cards. */
@media (max-width: 899px) {
  .monitor-pixels {
    display: none;
  }
}
/* The external pill must stay visible on night. */
.site-header .nav-external a {
  border-color: #ffffff40;
}
/* "Book a demo": the one filled pill in each nav (hero: night, compact: ink). */
.demo-link {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  font: 500 11px/1 var(--font-body);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.25s,
    color 0.25s;
}
.site-header .site-nav .demo-link {
  padding: 10px 16px;
  background: #f2f4f7;
  color: #0b1019;
}
.site-header .site-nav .demo-link::after {
  display: none;
}
.site-header .site-nav .demo-link:hover {
  background: #ffdb9d;
  color: #0b1019;
}

/* ---- Compact sticky nav: a paper bar below the hero ---- */
.compact-nav {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 36px);
  padding: 0 var(--gutter);
  background: #f2f2efd9;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 #15151514;
  color: #151515;
  transform: translateY(-100%);
  visibility: hidden;
  transition:
    transform 0.42s var(--ease-out),
    visibility 0s linear 0.42s;
}
.compact-nav[data-shown],
.compact-nav:focus-within {
  transform: none;
  visibility: visible;
  transition:
    transform 0.42s var(--ease-out),
    visibility 0s;
}
html:not(.js) .compact-nav {
  display: none;
}
.compact-nav .brand-logo {
  gap: 9px;
}
.compact-nav .brand-symbol {
  width: 22px;
  height: 22px;
}
.compact-nav .brand-word {
  font-size: 21px;
}
.compact-links {
  margin-left: auto;
}
.compact-links ul {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.compact-links a {
  position: relative;
  display: inline-block;
  padding: 12px 0;
  font: 500 11px/1 var(--font-body);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #282828;
  text-decoration: none;
}
.compact-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.compact-links a:hover {
  color: #000;
}
.compact-links a:hover::after {
  transform: scaleX(1);
}
.compact-demo {
  flex: none;
  background: #151515;
  color: #f2f2ef;
}
.compact-demo:hover {
  background: #383838;
}
.compact-motion {
  flex: none;
  background: none;
  border: 0;
  border-bottom: 1px solid #33333350;
  padding: 6px 0;
  color: #282828;
  font: 11px var(--font-mono);
  white-space: nowrap;
  cursor: pointer;
}
.compact-nav a:focus-visible,
.compact-nav button:focus-visible {
  outline: 2px solid #151515;
  outline-offset: 4px;
}
@media (max-width: 600px) {
  .compact-nav {
    gap: 12px;
    padding: 0 var(--pad);
  }
  .compact-nav .brand-word {
    display: none;
  }
  .compact-links ul {
    gap: 12px;
  }
  .compact-links a {
    letter-spacing: 0.05em;
  }
  /* Phones keep Themes, Contact and the demo button. */
  .compact-links li:nth-child(1),
  .compact-links li:nth-child(3) {
    display: none;
  }
  .compact-demo {
    padding: 9px 12px;
  }
  /* Icon-sized toggle: the accessible name stays the full label. */
  .compact-motion {
    position: relative;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #33333350;
    border-radius: 50%;
    font-size: 0;
  }
  .compact-motion::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 8px;
    height: 10px;
    border-left: 3px solid #282828;
    border-right: 3px solid #282828;
  }
  .motion-paused .compact-motion::before {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 9px;
    border-color: transparent transparent transparent #282828;
    transform: translateX(1px);
  }
}
@media (max-width: 370px) {
  .compact-links li:nth-child(2) {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  /* Fade instead of slide. */
  html .compact-nav {
    transform: none !important;
    opacity: 0;
    transition:
      opacity 0.2s linear,
      visibility 0s linear 0.2s !important;
  }
  html .compact-nav[data-shown],
  html .compact-nav:focus-within {
    opacity: 1;
    transition:
      opacity 0.2s linear,
      visibility 0s !important;
  }
}

/* ---- Reduced motion: one static still per chapter, in two-column rows ---- */
@media (prefers-reduced-motion: reduce) {
  .js .journey.has-stills .journey-copy {
    width: 100%;
    padding-top: 72px;
  }
  .js .journey.has-stills .journey-visual {
    display: none;
  }
  .js .journey.has-stills .journey-chapter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    column-gap: clamp(32px, 6vw, 110px);
    align-items: center;
    padding: 0 0 clamp(64px, 9vw, 128px);
  }
  .js .journey.has-stills .journey-chapter > :not(.chapter-still) {
    grid-column: 1;
  }
  .chapter-still {
    position: relative;
    grid-column: 2;
    grid-row: 1 / span 4;
    justify-self: center;
    width: min(100%, 360px);
    margin: 0;
    aspect-ratio: 3 / 4;
  }
  .chapter-still img,
  .chapter-still canvas {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 24px 70px #00000014;
    filter: saturate(1.35) contrast(1.04);
  }
  .chapter-still canvas {
    image-rendering: pixelated;
    filter: none;
  }
  .chapter-still .still-capture {
    filter: none;
  }
  .still-play {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid #ffffffa0;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
  }
  /* Keep: the guest's phone (same guest page as the animated card) and the
     QR tile as a compact ticket beside it. */
  .still-phone {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 8%;
    padding: 9px;
    border-radius: 34px;
    background: #151515;
    box-shadow: 0 24px 70px #0000001c;
  }
  .still-phone-screen {
    --phone: 1;
    --guest: 1;
    position: relative;
    height: 100%;
    aspect-ratio: 9 / 19.5;
    overflow: hidden;
    border-radius: 25px;
    container-type: size;
  }
  .still-phone .guest-page {
    visibility: visible;
  }
  .chapter-still .still-phone-media {
    position: absolute;
    box-shadow: none;
  }
  .chapter-still--3 .delivery-card {
    right: -2%;
    bottom: 14%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 9px 9px 10px;
    opacity: 1;
    transform: none;
  }
  .chapter-still--3 .delivery-card p {
    max-width: 6.6em;
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) and (max-width: 760px) {
  .js .journey.has-stills .journey-copy {
    padding-top: 32px;
  }
  .js .journey.has-stills .journey-chapter {
    grid-template-columns: minmax(0, 1fr);
  }
  .chapter-still {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    width: min(80%, 300px);
    margin-top: 24px;
  }
  .still-phone {
    left: 0;
  }
  .chapter-still--3 .delivery-card {
    right: 3%;
  }
}
