@font-face {
  font-family: "Barlow Condensed";
  src: url("./assets/barlow-condensed-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("./assets/barlow-condensed-800-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #101517;
  --deep: #0a0f11;
  --paper: #f1eddf;
  --signal: #f5de63;
  --muted: #b8c2c1;
  --line: #3b4648;
  --site-header-height: calc(4.3rem + 1px);
  --gutter: clamp(1.2rem, 5vw, 5rem);
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --mono: ui-monospace, Menlo, Consolas, monospace;
  font-family: system-ui, sans-serif;
  background: var(--ink);
  color: var(--paper);
  scroll-padding-top: 5rem;
}

*, *::before, *::after { box-sizing: border-box; }

body { margin: 0; }

body:has(dialog[open]) { overflow: hidden; }

h1, h2, h3, p, figure { margin: 0; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: .84;
  text-transform: uppercase;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-underline-offset: .23em; }

a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

button { font: inherit; }
[hidden] { display: none !important; }

.shell {
  width: min(100% - 2 * var(--gutter), 88rem);
  margin-inline: auto;
}

.eyebrow {
  font: 650 .85rem/1.3 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: var(--gutter);
  z-index: 20;
  transform: translateY(-200%);
  padding: .75rem 1rem;
  background: var(--signal);
  color: var(--ink);
}

.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}

.header-inner {
  min-height: 4.3rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(.75rem, 3vw, 2.75rem);
}

.brand {
  justify-self: start;
  display: inline-block;
  width: 6.25rem;
}

.brand img { width: 100%; height: auto; }

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 3.5vw, 3.25rem);
}

.site-header a:not(.brand) {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  font-size: .875rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.site-header a:hover, .site-footer a:hover { color: var(--signal); }

.header-release {
  justify-self: end;
  gap: .55rem;
  color: var(--signal);
}

.header-release span, .hero-kicker span {
  display: inline-block;
  flex: 0 0 .45rem;
  width: .45rem;
  aspect-ratio: 1;
  background: currentColor;
  transform: rotate(45deg);
}

.scroll-progress {
  display: none;
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  background: var(--signal);
  transform-origin: left;
  pointer-events: none;
}

.hero {
  position: relative;
  overflow: clip;
  isolation: isolate;
  background: var(--deep);
}

.hero-art, .hero-wash, .hero-grid, .hero-camera {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-art { z-index: -1; }

.hero-grid {
  background-image: linear-gradient(#79939418 1px, transparent 1px),
    linear-gradient(90deg, #79939418 1px, transparent 1px);
  background-size: 3.2rem 3.2rem;
  background-position: 50% 0;
  opacity: .72;
}

.hero-media {
  overflow: clip;
  position: absolute;
  inset: 0 0 0 29%;
  clip-path: polygon(19% 0, 100% 0, 100% 100%, 0 100%);
  background: #182629;
}

.hero-camera {
  inset: -5%;
  transform: translate(var(--pointer-x, 0px), var(--pointer-y, 0px));
}

.hero-camera img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% center;
  filter: brightness(1.15) saturate(1.12);
}

.hero-wash {
  background:
    linear-gradient(90deg, #0a0f11 4%, #0a0f11f5 28%, #0a0f1199 46%, #0a0f1108 71%),
    linear-gradient(0deg, #0a0f11d9, #0a0f1100 27%),
    linear-gradient(180deg, #0a0f1152, #0a0f1100 29%);
}

.hero-reticle {
  position: absolute;
  inset: clamp(1.25rem, 4vw, 3.8rem) var(--gutter) clamp(4rem, 8vw, 6rem) 51%;
  transform: translate(calc(var(--pointer-x, 0px) * -.55), calc(var(--pointer-y, 0px) * -.55));
}

.hero-reticle i {
  position: absolute;
  width: 1.1rem;
  height: 1.1rem;
  border: 1px solid #f1eddf99;
}

.hero-reticle i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hero-reticle i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hero-reticle i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hero-reticle i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.hero-packets {
  position: absolute;
  right: clamp(3rem, 13vw, 14rem);
  bottom: 23%;
  display: flex;
  align-items: center;
  gap: .65rem;
  transform: rotate(-42deg);
}

.hero-packets i {
  width: clamp(.65rem, 1.25vw, 1.1rem);
  aspect-ratio: 1;
  border: 1px solid var(--signal);
  opacity: .45;
}

.hero-packets i:nth-child(3) { opacity: .75; }
.hero-packets i:nth-child(4) { background: var(--signal); opacity: 1; }

.hero-inner {
  min-height: clamp(39rem, calc(100svh - 4.3rem), 57rem);
  display: grid;
  grid-template-rows: 1fr auto;
}

.hero-copy {
  align-self: center;
  padding-block: clamp(3rem, 7.5vh, 6rem);
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: clamp(1.1rem, 2.5vw, 2.1rem);
  color: var(--signal);
}

.hero h1 {
  width: max-content;
  max-width: 100%;
  font-size: clamp(4.5rem, 11.3vw, 11.1rem);
  letter-spacing: -.031em;
  text-shadow: 0 4px 32px #04080970;
}

.hero h1 em { color: var(--signal); }

.hero-description {
  max-width: 32ch;
  margin-block: clamp(1.35rem, 3vw, 2rem) 1.55rem;
  color: #e0e4df;
  font-size: clamp(1rem, 1.49vw, 1.25rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.button {
  display: inline-flex;
  width: fit-content;
  min-height: 3.55rem;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: .8rem 1rem;
  border: 1px solid var(--signal);
  background: var(--signal);
  color: var(--ink);
  font: 750 .875rem/1.1 var(--mono);
  text-transform: uppercase;
  text-decoration: none;
  transition: color .18s, background-color .18s, border-color .18s;
}

.button:hover { background: var(--paper); border-color: var(--paper); }
.button:focus-visible { outline-color: var(--signal); }

.button-time {
  margin-inline-start: .3rem;
  padding-inline-start: .75rem;
  border-left: 1px solid #1015175e;
  font-size: .78rem;
}

.play-icon {
  width: 0;
  height: 0;
  border-block: .35rem solid transparent;
  border-inline-start: .58rem solid currentColor;
}

.hero-bottom {
  min-height: 4.3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem 1rem;
  padding-block: .5rem;
  border-top: 1px solid #f1eddf38;
  color: var(--muted);
  font: 575 .75rem/1.3 var(--mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.dive-link {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--paper);
  text-decoration: none;
}

.dive-link:hover { color: var(--signal); }

.dive-icon {
  width: .72rem;
  height: .72rem;
  border: 1px solid currentColor;
  box-shadow: inset 0 0 0 2px var(--deep);
  background: currentColor;
}

.premise {
  overflow: clip;
  background: var(--paper);
  color: var(--ink);
}

.premise-inner {
  min-height: clamp(26rem, 40vw, 40rem);
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  column-gap: 2rem;
  padding-block: clamp(4rem, 8vw, 7rem);
}

.premise-copy { position: relative; z-index: 1; }

.premise-kicker, .gameplay-heading .eyebrow, .launch .eyebrow {
  margin-bottom: clamp(1rem, 2.5vw, 1.6rem);
}

.premise h2, .gameplay h2 {
  font-size: clamp(4.5rem, 9.4vw, 9rem);
  letter-spacing: -.03em;
}

.premise h2 { font-size: clamp(3.6rem, 8.2vw, 8rem); }

.premise-copy > p:last-child, .chapter-copy p {
  max-width: 42ch;
  margin-top: clamp(1.25rem, 2.75vw, 1.8rem);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.premise-art {
  position: relative;
  width: 100%;
  min-height: 11rem;
  aspect-ratio: 1.35;
  perspective: 55rem;
}

.plane {
  position: absolute;
  inset: 9% 14%;
  border: 1px solid #141b20;
  transform: rotateX(56deg) rotateZ(-39deg);
  transition: none;
}

.plane-bottom {
  --plane-rest: 27%;
  --plane-from: 18%;
  --plane-to: 38%;
  translate: 0 var(--plane-rest);
  background: #303e42;
  box-shadow: -.3rem .5rem 0 #13191a;
}

.plane-middle {
  --plane-rest: 9%;
  --plane-from: 5%;
  --plane-to: 17%;
  translate: 0 var(--plane-rest);
  background: #6b7d79;
  box-shadow: -.3rem .5rem 0 #253032;
}

.plane-top {
  --plane-rest: -9%;
  --plane-from: -5%;
  --plane-to: -19%;
  translate: 0 var(--plane-rest);
  background: #203333;
  box-shadow: -.3rem .5rem 0 #101b1b, -1.2rem 1.6rem 2rem #101b1b40;
}

.plane-grid {
  position: absolute;
  inset: 6%;
  display: grid;
  grid-template: repeat(6, 1fr) / repeat(8, 1fr);
  border-bottom: 1px solid #628983;
  border-right: 1px solid #628983;
  background-image: linear-gradient(#628983 1px, transparent 1px),
    linear-gradient(90deg, #628983 1px, transparent 1px);
  background-size: 12.5% calc(100% / 6);
}

.route-cell {
  position: relative;
  grid-area: var(--y) / var(--x);
  margin: 8%;
  background: var(--paper);
  box-shadow: -.12rem .16rem 0 #b1bab2;
}

.route-head::after {
  position: absolute;
  inset: 23%;
  background: #12919c;
  content: "";
}

.route-packet {
  margin: 21%;
  background: var(--signal);
  box-shadow: -.12rem .16rem 0 #b49632, 0 0 1rem #f5de637a;
}

.gameplay {
  padding-block: clamp(4rem, 9vw, 8rem);
  background: var(--ink);
}

.gameplay-heading {
  margin-bottom: clamp(1.85rem, 4.8vw, 4rem);
}

.gameplay-heading .eyebrow { color: var(--signal); }
.gameplay h2 em { color: var(--signal); }

.chapter-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.chapter-list a {
  display: flex;
  align-items: center;
  min-height: 3.8rem;
  padding: .65rem clamp(.4rem, 1.5vw, 1rem);
  min-width: 0;
  border-inline-start: 1px solid var(--line);
  border-block-end: 3px solid transparent;
  color: var(--muted);
  font: 700 clamp(.76rem, 1.5vw, .95rem)/1.25 var(--mono);
  text-decoration: none;
  text-wrap: balance;
  transition: color .18s, background-color .18s;
}

.chapter-list a:last-child { border-inline-end: 1px solid var(--line); }
.chapter-list a:hover { background: #202a2b; color: var(--paper); }
.chapter-list a:focus-visible { outline-offset: -5px; }

.chapter-list [aria-selected="true"] {
  border-block-end-color: var(--signal);
  color: var(--signal);
  background: #262b22;
}

.chapter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(14rem, 1fr);
  gap: clamp(1.25rem, 5.3vw, 5rem);
  align-items: center;
  padding-block: clamp(1.2rem, 3vw, 2rem);
}

.chapter-panel + .chapter-panel { border-top: 1px solid var(--line); }
.chapter-list[role="tablist"] + .chapter-panels .chapter-panel { border-top: 0; }

.chapter-image {
  overflow: clip;
  background: #203133;
  border: 1px solid #5a6d70;
}

.chapter-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.chapter-copy h3 {
  max-width: 14ch;
  font-size: clamp(2.5rem, 4.2vw, 4.6rem);
  line-height: .92;
  text-wrap: balance;
}

.chapter-copy p {
  margin-top: 1rem;
  color: var(--muted);
}

.launch {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--signal);
  color: var(--ink);
}

.launch-grid {
  position: absolute;
  inset: 0 -10% -70% 30%;
  z-index: -1;
  transform: skew(-30deg);
  background-image: linear-gradient(#10151722 1px, transparent 1px),
    linear-gradient(90deg, #10151722 1px, transparent 1px);
  background-size: 3rem 3rem;
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}

.launch-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.8rem;
  padding-block: clamp(3.8rem, 7.6vw, 7.25rem);
}

.launch h2 {
  font-size: clamp(4.3rem, 11vw, 11rem);
  letter-spacing: -.03em;
}

.button-dark {
  margin-bottom: .15rem;
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.button-dark:hover { border-color: var(--ink); color: var(--ink); }
.button-dark:focus-visible { outline-color: var(--ink); }

.footer-inner {
  min-height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .9rem;
  color: var(--muted);
}

.footer-inner a:not(.brand), .footer-inner small { font-size: .875rem; }

.trailer-dialog {
  width: min(66rem, 100% - 2rem);
  max-width: none;
  max-height: calc(100% - 2rem);
  overflow: auto;
  padding: 0;
  border: 1px solid #667675;
  background: var(--ink);
  color: var(--paper);
}

.trailer-dialog:not([open]) { display: none; }

.trailer-dialog::backdrop { background: #05080ced; }

.dialog-heading {
  min-height: 3.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1rem;
  padding: .45rem clamp(.75rem, 2vw, 1rem);
}

.dialog-heading h2 {
  font: 700 clamp(.85rem, 2vw, 1rem)/1.25 var(--mono);
}

.dialog-close {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  padding: 0 .4rem;
  border: none;
  background: transparent;
  color: var(--signal);
  cursor: pointer;
}

.dialog-close span { font-size: 1.4rem; }

.trailer-dialog video {
  display: block;
  width: 100%;
  max-height: 72svh;
  aspect-ratio: 16 / 9;
  background: black;
}

.dialog-note {
  padding: .8rem 1rem;
  color: var(--muted);
  font-size: .875rem;
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) and (animation-range: entry) {
    .hero { view-timeline: --hero; }
    .premise { view-timeline: --premise; }

    .hero-media, .hero-grid, .hero-packets {
      animation: hero-depth linear both;
      animation-timeline: --hero;
      animation-range: exit;
    }

    .hero-media { --hero-travel: 16%; }
    .hero-grid { --hero-travel: 8%; }
    .hero-packets { --hero-travel: -8rem; }

    .plane {
      animation: spread-layers linear both;
      animation-timeline: --premise;
      animation-range: entry 8% exit 80%;
    }
  }

  @supports (animation-timeline: scroll()) {
    .scroll-progress {
      display: block;
      animation: depth-progress linear both;
      animation-timeline: scroll(root block);
    }
  }

  .hero-camera, .hero-reticle { transition: transform .2s ease-out; }

  @supports (transition-behavior: allow-discrete) {
    .trailer-dialog {
      opacity: 0;
      transform: translateY(.65rem);
      transition: opacity .2s ease-out, transform .2s ease-out, display .2s, overlay .2s;
      transition-behavior: allow-discrete;
    }

    .trailer-dialog[open] { opacity: 1; transform: none; }

    @starting-style {
      .trailer-dialog[open] { opacity: 0; transform: translateY(.65rem); }
    }
  }
}

@keyframes hero-depth {
  from { translate: 0 0; }
  to { translate: 0 var(--hero-travel); }
}

@keyframes spread-layers {
  from { translate: 0 var(--plane-from); }
  to { translate: 0 var(--plane-to); }
}

@keyframes depth-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (max-width: 760px) {
  :root { scroll-padding-top: 4rem; }
  .header-inner { min-height: 3.75rem; }
  .brand { width: 4.85rem; }
  .site-header nav { gap: clamp(.65rem, 2.6vw, 1.5rem); }

  .hero-inner { min-height: 0; }
  .hero-copy { padding-block: clamp(2.25rem, 10vw, 5rem) clamp(10rem, 40vw, 19rem); }
  .hero h1 { font-size: clamp(3rem, 13.9vw, 6.65rem); }
  .hero-description { max-width: 34ch; margin-block: 1rem 1.2rem; }
  .hero-kicker { margin-bottom: .9rem; }

  .hero-media {
    inset: auto 0 0;
    height: clamp(19rem, 72vw, 34rem);
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
  }

  .hero-camera img { object-position: center; }

  .hero-wash {
    background: linear-gradient(0deg, #0a0f11 0%, #0a0f1122 19%, #0a0f1100 29%, #0a0f112b 44%, #0a0f11eb 65%, #0a0f11 80%);
  }

  .hero-reticle { inset: auto var(--gutter) 4.3rem; height: clamp(7rem, 35vw, 18rem); }
  .hero-packets { bottom: 16%; right: 15%; }
  .hero-bottom { min-height: 3.75rem; font-size: .66rem; }
  .hero-bottom-note { text-align: end; }

  .premise-inner {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding-block: 3.75rem 3.5rem;
  }

  .premise-art { justify-self: center; width: min(100%, 29rem); }
  .premise h2 { font-size: clamp(3.3rem, 13vw, 6.25rem); }
  .gameplay h2 { font-size: clamp(4.2rem, 13.5vw, 7rem); }
  .chapter-panel { grid-template-columns: 1fr; gap: 1.1rem; }
  .chapter-copy h3 { max-width: none; }
}

@media (max-width: 370px) {
  .site-header a:not(.brand) { font-size: .78rem; }
  .header-release { gap: 0; }
  .header-release span { display: none; }
  .hero-bottom-note { max-width: 16ch; }
  .chapter-list a, .footer-inner a:not(.brand), .footer-inner small { font-size: .75rem; }
}

.breach-transition {
  background: var(--deep);
}

.breach-stage {
  margin: 0;
  background: var(--deep);
}

.breach-film {
  position: relative;
  isolation: isolate;
  block-size: var(--breach-film-height, clamp(19rem, 66svh, 47rem));
  overflow: clip;
  background: #182629;
}

.breach-film img, .breach-film video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.breach-film video {
  opacity: 0;
  pointer-events: none;
}

.breach-transition[data-scrub-visible] video,
.breach-film video[data-scrub-visible] {
  opacity: 1;
}

.breach-film::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(#0a0f111c, transparent 30%, transparent 76%, #0a0f1157);
  pointer-events: none;
  content: "";
}

.breach-readout {
  position: relative;
  border-block: 1px solid var(--line);
}

.breach-readout-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .45rem 1rem;
  min-height: 3.45rem;
  padding-block: .55rem;
  color: var(--muted);
  font: 650 .77rem/1.3 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.breach-readout-inner > :first-child {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--paper);
}

.breach-readout-inner > :first-child::before {
  width: .48rem;
  aspect-ratio: 1;
  flex: none;
  background: var(--signal);
  content: "";
}

.breach-scrub-hint, .breach-scrub-fill, .chapter-scroll-hint {
  display: none;
}

.chapter-scroll-hint {
  margin-bottom: .65rem;
  color: var(--muted);
  font: 650 .78rem/1.3 var(--mono);
  text-align: end;
  text-transform: uppercase;
  letter-spacing: .07em;
}

@media (max-width: 760px) {
  :root { --site-header-height: calc(3.75rem + 1px); }

  .breach-film {
    block-size: var(--breach-film-height, clamp(16rem, 53svh, 32rem));
  }

  .breach-readout-inner {
    font-size: .68rem;
  }
}

@media (max-height: 480px) {
  .breach-film { block-size: var(--breach-film-height, max(10rem, 54svh)); }
}

@supports (position: sticky) {
  @media (prefers-reduced-motion: no-preference) {
    .breach-transition[data-scrub-enabled],
    .chapter-track[data-scroll-chapters] {
      overflow-anchor: none;
    }

    .breach-transition[data-scrub-enabled]::after,
    .chapter-track[data-scroll-chapters]::after {
      display: block;
      block-size: clamp(26rem, 116svh, 64rem);
      content: "";
    }

    .breach-transition[data-scrub-enabled] .breach-stage {
      --breach-film-height: max(10rem, calc(100svh - var(--site-header-height) - 3.45rem - 2px));
      position: sticky;
      top: var(--site-header-height);
    }

    .breach-transition[data-scrub-enabled] .breach-scrub-hint,
    .chapter-track[data-scroll-chapters] .chapter-scroll-hint {
      display: block;
    }

    .breach-transition[data-scrub-enabled] .breach-scrub-fill {
      display: block;
      position: absolute;
      inset: auto 0 -1px;
      height: 2px;
      background: var(--signal);
      transform: scaleX(var(--scrub-progress, 0));
      transform-origin: left;
      pointer-events: none;
    }

    .chapter-track[data-scroll-chapters] .chapter-stage {
      position: sticky;
      top: calc(var(--site-header-height) + .85rem);
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      align-content: center;
      min-block-size: calc(100svh - var(--site-header-height) - 1.7rem);
    }

    .chapter-track[data-scroll-chapters] .chapter-panels {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
    }

    .chapter-track[data-scroll-chapters] .chapter-panel {
      grid-area: 1 / 1;
    }

    .chapter-track[data-scroll-chapters] .chapter-panel[hidden] {
      display: grid !important;
      visibility: hidden;
    }

    .chapter-track[data-scroll-chapters] .chapter-image img {
      max-block-size: 52svh;
    }
  }
}
