* { box-sizing: border-box; }

:root {
  color-scheme: dark;
  font: 16px/1.55 "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #fff8f3;
  background: #191520;
  --muted: #c1b5c9;
  --lavender: #d8b9f1;
  --line: #e4d0f028;
}

body {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  min-block-size: 100svh;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--lavender); outline-offset: 4px; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 4;
  inset: 1rem auto auto 1rem;
  padding: .65rem 1rem;
  transform: translateY(-200%);
  background: #191520;
}
.skip-link:focus { transform: translateY(0); }

.rail {
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 3.5rem;
  min-width: 0;
  padding: 2rem 1.35rem 1.65rem;
  border-inline-end: 1px solid var(--line);
  background: #191520;
}

.wordmark { display: flex; align-items: center; gap: .75rem; width: fit-content; }
.wordmark-symbol {
  display: grid;
  place-content: center;
  grid-auto-flow: column;
  align-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: .65rem;
  background: #dec7f0;
  color: #261b31;
  font: italic 800 1.65rem/1 Georgia, serif;
}
.wordmark-symbol span { color: #784699; }
.wordmark-name { font-size: .95rem; font-weight: 750; letter-spacing: .025em; }

.works-nav h2 {
  margin: 0 0 .8rem .55rem;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .18em;
}
.works-nav ul { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.work-link {
  display: flex;
  align-items: center;
  gap: .7rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  padding: .5rem;
  background: #221b2b;
  font-size: .875rem;
  font-weight: 600;
}
.work-link img { display: block; flex: none; border-radius: .44rem; }
.work-link:hover, .work-link[aria-current="page"] { border-color: #d2a8ee83; background: #33253f; }
.github-link { width: fit-content; padding: .35rem .55rem; color: var(--muted); font-size: .875rem; }
.github-link:hover, .back-link:hover { color: #fff8f3; text-decoration: underline; }

.hero {
  --subject: 64%;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  min-width: 0;
  min-height: 42rem;
  padding-inline: clamp(2rem, 6.4vw, 7.25rem);
  background: #1b1623;
}
.hero-work { --subject: 58%; }
.backdrop, .backdrop::after, .backdrop > * { position: absolute; inset: 0; }
.backdrop { z-index: -1; overflow: hidden; }
.backdrop > * {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--subject) center;
}
.backdrop-video { opacity: 0; transition: opacity .3s ease; }
.backdrop-video.is-visible { opacity: 1; }
.backdrop::after {
  content: "";
  background:
    linear-gradient(0deg, #100b17ed, #160f2030 25%, transparent 52%),
    linear-gradient(90deg, #1b1527fa, #1b1527c8 26%, #22162955 52%, #100b1720 100%);
}

.hero-copy {
  align-self: center;
  width: min(100%, 45rem);
  padding-block: 4rem 2.5rem;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.15rem;
  color: #e4c5fa;
  font-size: .875rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .23em;
}
.hero-kicker::before { content: ""; width: 1.45rem; height: 1px; background: currentColor; }
.studio-title {
  margin: 0 0 2.2rem -.07em;
  font-size: clamp(4rem, 8vw, 8.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: .025em;
}
.studio-title span { display: block; color: #e4c8f3; }
.art-title { margin: 0 0 1rem; font-size: 1.05rem; }
.work-name { display: block; margin-bottom: .7rem; color: #ead0f8; font-weight: 650; letter-spacing: .14em; }
.art-title-lockup {
  display: grid;
  justify-items: start;
  gap: .12rem;
  width: min(23rem, 95%);
  margin-inline-start: -.15rem;
  filter: drop-shadow(0 .4rem 1.1rem #140b20c0);
}
.art-title-lockup img { display: block; height: auto; }
.art-title-lockup img:first-child { width: 54%; margin-inline-start: 5%; }
.art-title-lockup img:last-child { width: 100%; }
.work-description { max-width: 27rem; margin: 0 0 1.35rem; color: #f1e5ec; line-height: 1.7; text-wrap: pretty; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-block-size: 3rem;
  padding: .6rem 1.25rem;
  border: 1px solid transparent;
  border-radius: .5rem;
  font-size: .95rem;
  font-weight: 720;
}
.button-primary { background: #eddbf8; color: #271a31; }
.button-primary:hover { background: #fff3ff; }
.button-secondary { border-color: #f3dbf38a; background: #2b2036d4; }
.button-secondary:hover { background: #493456; }
.button-unavailable { border-color: #e4d0f048; background: #2a2135b3; color: #c8b9cd; }
.release-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.release-status { margin: .65rem 0 0; color: var(--muted); font-size: .875rem; }
