/*
 * LORK portal: three "doors" on a night sky. Each world has its own light (gold, teal, violet); the page takes the colour of
 * the door under the pointer or the keyboard focus. Everything moves only for people who did not ask for less motion.
 * No inline styles anywhere (the page's CSP allows only this file); JS sets custom properties through the CSSOM.
 */
@font-face {
  font-family: "Plex Arabic";
  src: url("/fonts/plex-arabic-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "Plex Arabic";
  src: url("/fonts/plex-arabic-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "Plex Arabic";
  src: url("/fonts/plex-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2190-21FF;
}
@font-face {
  font-family: "Plex Arabic";
  src: url("/fonts/plex-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2190-21FF;
}

:root {
  color-scheme: dark;
  --bg: #07070a;
  --ink: #f4efe4;
  --muted: #b3ad9f;
  --faint: #7d7768;
  --line: rgb(255 255 255 / 0.08);
  --gold-1: #f6dc8b;
  --gold-2: #d4a72c;
  --teal-1: #8ff5e4;
  --teal-2: #14b8a6;
  --violet-1: #ddd0ff;
  --violet-2: #8b5cf6;
  /* the light of the active world: gold until another door is chosen */
  --accent-1: var(--gold-1);
  --accent-2: var(--gold-2);
  --accent-rgb: 212 167 44;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
body[data-active="print"] {
  --accent-1: var(--teal-1);
  --accent-2: var(--teal-2);
  --accent-rgb: 20 184 166;
}
body[data-active="store"] {
  --accent-1: var(--violet-1);
  --accent-2: var(--violet-2);
  --accent-rgb: 139 92 246;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plex Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
.defs {
  position: absolute;
}

/* ---- the sky and the aurora ------------------------------------------------------------------------------------------- */
.sky {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.aurora {
  position: fixed;
  inset: -20% -10% auto;
  height: 90vh;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(40% 50% at 70% 30%, rgb(var(--accent-rgb) / 0.22), transparent 70%),
    radial-gradient(35% 45% at 25% 20%, rgb(var(--accent-rgb) / 0.12), transparent 70%);
  filter: blur(20px);
  transition: background 0.8s var(--ease);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  to {
    transform: translate3d(0, 4vh, 0) scale(1.06);
  }
}

/* ---- header ------------------------------------------------------------------------------------------------------------ */
.top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem clamp(1rem, 4vw, 2.5rem);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.brand__mark {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 10px rgb(212 167 44 / 0.45));
}
.brand__name {
  font-family: "Plex Arabic", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.24em;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.top__nav {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 2vw, 1.6rem);
  font-size: 0.95rem;
}
.top__nav a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s;
}
.top__nav a:hover,
.top__nav a:focus-visible {
  color: var(--ink);
}
.top__nav .lang {
  padding: 0.3rem 0.85rem;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 999px;
  color: var(--ink);
}
.top__nav .lang:hover {
  border-color: var(--accent-2);
}

/* ---- hero -------------------------------------------------------------------------------------------------------------- */
main {
  position: relative;
  z-index: 1;
}
.hero {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(1.5rem, 5vh, 3.5rem) 1.25rem clamp(1.5rem, 4vh, 2.5rem);
  text-align: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.3rem 0.9rem;
  border: 1px solid rgb(var(--accent-rgb) / 0.35);
  border-radius: 999px;
  background: rgb(var(--accent-rgb) / 0.08);
  color: var(--accent-1);
  font-size: 0.9rem;
  transition:
    color 0.6s,
    border-color 0.6s,
    background 0.6s;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgb(var(--accent-rgb) / 0.6);
  animation: ping 2.2s ease-out infinite;
}
@keyframes ping {
  to {
    box-shadow: 0 0 0 10px rgb(var(--accent-rgb) / 0);
  }
}
.hero__title {
  margin: 0;
  font-size: clamp(2.6rem, 8vw, 5.4rem);
  line-height: 1.1;
  font-weight: 700;
}
.shimmer {
  background: linear-gradient(
    100deg,
    var(--accent-2) 10%,
    var(--accent-1) 40%,
    #fff 50%,
    var(--accent-1) 60%,
    var(--accent-2) 90%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -150% 0;
  }
}
.hero__lead {
  margin: 1rem auto 0;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
}

/* ---- the three doors --------------------------------------------------------------------------------------------------- */
.worlds {
  display: flex;
  gap: 1rem;
  max-width: 1280px;
  height: clamp(540px, 70vh, 660px);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}
.door {
  --c1: var(--gold-1);
  --c2: var(--gold-2);
  --rgb: 212 167 44;
  --mx: 50%;
  --my: 30%;
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(120% 80% at 50% 0%, rgb(var(--rgb) / 0.16), transparent 60%),
    linear-gradient(180deg, #131317, #0b0b0e);
  border: 1px solid var(--line);
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry));
  transition:
    flex-grow 0.7s var(--ease),
    border-color 0.4s,
    box-shadow 0.5s,
    transform 0.25s ease-out;
  outline: none;
}
.door[data-world="print"] {
  --c1: var(--teal-1);
  --c2: var(--teal-2);
  --rgb: 20 184 166;
}
.door[data-world="store"] {
  --c1: var(--violet-1);
  --c2: var(--violet-2);
  --rgb: 139 92 246;
}
/* the edge lights up where the pointer is */
.door::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx) var(--my), var(--c1), var(--c2) 30%, transparent 65%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box exclude,
    linear-gradient(#000 0 0);
  opacity: 0.35;
  transition: opacity 0.4s;
  z-index: 2;
  pointer-events: none;
}
/* a soft light inside, following the pointer */
.door::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgb(var(--rgb) / 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 0;
  pointer-events: none;
}
.door.is-active {
  flex-grow: 2.1;
  border-color: rgb(var(--rgb) / 0.5);
  box-shadow:
    0 30px 80px -30px rgb(var(--rgb) / 0.55),
    0 0 0 1px rgb(var(--rgb) / 0.2);
}
.door.is-active::before,
.door.is-active::after {
  opacity: 1;
}
.door:focus-visible {
  box-shadow:
    0 0 0 3px var(--bg),
    0 0 0 5px var(--c1);
}
.door > * {
  position: relative;
  z-index: 1;
}

.door__num {
  position: absolute;
  inset-block-start: 1.1rem;
  inset-inline-start: 1.3rem;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: rgb(var(--rgb) / 0.8);
  font-weight: 700;
}
.door__badge {
  position: absolute;
  inset-block-start: 1rem;
  inset-inline-end: 1.1rem;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  display: none;
}
.door[data-state="live"] .door__badge--live {
  display: inline-block;
  color: #06261f;
  background: linear-gradient(135deg, #a7f3d0, #34d399);
}
.door[data-state="soon"] .door__badge--soon {
  display: inline-block;
  color: var(--c1);
  border: 1px solid rgb(var(--rgb) / 0.5);
  background: rgb(var(--rgb) / 0.12);
}

/* the art sits in the upper part of the door and grows with it */
.door__art {
  position: absolute;
  inset: 3rem 1rem auto;
  height: 40%;
  display: grid;
  place-items: center;
  transition: transform 0.7s var(--ease);
}
.door.is-active .door__art {
  transform: scale(1.08) translateY(4px);
}

.door__body {
  display: grid;
  gap: 0.55rem;
}
.door__kicker {
  font-size: 0.85rem;
  color: var(--c1);
  font-weight: 700;
}
.door__title {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 700;
  line-height: 1.3;
}
.door__line {
  color: var(--muted);
  font-size: 0.97rem;
  max-width: 46ch;
}
.door__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.door__chips span {
  font-size: 0.8rem;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgb(var(--rgb) / 0.35);
  color: var(--c1);
  background: rgb(var(--rgb) / 0.07);
}
.door__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  justify-self: start;
  margin-top: 0.4rem;
  padding: 0.7rem 1.3rem;
  border-radius: 12px;
  font-weight: 700;
  color: #0b0b0e;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: 0 12px 30px -12px rgb(var(--rgb) / 0.8);
  transition:
    transform 0.25s var(--ease),
    filter 0.25s;
}
.door[data-state="soon"] .door__cta {
  color: var(--c1);
  background: transparent;
  border: 1px solid rgb(var(--rgb) / 0.5);
  box-shadow: none;
}
.door:hover .door__cta,
.door:focus-visible .door__cta {
  transform: translateX(calc(-4px * var(--dir, 1)));
  filter: brightness(1.08);
}
.arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.door:hover .arrow {
  transform: translateX(calc(-5px * var(--dir, 1)));
}
[dir="ltr"] {
  --dir: -1;
}

/* the details of a door show fully when it is open (always on narrow screens) */
.door__line,
.door__chips {
  transition:
    opacity 0.5s var(--ease),
    max-height 0.6s var(--ease);
}
@media (min-width: 900px) {
  .worlds:has(.door.is-active) .door:not(.is-active) .door__line,
  .worlds:has(.door.is-active) .door:not(.is-active) .door__chips {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
  }
}

/* ---- art 1: a game screen whose title turns Arabic ------------------------------------------------------------------- */
.screen {
  position: relative;
  width: min(260px, 82%);
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  border: 1px solid rgb(var(--rgb) / 0.45);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.04), transparent),
    repeating-linear-gradient(0deg, rgb(255 255 255 / 0.025) 0 2px, transparent 2px 4px), #0d0c09;
  box-shadow:
    inset 0 0 40px rgb(var(--rgb) / 0.12),
    0 20px 50px -20px rgb(var(--rgb) / 0.6);
  overflow: hidden;
}
.screen__bar {
  position: absolute;
  inset: 0 0 auto;
  height: 14px;
  background: rgb(var(--rgb) / 0.12);
  border-bottom: 1px solid rgb(var(--rgb) / 0.25);
}
.screen__glyph {
  position: absolute;
  inset: 14px 0 26px;
  display: grid;
  place-items: center;
  font-size: clamp(3rem, 7vw, 4.6rem);
  font-weight: 700;
  background: linear-gradient(180deg, var(--c1), var(--c2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: glyph 6s var(--ease) infinite;
}
.screen__glyph--ain {
  animation-delay: -3s;
}
@keyframes glyph {
  0%,
  42% {
    opacity: 1;
    transform: rotateY(0deg) scale(1);
    filter: blur(0);
  }
  50%,
  92% {
    opacity: 0;
    transform: rotateY(90deg) scale(0.85);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: rotateY(0deg) scale(1);
    filter: blur(0);
  }
}
.screen__sub {
  position: absolute;
  inset: auto 10% 8px;
  height: 20px;
  border-radius: 4px;
  background: rgb(0 0 0 / 0.55);
  font-size: 0.72rem;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.sub {
  position: absolute;
  inset: 0;
  line-height: 20px;
  animation: subs 6s var(--ease) infinite;
}
.sub--ar {
  animation-delay: -3s;
}
@keyframes subs {
  0%,
  44% {
    opacity: 1;
    transform: translateY(0);
  }
  50%,
  94% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- art 2: a printer building a model layer by layer ---------------------------------------------------------------- */
.printer {
  position: relative;
  width: min(240px, 80%);
  aspect-ratio: 1 / 0.85;
}
.printer__rail {
  position: absolute;
  inset: 6% 0 auto;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, transparent, rgb(var(--rgb) / 0.6), transparent);
}
.printer__head {
  position: absolute;
  top: 2%;
  left: 20%;
  width: 34px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(180deg, #2a2a30, #17171b);
  border: 1px solid rgb(var(--rgb) / 0.6);
  animation: head 2.4s ease-in-out infinite alternate;
}
.printer__nozzle {
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 8px;
  height: 10px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #ccc, #777);
  clip-path: polygon(0 0, 100% 0, 60% 100%, 40% 100%);
}
.printer__nozzle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--c1);
  box-shadow: 0 0 12px 4px rgb(var(--rgb) / 0.7);
}
@keyframes head {
  from {
    left: 20%;
  }
  to {
    left: calc(80% - 34px);
  }
}
.model {
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 12%;
  display: flex;
  flex-direction: column-reverse;
  gap: 2px;
}
.layer {
  height: 9px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--c2), var(--c1), var(--c2));
  box-shadow: 0 0 10px rgb(var(--rgb) / 0.35);
  transform-origin: center;
  opacity: 0;
  animation: layer 8s ease-out infinite;
}
.layer:nth-child(1) {
  animation-delay: 0s;
  margin-inline: 0;
}
.layer:nth-child(2) {
  animation-delay: 0.7s;
  margin-inline: 2%;
}
.layer:nth-child(3) {
  animation-delay: 1.4s;
  margin-inline: 5%;
}
.layer:nth-child(4) {
  animation-delay: 2.1s;
  margin-inline: 9%;
}
.layer:nth-child(5) {
  animation-delay: 2.8s;
  margin-inline: 14%;
}
.layer:nth-child(6) {
  animation-delay: 3.5s;
  margin-inline: 20%;
}
.layer:nth-child(7) {
  animation-delay: 4.2s;
  margin-inline: 27%;
}
.layer:nth-child(8) {
  animation-delay: 4.9s;
  margin-inline: 35%;
}
@keyframes layer {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }
  6%,
  85% {
    opacity: 1;
    transform: scaleX(1);
  }
  100% {
    opacity: 0;
    transform: scaleX(1);
  }
}
.printer__bed {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 6%;
  height: 10px;
  border-radius: 4px;
  background: repeating-linear-gradient(90deg, rgb(var(--rgb) / 0.35) 0 2px, transparent 2px 12px), #18181c;
  border: 1px solid rgb(var(--rgb) / 0.4);
}

/* ---- art 3: game cards floating in 3D --------------------------------------------------------------------------------- */
.cards {
  position: relative;
  width: min(250px, 82%);
  aspect-ratio: 1.3;
  perspective: 900px;
}
.gcard {
  position: absolute;
  width: 58%;
  aspect-ratio: 1.58;
  border-radius: 14px;
  background:
    radial-gradient(120% 120% at 0% 0%, rgb(255 255 255 / 0.18), transparent 50%),
    linear-gradient(135deg, var(--c2), #3b1d7a 60%, #120a26);
  border: 1px solid rgb(var(--rgb) / 0.6);
  box-shadow: 0 18px 40px -16px rgb(var(--rgb) / 0.8);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}
.gcard--1 {
  inset-inline-start: 4%;
  top: 30%;
  transform: rotate(-14deg);
  animation-delay: 0s;
}
.gcard--2 {
  inset-inline-start: 22%;
  top: 14%;
  transform: rotate(-2deg);
  animation-delay: -2s;
  z-index: 1;
}
.gcard--3 {
  inset-inline-start: 40%;
  top: 34%;
  transform: rotate(12deg);
  animation-delay: -4s;
}
@keyframes float {
  50% {
    translate: 0 -10px;
    rotate: 0 1 0 12deg;
  }
}
.gcard__key {
  position: absolute;
  inset-inline-start: 10%;
  bottom: 12%;
  font-family: ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: rgb(255 255 255 / 0.85);
  direction: ltr;
}
.gcard__shine {
  position: absolute;
  inset: -50%;
  background: linear-gradient(115deg, transparent 40%, rgb(255 255 255 / 0.35) 50%, transparent 60%);
  animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine {
  0%,
  60% {
    transform: translateX(-60%);
  }
  100% {
    transform: translateX(60%);
  }
}

/* ---- why LORK ---------------------------------------------------------------------------------------------------------- */
.why {
  max-width: 1280px;
  margin: clamp(3rem, 8vh, 5rem) auto 0;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}
.why__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.why__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.why__item {
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.03), transparent);
  transition:
    border-color 0.3s,
    transform 0.3s var(--ease);
}
.why__item:hover {
  border-color: rgb(var(--accent-rgb) / 0.45);
  transform: translateY(-3px);
}
.why__item svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--accent-1);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.6s;
}
.why__item span {
  color: var(--muted);
  font-size: 0.93rem;
}

/* ---- footer and toast -------------------------------------------------------------------------------------------------- */
.foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1280px;
  margin: clamp(3rem, 8vh, 5rem) auto 0;
  padding: 1.5rem clamp(1rem, 4vw, 2.5rem) 2rem;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.9rem;
}
.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.foot__links a {
  text-decoration: none;
  color: var(--muted);
}
.foot__links a:hover {
  color: var(--ink);
}
.toast {
  position: fixed;
  inset-inline: 0;
  bottom: 1.5rem;
  z-index: 5;
  width: fit-content;
  margin: 0 auto;
  padding: 0.7rem 1.3rem;
  border-radius: 12px;
  background: #16161b;
  border: 1px solid rgb(var(--accent-rgb) / 0.5);
  color: var(--ink);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.3s,
    transform 0.3s var(--ease);
  pointer-events: none;
}
.toast.is-on {
  opacity: 1;
  transform: translateY(0);
}

/* ---- small screens: the doors stack ----------------------------------------------------------------------------------- */
@media (max-width: 899px) {
  .top__nav a:not(.lang) {
    display: none;
  }
  .worlds {
    flex-direction: column;
    height: auto;
  }
  .door {
    flex: none;
    justify-content: flex-start;
    padding-top: 3.4rem;
    transform: none;
  }
  .door.is-active {
    flex-grow: 0;
  }
  /* on a phone the art takes its own place above the text instead of sitting behind it */
  .door__art {
    position: relative;
    inset: auto;
    height: 190px;
    margin-bottom: 1.25rem;
  }
  .door.is-active .door__art {
    transform: none;
  }
}

/* ---- people who prefer less motion ------------------------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .layer {
    opacity: 1;
  }
  .screen__glyph--a,
  .sub--en {
    opacity: 0;
  }
  .door {
    transform: none;
  }
}
