/* Version A — one raid, told by scroll.
   Without JS (or with reduced motion) the scenes are plain stacked screens.
   With html.story the stage sticks and a.js scrubs one timeline across it. */

body { --accent: var(--torch); }
body[data-light="rot"] { --accent: var(--rot); }
body[data-light="portal"] { --accent: var(--portal); }

/* ------------------------------------------------------------------ HUD */
.hud {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 4.25rem;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  padding: 0 clamp(0.9rem, 2.5vw, 2rem); pointer-events: none;
  background: linear-gradient(rgb(6 8 18 / 0.82), rgb(6 8 18 / 0));
}
.hud > * { pointer-events: auto; }
.hud__brand { display: inline-flex; align-items: center; gap: 0.55rem; justify-self: start; text-decoration: none; font: 400 1.5rem/1 var(--display); color: var(--bone); }
.hud__brand img { width: 2.5rem; height: 2.5rem; object-fit: contain; }
.hud__cta { justify-self: end; grid-column: 3; }

.clock { width: min(34rem, 44vw); display: none; flex-direction: column; align-items: center; gap: 0.4rem; }
html.story .clock { display: flex; }
.clock__read { display: flex; align-items: baseline; gap: 0.7rem; }
.clock__time { font: 600 1.6rem/1 var(--serif); font-variant-numeric: tabular-nums; color: var(--accent); transition: color 0.6s; min-width: 3.3em; text-align: right; }
.clock__note { font: 500 0.9rem/1 var(--sans); color: var(--ash); min-width: 9.5em; }
.track { position: relative; width: 100%; height: 3px; background: rgb(239 230 207 / 0.2); }
.track__rot { position: absolute; inset: 0 0 0 35%; background: rgb(168 236 44 / 0.28); }
.track__fill { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--raid, 0)); background: var(--accent); transition: background-color 0.6s; }
.pip { position: absolute; left: var(--at); top: 50%; width: 9px; height: 9px; transform: translate(-50%, -50%) rotate(45deg); background: var(--night); border: 1.5px solid var(--portal); transition: background-color 0.4s, box-shadow 0.4s; }
.pip--rot { border-color: var(--rot); border-radius: 50%; }
.pip.is-on { background: var(--portal); box-shadow: 0 0 10px 2px rgb(62 176 255 / 0.7); }
.pip--rot.is-on { background: var(--rot); box-shadow: 0 0 10px 2px rgb(168 236 44 / 0.7); }

@media (max-width: 760px) {
  .hud { height: 3.6rem; gap: 0.6rem; }
  .hud__brand span, .hud__long, .clock__note { display: none; }
  .hud__brand img { width: 2.1rem; height: 2.1rem; }
  .clock { width: 100%; min-width: 9rem; }
  .clock__time { font-size: 1.25rem; text-align: center; }
}

/* ---------------------------------------------------------------- Scenes */
.scene { position: relative; min-height: 100svh; display: grid; overflow: hidden; isolation: isolate; }
.scene__art, .scene__shade { position: absolute; inset: 0; z-index: -1; }
.scene__art img { width: 100%; height: 100%; object-fit: cover; }
.scene__art { will-change: transform, opacity; }
/* where each picture's subject sits, for narrow screens (a.js refines this in story mode) */
.scene--inn .scene__art img { object-position: 74% 50%; }
.scene--gate .scene__art img { object-position: 58% 50%; }
.scene--vault .scene__art img { object-position: 30% 50%; }
.scene--rivals .scene__art img { object-position: 80% 50%; }
.scene--rot .scene__art img { object-position: 74% 50%; }
.scene--portal .scene__art img { object-position: 68% 50%; }
.scene__copy {
  align-self: end; justify-self: start; width: min(100%, 37rem);
  padding: 6rem var(--gutter) clamp(2.5rem, 7vh, 5rem);
  display: grid; gap: 1.1rem; justify-items: start;
}
.beat { font-size: var(--t-5); text-shadow: 0 2px 30px rgb(4 6 14 / 0.75); }
.scene .lede { text-shadow: 0 1px 14px rgb(4 6 14 / 0.9); }

/* scrims sit where the words are; the art stays clean everywhere else */
.scene__shade { background: linear-gradient(to top, rgb(6 8 18 / 0.92) 0, rgb(6 8 18 / 0.55) 38%, rgb(6 8 18 / 0) 68%); }

@media (min-width: 900px) and (min-aspect-ratio: 5/4) {
  .scene__copy { padding-block: 7rem 4rem; }

  .scene--inn .scene__copy { align-self: center; width: min(46%, 40rem); }
  .scene--inn .scene__shade { background: linear-gradient(to right, rgb(6 8 18 / 0.9) 0, rgb(6 8 18 / 0.62) 32%, rgb(6 8 18 / 0) 58%); }

  .scene--gate .scene__copy { align-self: start; width: min(44%, 36rem); padding-top: clamp(6.5rem, 15vh, 10rem); }
  .scene--gate .scene__shade { background: radial-gradient(ellipse 60% 70% at 12% 22%, rgb(6 8 18 / 0.78) 0, rgb(6 8 18 / 0) 70%); }

  .scene--vault .scene__copy { align-self: center; justify-self: end; width: min(44%, 37rem); }
  .scene--vault .scene__shade { background: linear-gradient(to left, rgb(6 8 18 / 0.86) 0, rgb(6 8 18 / 0.5) 30%, rgb(6 8 18 / 0) 55%); }

  .scene--rivals .scene__copy { align-self: start; justify-self: center; width: min(80%, 56rem); padding-top: clamp(5.5rem, 12vh, 8rem); justify-items: center; text-align: center; }
  .scene--rivals .beat { font-size: var(--t-4); }
  .scene--rivals .scene__shade { background: linear-gradient(to bottom, rgb(6 8 18 / 0.86) 0, rgb(6 8 18 / 0.45) 34%, rgb(6 8 18 / 0) 56%); }

  .scene--rot .scene__copy { align-self: start; width: min(44%, 36rem); padding-top: clamp(6.5rem, 15vh, 10rem); }
  .scene--rot .scene__shade { background: radial-gradient(ellipse 58% 92% at 8% 28%, rgb(6 8 18 / 0.9) 0, rgb(6 8 18 / 0.6) 45%, rgb(6 8 18 / 0) 74%); }

  .scene--portal .scene__copy { align-self: start; width: min(42%, 34rem); padding-top: clamp(6.5rem, 15vh, 10rem); }
  .scene--portal .scene__shade { background: radial-gradient(ellipse 58% 70% at 12% 20%, rgb(6 8 18 / 0.85) 0, rgb(6 8 18 / 0) 70%); }
}

/* hero copy */
.hero { gap: 1rem; }
.hero__logo { width: min(100%, 25rem); margin: 0 0 -0.4rem -1.2rem; }
.hero__logo img { width: 100%; height: auto; filter: drop-shadow(0 10px 30px rgb(0 0 0 / 0.6)); }
.hero__mantra { font-size: var(--t-3); display: flex; flex-wrap: wrap; gap: 0 0.35em; color: var(--bone); }
.hero__mantra span { display: inline-block; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.5rem; }
.hero__when { font: 600 0.98rem/1.3 var(--serif); color: var(--ash); }
.cue {
  position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); display: none; align-items: center; gap: 0.6rem;
  font: 600 0.95rem/1 var(--serif); color: var(--bone); white-space: nowrap;
}
html.story .cue { display: flex; }
.cue__flame { width: 0.7rem; height: 0.7rem; background: var(--torch); transform: rotate(45deg); box-shadow: 0 0 14px 3px rgb(247 166 59 / 0.7); animation: flame 1.6s ease-in-out infinite; }
@keyframes flame { 50% { transform: rotate(45deg) translate(3px, 3px); opacity: 0.55; } }
@media (max-width: 899px), (max-aspect-ratio: 5/4) {
  .hero__logo { width: min(72%, 19rem); margin-left: -0.8rem; }
  .cue { display: none !important; }
  .scene--inn .scene__shade { background: linear-gradient(to top, rgb(6 8 18 / 0.96) 0, rgb(6 8 18 / 0.72) 45%, rgb(6 8 18 / 0) 80%); }
}

/* rarities: a real ladder, lowest to highest */
.rarities { display: flex; flex-wrap: wrap; gap: 0.45rem 0.4rem; margin-top: 0.3rem; }
.rarities li {
  font: 600 0.92rem/1 var(--serif); color: var(--c); padding: 0.5em 0.7em 0.5em 0.6em;
  background: rgb(6 8 18 / 0.72); box-shadow: inset 0 -2px 0 var(--c);
  clip-path: polygon(0.4em 0, 100% 0, 100% calc(100% - 0.4em), calc(100% - 0.4em) 100%, 0 100%, 0 0.4em);
}

/* the last scene: out of the keep */
.scene--out { background: radial-gradient(ellipse 90% 80% at 50% 45%, #14306b 0, #0b1532 45%, var(--night) 100%); }
.out__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 42%, rgb(62 176 255 / 0.35) 0, rgb(62 176 255 / 0) 42%); }
.scene--out .scene__copy { align-self: center; justify-self: center; justify-items: center; text-align: center; width: min(100%, 44rem); padding-top: 6rem; }
.scene--out .hero__cta { justify-content: center; }
.out__crown { width: clamp(5rem, 12vw, 8rem); height: auto; filter: drop-shadow(0 0 30px rgb(62 176 255 / 0.55)); }

/* ---------------------------------------------- Story mode (JS + motion) */
.fog, .slash, .ring, .burst, .motes, .vignette, .feed, .arch { display: none; }
html.story .arch { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; pointer-events: none; will-change: transform, opacity; }
html.story .scene__art img { scale: 1.03; }
html.story .clock { transition: opacity 0.4s; }
html.raid-done .clock { opacity: 0; }
html.raid-done .hud { background: linear-gradient(rgb(6 8 18 / 0.92), rgb(6 8 18 / 0.7) 70%, rgb(6 8 18 / 0)); }

html.story .raid { height: calc(var(--screens, 10) * 100vh + 100vh); }
html.story .stage { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; background: var(--night); }
html.story .scene { position: absolute; inset: 0; min-height: 0; }
html.story .scene:not(.scene--inn) { visibility: hidden; }
html.story .scene__copy > * { will-change: transform, opacity; }

html.story .vignette { display: block; position: absolute; inset: 0; pointer-events: none; z-index: 6; background: radial-gradient(ellipse at 50% 50%, rgb(0 0 0 / 0) 55%, rgb(3 4 10 / 0.6) 100%); }
html.story .motes { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; mix-blend-mode: screen; }

/* grave-rot: a bank of green fog that climbs the screen */
html.story .fog {
  display: block; position: absolute; left: -15%; right: -15%; top: 0; height: 150%; z-index: 4; pointer-events: none;
  will-change: transform;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 24%); mask-image: linear-gradient(to bottom, transparent 0, #000 24%);
  background: linear-gradient(to bottom, rgb(126 214 34 / 0) 0, rgb(104 196 28 / 0.62) 26%, rgb(46 122 16 / 0.9) 62%, rgb(20 66 10 / 0.97) 100%);
}
.fog i { position: absolute; inset: -6% 0 0; background:
    radial-gradient(ellipse 22% 16% at 14% 12%, rgb(190 255 80 / 0.55), transparent 70%),
    radial-gradient(ellipse 28% 18% at 46% 7%, rgb(160 240 50 / 0.5), transparent 70%),
    radial-gradient(ellipse 24% 20% at 80% 13%, rgb(200 255 96 / 0.5), transparent 70%),
    radial-gradient(ellipse 30% 22% at 64% 30%, rgb(120 210 30 / 0.45), transparent 70%);
  filter: blur(22px); animation: fog-drift 17s ease-in-out infinite alternate; }
.fog i + i { animation-duration: 23s; animation-direction: alternate-reverse; opacity: 0.8; transform: scaleX(-1); }
@keyframes fog-drift { from { translate: -7% 0; } to { translate: 7% -3%; } }

/* the blade cut between the vault and the rivals */
html.story .scene--rivals { clip-path: polygon(calc(100% - var(--cut, 0) * 140%) 0, 100% 0, 100% 100%, calc(140% - var(--cut, 0) * 140%) 100%); }
html.story .slash {
  display: block; position: absolute; top: 0; bottom: 0; width: 40%; left: calc(100% - var(--cut, 0) * 140%); z-index: 3; pointer-events: none; opacity: var(--cut-glow, 0);
  background: linear-gradient(to top right, rgb(255 255 255 / 0) calc(50% - 5px), rgb(255 214 150 / 0.9) calc(50% - 1px), #fff 50%, rgb(255 214 150 / 0.9) calc(50% + 1px), rgb(255 255 255 / 0) calc(50% + 5px));
  filter: drop-shadow(0 0 12px rgb(247 166 59 / 0.9));
}

/* the portal opening inside the rot */
html.story .scene--portal { clip-path: circle(var(--open, 0px) at var(--px, 70%) var(--py, 45%)); }
html.story .ring {
  display: block; position: absolute; left: var(--px, 70%); top: var(--py, 45%); width: 100px; height: 100px; margin: -50px 0 0 -50px; border-radius: 50%; z-index: 3; pointer-events: none;
  box-shadow: 0 0 0 2px rgb(190 232 255 / 0.9), 0 0 22px 8px rgb(62 176 255 / 0.85), inset 0 0 18px 4px rgb(62 176 255 / 0.6);
  opacity: 0; will-change: transform, opacity;
}
html.story .burst {
  display: block; position: absolute; left: var(--px, 70%); top: var(--py, 45%); width: 100px; height: 100px; margin: -50px 0 0 -50px; border-radius: 50%; z-index: 7; pointer-events: none;
  background: radial-gradient(circle, #fff 0, #dff3ff 22%, rgb(62 176 255 / 0.95) 46%, rgb(21 87 220 / 0.55) 68%, rgb(21 87 220 / 0) 100%);
  opacity: 0; will-change: transform, opacity;
}

/* the event feed, in the voice of the game's own HUD */
html.story .feed { display: block; position: absolute; right: clamp(0.9rem, 2.5vw, 2rem); top: 5.2rem; z-index: 8; width: min(21rem, 70vw); pointer-events: none; }
.toast {
  position: absolute; right: 0; top: 0; width: 100%; display: grid; gap: 0.15rem; padding: 0.7rem 0.9rem 0.75rem 1rem;
  background: rgb(8 10 22 / 0.86); border-left: 3px solid var(--portal); font-size: 0.95rem; line-height: 1.3;
  opacity: 0; transform: translateX(1.5rem); transition: opacity 0.35s, transform 0.5s var(--ease-out);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.toast strong { font: 600 1rem/1.2 var(--serif); color: var(--portal); }
.toast span { color: var(--bone); }
.toast--rot { border-left-color: var(--rot); }
.toast--rot strong { color: var(--rot); }
.toast.is-on { opacity: 1; transform: none; }
@media (max-width: 760px) { html.story .feed { top: 4.2rem; right: 0.75rem; } .toast { font-size: 0.88rem; padding: 0.55rem 0.7rem 0.6rem 0.8rem; } }

/* --------------------------------------------------- After the raid */
.band { padding: clamp(4.5rem, 11vw, 9rem) var(--gutter); max-width: 96rem; margin: 0 auto; }
.band__head { display: grid; gap: 1.1rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); max-width: 60rem; }
.band__head h2 { font-size: var(--t-4); }

/* footage: a named list drives one screen */
.reel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(13rem, 17rem); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.reel__screen { position: relative; background: #05060f; clip-path: polygon(1.4rem 0, 100% 0, 100% calc(100% - 1.4rem), calc(100% - 1.4rem) 100%, 0 100%, 0 1.4rem); }
.reel__video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.reel__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.4rem 1rem 1.6rem; font: 600 1.05rem/1.3 var(--serif); background: linear-gradient(rgb(5 6 15 / 0), rgb(5 6 15 / 0.88)); }
.reel__list { display: grid; }
.reel__list button {
  text-align: left; padding: 0.85rem 0 0.85rem 1.1rem; background: none; border: 0; border-left: 3px solid rgb(239 230 207 / 0.14); cursor: pointer;
  font: 400 1.5rem/1.1 var(--display); color: var(--dust); transition: color 0.2s, border-color 0.2s, padding-left 0.3s var(--ease-out);
}
.reel__list button:hover { color: var(--bone); }
.reel__list button[aria-pressed="true"] { color: var(--bone); border-left-color: var(--torch); padding-left: 1.5rem; }
@media (max-width: 860px) {
  .reel { grid-template-columns: 1fr; }
  .reel__list { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; gap: 0.25rem; padding-bottom: 0.5rem; scrollbar-width: thin; }
  .reel__list button { border-left: 0; border-bottom: 3px solid rgb(239 230 207 / 0.14); padding: 0.6rem 0.9rem; font-size: 1.3rem; white-space: nowrap; }
  .reel__list button[aria-pressed="true"] { padding-left: 0.9rem; border-bottom-color: var(--torch); }
  .reel__caption { font-size: 0.92rem; padding: 2rem 1rem 0.7rem 1rem; }
}

/* classes: six banners that open when you point at one */
.lineup { display: flex; gap: 0.5rem; height: clamp(24rem, 62vh, 40rem); }
.lineup li {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: var(--stone);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.2rem), 50% 100%, 0 calc(100% - 1.2rem));
  transition: flex-grow 0.6s var(--ease-out);
}
.lineup img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform 0.8s var(--ease-out), filter 0.5s; filter: saturate(0.8) brightness(0.8); }
.lineup div { position: absolute; inset: auto 0 0 0; padding: 4rem 1rem 2.4rem; text-align: center; background: linear-gradient(rgb(8 10 22 / 0), rgb(8 10 22 / 0.94) 60%); }
.lineup h3 { font: 400 clamp(1.5rem, 2.1vw, 2.2rem)/1 var(--display); }
.lineup p { font-size: 0.98rem; line-height: 1.35; color: var(--ash); max-width: 17em; margin: 0.4rem auto 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.5s var(--ease-out), opacity 0.4s; }
@media (hover: hover) and (min-width: 861px) {
  .lineup li:hover { flex-grow: 2.3; }
  .lineup li:hover img { filter: none; transform: scale(1.04); }
  .lineup li:hover p { max-height: 5em; opacity: 1; }
}
@media (hover: none), (max-width: 860px) {
  .lineup { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .lineup li { flex: 0 0 min(68vw, 19rem); height: min(100vw, 27rem); scroll-snap-align: center; }
  .lineup img { filter: none; }
  .lineup p { max-height: none; opacity: 1; }
}

/* dates: a real sequence, so it is drawn as one */
.dates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgb(239 230 207 / 0.18); }
.dates li { position: relative; padding: 1.9rem 2rem 0 0; display: grid; gap: 0.5rem; align-content: start; justify-items: start; }
.dates li::before { content: ""; position: absolute; left: 0; top: -6px; width: 11px; height: 11px; transform: rotate(45deg); background: var(--torch); }
.dates li:nth-child(2)::before { background: var(--rot); }
.dates li:nth-child(3)::before { background: var(--portal); }
.dates time { font: 600 1rem/1.2 var(--serif); color: var(--ash); }
.dates h3 { font: 400 var(--t-3)/1 var(--display); }
.dates p { color: var(--ash); max-width: 26em; }
.solo { margin-top: clamp(2.5rem, 6vw, 4.5rem); font-size: var(--t-1); line-height: 1.45; max-width: 36em; }
@media (max-width: 860px) {
  .dates { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid rgb(239 230 207 / 0.18); }
  .dates li { padding: 0 0 2.2rem 1.6rem; }
  .dates li::before { left: -6px; top: 0.35rem; }
}

/* closing */
.closing { position: relative; min-height: min(86vh, 52rem); display: grid; place-items: center; overflow: hidden; isolation: isolate; text-align: center; padding: 6rem var(--gutter); }
.closing__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; z-index: -2; }
.closing::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgb(10 13 28 / 1) 0, rgb(10 13 28 / 0.55) 30%, rgb(10 13 28 / 0.55) 70%, #070916 100%); }
.closing__copy { display: grid; gap: 1.5rem; justify-items: center; }
.closing h2 { font-size: var(--t-5); text-shadow: 0 4px 40px rgb(4 6 14 / 0.9); }

/* screenshots under the reel */
.shots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.5rem; margin-top: clamp(1.25rem, 3vw, 2.5rem); }
.shots a { display: block; overflow: hidden; background: #05060f; clip-path: polygon(0.7rem 0, 100% 0, 100% calc(100% - 0.7rem), calc(100% - 0.7rem) 100%, 0 100%, 0 0.7rem); }
.shots img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(0.85) brightness(0.82); transition: transform 0.6s var(--ease-out), filter 0.3s; }
.shots a:hover img, .shots a:focus-visible img { transform: scale(1.05); filter: none; }
.shots a:focus-visible { outline-offset: -3px; }
@media (max-width: 860px) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* the keep: a cutaway you can point at */
@property --sx { syntax: "<percentage>"; inherits: true; initial-value: 61%; }
@property --sy { syntax: "<percentage>"; inherits: true; initial-value: 14.5%; }
.keep { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.keep__art {
  position: sticky; top: 5.5rem; justify-self: center; width: min(100%, calc((100vh - 7.5rem) * 2 / 3)); aspect-ratio: 2 / 3; overflow: hidden; background: var(--night-2);
  clip-path: polygon(1.6rem 0, 100% 0, 100% calc(100% - 1.6rem), calc(100% - 1.6rem) 100%, 0 100%, 0 1.6rem);
  transition: --sx 0.7s var(--ease-out), --sy 0.7s var(--ease-out);
}
.keep__art img { width: 100%; height: 100%; object-fit: cover; }
.keep__art::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--sx) var(--sy), rgb(6 8 18 / 0) 0, rgb(6 8 18 / 0) 15%, rgb(6 8 18 / 0.62) 46%); }
.keep__spots { position: absolute; inset: 0; z-index: 1; }
.keep__spots button {
  position: absolute; left: var(--x); top: var(--y); width: 2.75rem; height: 2.75rem; margin: -1.375rem 0 0 -1.375rem; padding: 0; border: 0; background: none; cursor: pointer;
}
.keep__spots button::before {
  content: ""; position: absolute; inset: 0.85rem; transform: rotate(45deg); background: var(--night); border: 2px solid var(--c, var(--bone));
  transition: inset 0.3s var(--ease-out), background-color 0.3s, box-shadow 0.3s;
}
.keep__spots button:hover::before { inset: 0.7rem; }
.keep__spots button.is-on::before { inset: 0.6rem; background: var(--c, var(--bone)); box-shadow: 0 0 0 5px rgb(6 8 18 / 0.55), 0 0 22px 6px color-mix(in srgb, var(--c, #fff) 70%, transparent); }
.keep__text { display: grid; gap: 1.25rem; align-content: start; padding-top: clamp(0rem, 3vw, 3rem); }
.keep__text h2 { font-size: var(--t-4); }
.places { margin-top: 0.75rem; border-left: 1px solid rgb(239 230 207 / 0.16); }
.places li { position: relative; padding-left: 1.5rem; }
.places li::before { content: ""; position: absolute; left: -5px; top: 1.15rem; width: 9px; height: 9px; transform: rotate(45deg); background: var(--night); border: 1.5px solid var(--dust); transition: background-color 0.3s, border-color 0.3s; }
.places li.is-on::before { background: var(--c); border-color: var(--c); }
.places h3 { font: inherit; }
.places button {
  display: block; width: 100%; text-align: left; padding: 0.55rem 0; background: none; border: 0; cursor: pointer;
  font: 400 var(--t-2)/1.1 var(--display); color: var(--dust); transition: color 0.2s;
}
.places button:hover { color: var(--bone); }
.places li.is-on button { color: var(--bone); }
.places p { color: var(--ash); max-width: 30em; overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.5s var(--ease-out), opacity 0.4s, padding 0.4s; }
.places li.is-on p { max-height: 8em; opacity: 1; padding-bottom: 0.9rem; }
.keep__note { color: var(--ash); max-width: 34em; padding-top: 1rem; border-top: 1px solid rgb(239 230 207 / 0.12); }
/* without JS every place is simply listed */
html:not(.js) .places p { max-height: none; opacity: 1; padding-bottom: 0.9rem; }
html:not(.js) .places button { color: var(--bone); cursor: default; }
html:not(.js) .keep__art::after { display: none; }
@media (max-width: 860px) {
  .keep { grid-template-columns: 1fr; }
  .keep__art { position: relative; top: 0; width: min(100%, 26rem); }
  .keep__text { padding-top: 0; }
}

/* system requirements */
.specs { margin-top: clamp(3rem, 7vw, 5rem); max-width: 58rem; }
.specs h3 { font: 400 var(--t-3)/1 var(--display); margin-bottom: 1.25rem; }
.specs table { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.4; }
.specs th, .specs td { text-align: left; vertical-align: top; padding: 0.7rem 1.25rem 0.7rem 0; border-bottom: 1px solid rgb(239 230 207 / 0.12); }
.specs thead th { font: 600 1rem/1.2 var(--serif); color: var(--bone); border-bottom-color: rgb(239 230 207 / 0.3); }
.specs tbody th { font-weight: 500; color: var(--dust); width: 7.5rem; white-space: nowrap; }
.specs td { color: var(--bone); }
.specs p { margin-top: 1.1rem; color: var(--ash); max-width: 40em; }
@media (max-width: 560px) { .specs table { font-size: 0.92rem; } .specs tbody th { width: auto; white-space: normal; } .specs th, .specs td { padding-right: 0.7rem; } }

/* screenshot viewer */
.lightbox { width: min(96vw, 110rem); max-width: none; max-height: 96vh; padding: 0; border: 0; background: transparent; color: var(--bone); overflow: visible; }
.lightbox::backdrop { background: rgb(4 5 12 / 0.92); }
.lightbox figure { display: grid; gap: 0.75rem; justify-items: center; }
.lightbox img { width: auto; height: auto; max-width: 100%; max-height: calc(96vh - 7.5rem); background: #05060f; }
.lightbox figcaption { font: 600 1.05rem/1.3 var(--serif); text-align: center; }
.lightbox__bar { display: flex; justify-content: center; align-items: center; gap: 0.5rem; margin-top: 0.75rem; }
.lightbox__bar button { padding: 0.6rem 1rem; background: rgb(239 230 207 / 0.08); border: 0; box-shadow: inset 0 0 0 1.5px rgb(239 230 207 / 0.4); font: 700 0.95rem/1 var(--sans); cursor: pointer; }
.lightbox__bar button:hover { background: rgb(239 230 207 / 0.18); }
.lightbox__count { min-width: 4.5em; text-align: center; font: 600 0.95rem/1 var(--serif); color: var(--ash); font-variant-numeric: tabular-nums; }
