@import url("/static/css/case-transition.css");

:root {
  background: #101011;
  --case-mono: "IBM Plex Mono", ui-monospace, monospace;
  --case-pearl: linear-gradient(105deg, #bdd6ea, #cccfe9 38%, #e7d4e0 68%, #c5dbec);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #101011;
  color: #f1efea;
  font: 500 15px/1.2 Inter, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
nav {
  flex: none;
  padding: calc(6px + env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 6px max(16px, env(safe-area-inset-left));
}
.back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding-inline: 17px 20px;
  border: 1px solid rgb(241 239 234 / 25%);
  border-radius: 999px;
  font: 400 11px/1.3 var(--case-mono);
  text-transform: uppercase;
  letter-spacing: .18em;
  color: inherit;
  text-decoration: none;
}
.case-tour nav {
  text-align: center;
  padding: 6px max(16px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
.back-icon {
  display: grid;
  place-items: center;
}
.back svg { width: 16px; height: 16px; }
.back:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@media (hover: hover) {
  .back:hover { background: rgb(241 239 234 / 6%); border-color: rgb(241 239 234 / 55%); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .back svg { transition: transform 160ms ease-out; }
  .back:hover svg { transform: translateX(-2px); }
}
iframe { flex: 1; min-height: 0; width: 100%; border: 0; background: #fff; }
.slide-deck {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  background: #0d0c11;
}
.slide-deck img {
  display: block;
  width: 100%;
  max-width: 1920px;
  height: auto;
  margin-inline: auto;
}
.slide-deck summary {
  padding: 1rem;
  text-align: center;
  cursor: pointer;
}
.slide-deck:focus-visible, .slide-deck summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -3px;
}
@media (max-width: 767px), (pointer: coarse) and (max-height: 560px) {
  body {
    padding: env(safe-area-inset-top) env(safe-area-inset-right) 0 env(safe-area-inset-left);
  }
  nav { order: 1; padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); text-align: center; }
}
