body {
  background: radial-gradient(ellipse at 70% 22%, #171a32 0, transparent 58%), #090d18;
  min-height: 100vh;
}
.studio-head,
main,
footer {
  width: min(100% - 2.5rem, 80rem);
  margin-inline: auto;
}
.studio-head {
  height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #34394b;
}
.studio-head .brand img {
  width: 7.8rem;
}
.back,
footer a {
  color: #d0d0e3;
}
#programme {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin: 1.55rem 0 0;
}
#programme a {
  padding: 0.37rem 0.95rem;
  color: #c7c9da;
  border-radius: 20rem;
  font-size: 0.95rem;
}
#programme a:hover {
  color: white;
  background: #20253a;
}
#programme a[aria-current] {
  background: #e2d9ff;
  color: #1b1434;
}
article:focus {
  outline: none;
}
.story {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  align-items: end;
  column-gap: 5%;
  padding: clamp(2rem, 4vw, 4rem) 0 1.8rem;
}
.edition {
  grid-column: 1/-1;
  color: #c1b6ee;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}
.story h1 {
  font-size: clamp(3rem, 6.6vw, 6.25rem);
  line-height: 0.98;
  letter-spacing: -0.058em;
  max-width: 13ch;
  text-wrap: balance;
}
#description {
  font-size: clamp(1.05rem, 1.4vw, 1.33rem);
  line-height: 1.48;
  color: #d4d7e5;
  max-width: 36rem;
}
.screen {
  position: relative;
  overflow: hidden;
  border-radius: 1.1rem;
  background: #0b0e1c;
  isolation: isolate;
  line-height: 0;
  box-shadow: 0 12px 40px #07091466;
}
.screen video,
.screen canvas {
  display: block;
  width: 100%;
  height: auto;
}
.screen video {
  aspect-ratio: 2.25;
  object-fit: contain;
  background: #080b13;
}
.screen.north video,
.screen.orion video,
.screen.angle video {
  aspect-ratio: 16/8.4;
}
.screen .ident {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  padding: 0.38rem 0.8rem;
  border-radius: 2rem;
  color: #fff;
  background: #111426d9;
  font-size: 0.84rem;
  line-height: 1.3;
}
.film-row {
  margin: 0.85rem 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #b8bbcf;
  font-size: 0.9rem;
}
.film-row span + span {
  text-align: right;
}
.desk {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.8fr);
  gap: 1.2rem 3rem;
  align-items: start;
}
.desk h2 {
  color: #f5f2ff;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0.65rem;
}
.desk p {
  color: #c4c6d6;
  font-size: 1rem;
  line-height: 1.5;
}
.buttons,
.track-choices,
.local-inputs,
.timeline {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  align-items: center;
}
button,
.file {
  cursor: pointer;
  border: 1px solid #4d5169;
  border-radius: 3rem;
  padding: 0.58rem 1.05rem;
  background: #171c2b;
  color: #f8f6ff;
  line-height: 1.4;
}
button:hover,
.file:hover {
  background: #272c41;
}
button.primary,
button[aria-pressed='true'] {
  color: #1b1434;
  background: #e6dcff;
  border-color: #e6dcff;
}
button:disabled,
button[aria-disabled='true'] {
  opacity: 0.64;
  cursor: default;
}
[hidden] {
  display: none !important;
}
.support {
  margin-top: 0.75rem;
}
.status {
  min-height: 1.5em;
  margin-top: 0.7rem;
}
.desk .status {
  color: #d7c8ff;
}
.file {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
}
.file:focus-within {
  outline: 3px solid #aebeff;
  outline-offset: 3px;
}
.file input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
input[type='range'] {
  accent-color: #c3b9ff;
  width: min(17rem, 100%);
  min-height: 2.3rem;
}
label.range {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  color: #cacddd;
  font-size: 0.96rem;
}
.timeline {
  margin-bottom: 0.55rem;
}
.grades {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  color: #c0c6d9;
  font-size: 0.9rem;
}
.land-overlay {
  position: absolute;
  inset: 0;
}
.land-overlay canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #111427;
}
.invitation {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 2;
  line-height: 1.3;
}
.north {
  background: #0b1021;
}
.chapters {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 0.45rem;
  margin: 0 0 0.45rem;
}
.chapters li {
  flex: 1;
  padding-top: 0.45rem;
  border-top: 3px solid #373d52;
  color: #adb3c8;
  font-size: 0.9rem;
}
.chapters li.current {
  border-color: #b9a2ff;
  color: #eee8ff;
}
footer {
  padding: 1.6rem 0 2.75rem;
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  border-top: 1px solid #34394b;
  font-size: 0.94rem;
}
@media (min-width: 950px) {
  .screen {
    max-height: min(53vh, 38rem);
    background: #080b13;
  }
  .screen canvas,
  .screen video,
  .screen.north video,
  .screen.orion video,
  .screen.angle video {
    height: min(53vh, 38rem);
    object-fit: contain;
  }
}
@media (max-width: 720px) {
  .story,
  .desk {
    grid-template-columns: 1fr;
  }
  .story {
    gap: 0.65rem;
    padding: 1.6rem 0 1.2rem;
  }
  .edition {
    margin: 0;
  }
  .story h1 {
    max-width: 100%;
  }
  .desk {
    gap: 1rem;
  }
  .studio-head {
    height: 4.15rem;
  }
  .studio-head .brand img {
    width: 6.25rem;
  }
  .back {
    font-size: 0.87rem;
  }
  #programme {
    margin-top: 0.9rem;
    gap: 0.3rem 0.1rem;
  }
  #programme a {
    padding: 0.25rem 0.6rem;
    font-size: 0.83rem;
  }
  .screen .ident {
    top: 0.45rem;
    left: 0.45rem;
    font-size: 0.72rem;
    padding: 0.27rem 0.5rem;
  }
  .film-row {
    gap: 0.5rem;
    font-size: 0.82rem;
  }
  .buttons button,
  .file {
    padding: 0.55rem 0.85rem;
    font-size: 0.95rem;
  }
  .invitation {
    bottom: 0.45rem;
    right: 0.45rem;
    font-size: 0.8rem;
  }
  footer {
    margin-top: 1.6rem;
  }
  .chapters li {
    font-size: 0.76rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
.listen-link {
  display: inline-block;
  margin-top: 0.7rem;
  color: #deccff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.screen.north > img {
  width: 100%;
  height: auto;
  max-height: 53vh;
  object-fit: contain;
}
.offset-field {
  display: inline-flex;
  gap: 0.32rem;
  align-items: center;
  color: #c6c8d8;
}
.offset-field input {
  width: 5rem;
  background: #111726;
  border: 1px solid #495269;
  color: #eeeafc;
  border-radius: 0.5rem;
  padding: 0.27rem 0.45rem;
}
