@font-face {
  font-family: "Roadkill Alternates";
  src: url("fonts/roadkill-alternates.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Bartina";
  src: url("fonts/bartina-thin.ttf") format("truetype");
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "Bartina";
  src: url("fonts/bartina-light.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Bartina";
  src: url("fonts/bartina-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Bartina";
  src: url("fonts/bartina-semibold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Bartina";
  src: url("fonts/bartina-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg-shift-x: 0px;
  --ink: #f7f2ec;
  --muted: rgba(247, 242, 236, 0.74);
  --blood: #b01019;
  --blood-deep: #62080d;
  --shadow: rgba(0, 0, 0, 0.72);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #07070b;
  cursor: url("assets/cursor-main-24-shadow.png") 0 0, auto;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "Bartina", Georgia, "Times New Roman", serif;
  font-synthesis: none;
  background: #07070b url("assets/hungry-town-bg.jpg") calc(62% + var(--bg-shift-x)) center / cover no-repeat fixed;
}

body::before {
  position: fixed;
  inset: -34px;
  z-index: 0;
  content: "";
  pointer-events: none;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  mask-image: radial-gradient(ellipse at center, transparent 0 54%, rgba(0, 0, 0, 0.55) 70%, #000 86%);
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 0 54%, rgba(0, 0, 0, 0.55) 70%, #000 86%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.48'/%3E%3C/svg%3E"),
    linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.56) 73%, rgba(0, 0, 0, 0.94) 100%),
    radial-gradient(circle at 50% 48%, rgba(8, 7, 11, 0.42), rgba(8, 7, 11, 0.74) 58%, rgba(0, 0, 0, 0.94) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.5) 46%, rgba(0, 0, 0, 0.66)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.36) 36%, rgba(0, 0, 0, 0.95));
  background-size: 180px 180px, auto, auto, auto, auto;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  mix-blend-mode: soft-light;
}

a {
  color: inherit;
  cursor: url("assets/cursor-main-24-shadow.png") 0 0, pointer;
}

.click-red-dot {
  position: fixed;
  z-index: 12;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  pointer-events: none;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(150, 8, 24, 0.88) 0 34%, rgba(96, 4, 16, 0.5) 58%, rgba(96, 4, 16, 0) 72%);
  box-shadow:
    0 0 16px rgba(150, 8, 24, 0.7),
    0 0 34px rgba(92, 4, 18, 0.54);
  filter: blur(3px);
  transform: translate(-50%, -50%) scale(0.45);
  animation: click-red-dot-fade 1.15s ease-out forwards;
}

.intro-fade {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  background: #000;
  animation: intro-fade-out 1.8s ease-out 0.2s forwards;
}

.intro-fade.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.language-trigger,
.audio-trigger,
.volume-slider {
  cursor: url("assets/cursor-main-24-shadow.png") 0 0, pointer;
}

.audio-control {
  position: fixed;
  top: clamp(42px, 4vw, 52px);
  right: calc(clamp(18px, 4vw, 48px) + 56px);
  z-index: 4;
  display: block;
  width: 44px;
  height: 38px;
  max-height: 38px;
  overflow: hidden;
  font-family: "Bartina", Arial, Helvetica, sans-serif;
  background: rgba(7, 4, 7, 0.62);
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    width 260ms cubic-bezier(0.18, 0.8, 0.24, 1),
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.audio-control.is-playing {
  width: 75px;
}

.audio-control:hover {
  width: 210px;
  background: rgba(5, 3, 6, 0.86);
  box-shadow:
    0 0 14px rgba(176, 16, 25, 0.48),
    0 18px 34px rgba(0, 0, 0, 0.58),
    inset 0 0 0 1px rgba(213, 22, 34, 0.5);
}

.audio-trigger {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  width: 44px;
  min-width: 44px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #ff2630;
  background: transparent;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.audio-control:hover .audio-trigger {
  color: #fffaf4;
  transform: translateY(-1px);
}

.audio-equalizer {
  position: absolute;
  top: 50%;
  right: 44px;
  display: inline-flex;
  width: 0;
  height: 14px;
  align-items: end;
  justify-content: center;
  gap: 2px;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-50%) translateX(5px);
  transition:
    width 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

.audio-equalizer span {
  display: block;
  width: 4px;
  height: 4px;
  background: #ff2630;
  box-shadow: 0 0 8px rgba(255, 38, 48, 0.78);
  transform-origin: bottom;
}

.audio-control.is-playing .audio-equalizer {
  width: 18px;
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.audio-control.is-playing .audio-equalizer span {
  animation: equalizer-bar 620ms ease-in-out infinite alternate;
}

.audio-control.is-playing .audio-equalizer span:nth-child(2) {
  animation-duration: 480ms;
  animation-delay: -140ms;
}

.audio-control.is-playing .audio-equalizer span:nth-child(3) {
  animation-duration: 700ms;
  animation-delay: -260ms;
}

.audio-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.audio-icon-on {
  display: none;
}

.audio-control.is-playing .audio-icon-muted {
  display: none;
}

.audio-control.is-playing .audio-icon-on {
  display: block;
}

.volume-panel {
  position: absolute;
  top: 0;
  right: 62px;
  display: grid;
  min-width: 132px;
  padding: 9px 12px 9px 4px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-10px);
  transition:
    opacity 180ms ease,
    transform 220ms ease,
    visibility 180ms ease;
}

.audio-control:hover .volume-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.volume-slider {
  --volume-fill: 0%;
  width: 118px;
  height: 14px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  accent-color: #ff2630;
}

.volume-slider::-webkit-slider-runnable-track {
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 38, 48, 0.82) 0 var(--volume-fill), rgba(247, 242, 236, 0.64) var(--volume-fill) 100%);
  box-shadow: 0 0 8px rgba(176, 16, 25, 0.54);
}

.volume-slider::-webkit-slider-thumb {
  width: 10px;
  height: 10px;
  margin-top: -4px;
  border: 0;
  border-radius: 50%;
  appearance: none;
  -webkit-appearance: none;
  background: #ff2630;
  box-shadow:
    0 0 8px rgba(255, 38, 48, 0.72),
    0 2px 5px rgba(0, 0, 0, 0.5);
}

.volume-slider::-moz-range-track {
  height: 2px;
  border: 0;
  background: rgba(247, 242, 236, 0.64);
  box-shadow: 0 0 8px rgba(176, 16, 25, 0.54);
}

.volume-slider::-moz-range-progress {
  height: 2px;
  background: rgba(255, 38, 48, 0.82);
  box-shadow: 0 0 8px rgba(176, 16, 25, 0.54);
}

.volume-slider::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: #ff2630;
  box-shadow:
    0 0 8px rgba(255, 38, 48, 0.72),
    0 2px 5px rgba(0, 0, 0, 0.5);
}

.language-menu {
  position: fixed;
  top: clamp(42px, 4vw, 52px);
  right: clamp(18px, 4vw, 48px);
  z-index: 4;
  width: 44px;
  max-height: 38px;
  overflow: hidden;
  font-family: "Bartina", Arial, Helvetica, sans-serif;
  background: rgba(7, 4, 7, 0.62);
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    width 260ms cubic-bezier(0.18, 0.8, 0.24, 1),
    max-height 260ms cubic-bezier(0.18, 0.8, 0.24, 1),
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.language-menu:hover {
  width: 188px;
  max-height: 430px;
  background: rgba(5, 3, 6, 0.86);
  box-shadow:
    0 0 14px rgba(176, 16, 25, 0.48),
    0 18px 34px rgba(0, 0, 0, 0.58),
    inset 0 0 0 1px rgba(213, 22, 34, 0.5);
}

.language-trigger {
  display: inline-flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 12px;
  border: 0;
  color: #ff2630;
  font: inherit;
  font-size: 15px;
  line-height: 1;
  text-transform: uppercase;
  background: transparent;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.language-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-trigger::after {
  content: none;
}

.language-menu:hover .language-trigger {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-1px);
}

.language-list {
  display: grid;
  width: 100%;
  margin-top: -38px;
  padding: 8px;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 180ms ease,
    transform 220ms ease,
    visibility 180ms ease;
}

.language-menu:hover .language-list {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.language-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 11px;
  color: rgba(247, 242, 236, 0.78);
  font-size: 15px;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    text-shadow 160ms ease;
}

.language-list img {
  display: block;
  width: 20px;
  height: 14px;
  flex: 0 0 auto;
  object-fit: cover;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.38);
}

.language-list a:hover,
.language-list a:focus-visible {
  color: #ff2630;
  background: rgba(176, 16, 25, 0.12);
  text-shadow:
    0 0 8px rgba(176, 16, 25, 0.72),
    0 0 18px rgba(98, 8, 13, 0.8);
}

.page-shell {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  grid-template-rows: auto 1fr auto;
  padding: clamp(20px, 4vw, 48px);
}

.mist-layer,
.mist-layer::before,
.mist-layer::after {
  position: fixed;
  pointer-events: none;
}

.bottom-gradient {
  position: fixed;
  inset: auto 0 0;
  z-index: 1;
  height: 28vh;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.24) 42%, rgba(0, 0, 0, 0.62) 100%);
}

.top-gradient {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1;
  height: 28vh;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.24) 58%, transparent 100%);
}

.mist-layer {
  inset: 0;
  z-index: 1;
  overflow: hidden;
  mix-blend-mode: screen;
}

.mist-layer::before,
.mist-layer::after {
  inset: -18vh -18vw;
  content: "";
  opacity: 0.42;
  filter: blur(34px) saturate(128%);
  will-change: transform, opacity;
}

.mist-layer::before {
  background:
    linear-gradient(112deg, transparent 0 18%, rgba(118, 6, 30, 0.34) 30%, transparent 47%, rgba(32, 106, 150, 0.28) 62%, transparent 80%),
    linear-gradient(18deg, transparent 0 26%, rgba(166, 16, 36, 0.18) 40%, transparent 58%, rgba(42, 151, 190, 0.18) 72%, transparent 100%);
  transform: translate3d(-7%, -2%, 0) scale(1.16);
  animation: mist-drift-a 18s ease-in-out infinite alternate;
}

.mist-layer::after {
  background:
    linear-gradient(72deg, transparent 0 22%, rgba(26, 116, 155, 0.24) 36%, transparent 52%, rgba(130, 9, 35, 0.28) 69%, transparent 88%),
    linear-gradient(155deg, transparent 0 18%, rgba(87, 6, 25, 0.22) 34%, transparent 55%, rgba(40, 132, 162, 0.18) 76%, transparent 100%);
  opacity: 0.34;
  transform: translate3d(8%, 3%, 0) scale(1.22);
  animation: mist-drift-b 24s ease-in-out infinite alternate;
}

.site-header,
.site-footer {
  display: flex;
  justify-content: center;
}

.brand-logo {
  width: min(760px, 86vw);
  height: auto;
  filter:
    drop-shadow(0 12px 18px rgba(0, 0, 0, 0.96))
    drop-shadow(0 0 24px rgba(0, 0, 0, 0.86))
    drop-shadow(0 0 18px rgba(128, 10, 18, 0.38));
}

.hero {
  display: flex;
  width: min(1180px, 100%);
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 0 54px;
  text-align: center;
}

.hero h1 {
  max-width: 100%;
  margin: 0;
  font-family: "Roadkill Alternates", "Bartina", Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 4vw, 50px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
  white-space: nowrap;
  text-shadow:
    0 3px 0 rgba(0, 0, 0, 0.82),
    0 8px 18px rgba(0, 0, 0, 0.88),
    0 0 34px rgba(128, 10, 18, 0.58);
  opacity: 0;
  transition: opacity 1.35s ease-out;
}

.hero h1.is-visible {
  opacity: 1;
}

.slogan-divider {
  display: block;
  width: min(215px, 28vw);
  height: auto;
  margin-top: clamp(18px, 2.8vw, 28px);
  opacity: 0;
  filter:
    drop-shadow(0 4px 5px rgba(0, 0, 0, 0.94))
    drop-shadow(0 10px 14px rgba(0, 0, 0, 0.78))
    drop-shadow(0 0 10px rgba(176, 16, 25, 0.24));
  transition: opacity 1.1s ease-out;
}

.slogan-divider.is-visible {
  opacity: 0.9;
}

.wishlist-button {
  display: inline-flex;
  min-height: 54px;
  margin-top: clamp(18px, 3vw, 30px);
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border: 0;
  border-radius: 0;
  color: #ff2630;
  font-family: "Bartina", Arial, Helvetica, sans-serif;
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  opacity: 0;
  background: rgba(7, 4, 7, 0.62);
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.46),
    0 3px 6px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(213, 22, 34, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    color 180ms ease,
    opacity 1s ease-out,
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.wishlist-button.is-visible {
  opacity: 1;
}

.wishlist-button:hover,
.wishlist-button:focus-visible {
  color: #050104;
  filter: brightness(1.08);
  transform: translateY(-2px);
  background: #d51622;
  box-shadow:
    0 0 12px rgba(176, 16, 25, 0.56),
    0 0 24px rgba(116, 8, 16, 0.58),
    0 8px 18px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 247, 236, 0.12);
}

.wishlist-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.42);
  outline-offset: 4px;
}

.site-footer {
  position: relative;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: "Bartina", Arial, Helvetica, sans-serif;
}

.contact-menu {
  position: relative;
  width: auto;
  height: auto;
  max-height: none;
  z-index: 3;
  overflow: visible;
  font-family: "Bartina", Arial, Helvetica, sans-serif;
  background: transparent;
  box-shadow: none;
}

.contact-list {
  display: flex;
  width: auto;
  margin-top: 0;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  gap: 6px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    opacity 180ms ease,
    transform 220ms ease,
    visibility 180ms ease;
}

.contact-list a {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 7px;
  color: rgba(247, 242, 236, 0.78);
  text-decoration: none;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 680ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease,
    transform 680ms cubic-bezier(0.18, 0.72, 0.22, 1);
}

.contact-list a.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-list img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.84;
  filter:
    brightness(0) saturate(100%) invert(19%) sepia(98%) saturate(3954%) hue-rotate(344deg) brightness(104%) contrast(104%);
  transition:
    opacity 160ms ease,
    filter 160ms ease;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  background: transparent;
  box-shadow: none;
  transform: translateY(-2px);
}

.contact-list a:hover img,
.contact-list a:focus-visible img {
  opacity: 1;
  filter:
    brightness(0) invert(1)
    drop-shadow(0 0 7px rgba(255, 38, 48, 0.66))
    drop-shadow(0 0 16px rgba(176, 16, 25, 0.48));
}

.footer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.footer-logo {
  height: auto;
  opacity: 0.96;
  filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.7));
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 760ms ease,
    filter 180ms ease,
    transform 760ms cubic-bezier(0.18, 0.72, 0.22, 1);
}

.footer-logo-link.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-logo-link:hover,
.footer-logo-link:focus-visible {
  filter:
    drop-shadow(0 0 5px rgba(255, 38, 48, 0.34))
    drop-shadow(0 0 12px rgba(176, 16, 25, 0.36));
  transform: translateY(-3px);
}

.footer-logo-link:focus-visible {
  outline: 2px solid rgba(255, 38, 48, 0.72);
  outline-offset: 5px;
}

.footer-logo-studio {
  width: min(92px, 24vw);
}

.footer-logo-ravencat {
  width: min(54px, 14vw);
}

@media (max-width: 720px) {
  body {
    background-position: 56% center;
  }

  .language-menu {
    top: 58px;
    right: 16px;
    width: 40px;
    max-height: 34px;
  }

  .language-menu:hover {
    width: 170px;
    max-height: 410px;
  }

  .audio-control {
    top: 58px;
    right: 68px;
    width: 40px;
    height: 34px;
    max-height: 34px;
  }

  .audio-control:hover {
    width: 194px;
  }

  .audio-trigger {
    width: 40px;
    min-width: 40px;
    min-height: 34px;
  }

  .audio-control.is-playing {
    width: 69px;
  }

  .audio-equalizer {
    right: 40px;
  }

  .volume-panel {
    right: 58px;
  }

  .volume-panel {
    min-width: 126px;
  }

  .volume-slider {
    width: 112px;
  }

  .language-trigger {
    min-height: 34px;
    padding: 9px 12px;
    font-size: 13px;
  }

  .language-list a {
    font-size: 14px;
  }

  .language-list {
    margin-top: -34px;
  }

  .page-shell {
    padding: 18px 16px 22px;
  }

  .brand-logo {
    width: min(520px, 92vw);
  }

  .hero {
    padding: 24px 0 40px;
  }

  .hero h1 {
    font-size: clamp(13px, 3.8vw, 24px);
  }

  .wishlist-button {
    width: min(330px, 100%);
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-fade {
    display: none;
  }

  .mist-layer::before,
  .mist-layer::after {
    animation: none;
  }

  .mist-layer::before {
    opacity: 0.32;
    transform: translate3d(0, 0, 0) scale(1.16);
  }

  .mist-layer::after {
    opacity: 0.24;
    transform: translate3d(0, 0, 0) scale(1.18);
  }

  .hero h1,
  .slogan-divider,
  .wishlist-button,
  .contact-list a,
  .footer-logo-link {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@keyframes intro-fade-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes mist-drift-a {
  from {
    opacity: 0.32;
    transform: translate3d(-9%, -3%, 0) scale(1.16);
  }

  50% {
    opacity: 0.52;
    transform: translate3d(2%, 1%, 0) scale(1.2);
  }

  to {
    opacity: 0.38;
    transform: translate3d(9%, -1%, 0) scale(1.18);
  }
}

@keyframes mist-drift-b {
  from {
    opacity: 0.24;
    transform: translate3d(10%, 5%, 0) scale(1.22);
  }

  50% {
    opacity: 0.42;
    transform: translate3d(-1%, -2%, 0) scale(1.18);
  }

  to {
    opacity: 0.3;
    transform: translate3d(-10%, 3%, 0) scale(1.24);
  }
}

@keyframes reveal-copy {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes equalizer-bar {
  from {
    height: 4px;
  }

  to {
    height: 14px;
  }
}

@keyframes click-red-dot-fade {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.42);
  }

  12% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(0.78);
  }

  55% {
    opacity: 0.48;
    transform: translate(-50%, -50%) scale(1.55);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.35);
  }
}

body.studio-home {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 25%, rgba(150, 14, 25, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.92)),
    #050506;
}

body.studio-home::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 28%, rgba(0, 0, 0, 0.8) 100%),
    radial-gradient(circle at 20% 18%, rgba(255, 38, 48, 0.12), transparent 28%),
    radial-gradient(circle at 82% 74%, rgba(40, 126, 150, 0.14), transparent 30%);
  mask-image: none;
  -webkit-mask-image: none;
}

body.studio-home::after {
  position: fixed;
  inset: -18%;
  z-index: 0;
  content: "";
  pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.34'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
  opacity: 0.58;
  animation: studio-grain 720ms steps(2, end) infinite;
}

.studio-page {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  grid-template-rows: auto 1fr auto;
  gap: clamp(12px, 2vw, 22px);
  padding: clamp(16px, 2.6vw, 34px) clamp(14px, 5vw, 64px);
}

.studio-page::before {
  position: fixed;
  inset: 0;
  z-index: 9;
  content: "";
  pointer-events: none;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.055) 0,
      rgba(255, 255, 255, 0.055) 1px,
      transparent 1px,
      transparent 4px
    ),
    linear-gradient(90deg, rgba(255, 38, 48, 0.05), transparent 18%, rgba(54, 200, 117, 0.035) 82%, rgba(54, 200, 117, 0.06)),
    radial-gradient(ellipse at center, transparent 0 58%, rgba(0, 0, 0, 0.34) 100%);
  mix-blend-mode: screen;
  opacity: 0.34;
  animation: studio-vhs-roll 4.8s linear infinite;
}

.studio-page::after {
  position: fixed;
  inset: 0;
  z-index: 10;
  content: "";
  pointer-events: none;
  background: #000;
  animation: studio-intro-out 1.65s ease-out 0.15s forwards;
}

.studio-header {
  display: flex;
  justify-content: center;
}

.studio-logo {
  width: min(280px, 62vw);
  height: auto;
  filter:
    drop-shadow(0 16px 24px rgba(0, 0, 0, 0.82))
    drop-shadow(0 0 18px rgba(176, 16, 25, 0.32));
  opacity: 0;
  transform: translateY(8px);
  animation: studio-logo-in 1.9s cubic-bezier(0.18, 0.72, 0.22, 1) 1.65s forwards;
}

.studio-games {
  display: grid;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  grid-template-columns: repeat(2, auto);
  align-content: start;
  align-items: start;
  justify-content: center;
  gap: clamp(12px, 3vw, 28px);
}

.studio-game-card {
  position: relative;
  display: inline-flex;
  --studio-card-x: -46px;
  --studio-card-y: 0px;
  min-height: 0;
  overflow: hidden;
  color: #fff7ef;
  text-decoration: none;
  background: transparent;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.58),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  opacity: 0;
  filter: brightness(0.72);
  transform: translateX(var(--studio-card-x)) translateY(var(--studio-card-y));
  transition:
    opacity 1.8s cubic-bezier(0.18, 0.72, 0.22, 1),
    filter 1.8s cubic-bezier(0.18, 0.72, 0.22, 1),
    transform 1.2s cubic-bezier(0.18, 0.72, 0.22, 1),
    box-shadow 200ms ease,
    outline-color 160ms ease;
}

.coming-soon-icon {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.coming-soon-icon svg {
  width: clamp(42px, 7vw, 72px);
  height: clamp(42px, 7vw, 72px);
  fill: none;
  stroke: #fff7ef;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter:
    drop-shadow(0 0 8px rgba(54, 200, 117, 0.46))
    drop-shadow(0 0 18px rgba(54, 200, 117, 0.28));
}

.studio-game-card-meet {
  --studio-card-x: 46px;
}

.studio-game-card.is-revealed {
  --studio-card-x: 0px;
  opacity: 1;
  filter: brightness(1);
}

.studio-game-card-tht.is-revealed,
.studio-game-card-meet.is-revealed {
  --studio-card-x: 0px;
}

.studio-game-card.is-settled {
  transition:
    box-shadow 200ms ease,
    filter 200ms ease,
    transform 200ms ease,
    outline-color 160ms ease;
}

.studio-game-card::before {
  content: none;
}

.studio-game-card img {
  display: block;
  width: min(290px, calc((100vw - 96px) / 2));
  height: auto;
  object-fit: contain;
  transition:
    filter 200ms ease,
    transform 260ms ease;
}

.studio-game-card:hover,
.studio-game-card:focus-visible {
  --studio-card-y: -7px;
  filter: brightness(1.08);
  box-shadow:
    0 0 12px rgba(255, 38, 48, 0.26),
    0 0 28px rgba(176, 16, 25, 0.26),
    0 30px 58px rgba(0, 0, 0, 0.66),
    inset 0 0 0 1px rgba(255, 38, 48, 0.42);
}

.studio-game-card-meet:hover,
.studio-game-card-meet:focus-visible {
  filter: brightness(0.56);
  box-shadow:
    0 0 12px rgba(54, 200, 117, 0.28),
    0 0 28px rgba(54, 200, 117, 0.28),
    0 30px 58px rgba(0, 0, 0, 0.66),
    inset 0 0 0 1px rgba(54, 200, 117, 0.5);
}

.studio-game-card-meet:hover .coming-soon-icon {
  opacity: 1;
  transform: translateY(0);
}

.studio-game-card:focus-visible {
  outline: 2px solid rgba(255, 38, 48, 0.78);
  outline-offset: 6px;
}

.studio-game-card-meet:focus-visible {
  outline-color: rgba(54, 200, 117, 0.8);
}

.studio-footer {
  display: inline-flex;
  align-self: end;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #ff2630;
  font-family: "Bartina", Arial, Helvetica, sans-serif;
  font-size: clamp(13px, 1.6vw, 16px);
  letter-spacing: 0;
  text-align: center;
  text-shadow:
    0 4px 12px rgba(0, 0, 0, 0.86),
    0 0 14px rgba(176, 16, 25, 0.22);
}

.studio-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transform: translateY(-4px);
}

.studio-social-link {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  padding: 4px;
  color: inherit;
  text-decoration: none;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 680ms ease,
    filter 160ms ease,
    transform 680ms cubic-bezier(0.18, 0.72, 0.22, 1);
}

.studio-social-link.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.studio-social-link img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.84;
  filter:
    brightness(0) saturate(100%) invert(19%) sepia(98%) saturate(3954%) hue-rotate(344deg) brightness(104%) contrast(104%);
  transition:
    opacity 160ms ease,
    filter 160ms ease;
}

.studio-social-link:hover,
.studio-social-link:focus-visible {
  transform: translateY(-2px);
}

.studio-social-link:hover img,
.studio-social-link:focus-visible img {
  opacity: 1;
  filter:
    brightness(0) invert(1)
    drop-shadow(0 0 7px rgba(255, 38, 48, 0.72))
    drop-shadow(0 0 16px rgba(176, 16, 25, 0.56));
}

.studio-social-link:focus-visible {
  outline: 2px solid rgba(255, 38, 48, 0.72);
  outline-offset: 4px;
}

.studio-footer-title {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 760ms ease,
    transform 760ms cubic-bezier(0.18, 0.72, 0.22, 1);
}

.studio-footer-title.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 720px) {
  .studio-page {
    gap: 14px;
    padding: 18px 14px 24px;
  }

  .studio-logo {
    width: min(240px, 66vw);
  }

  .studio-games {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .studio-game-card img {
    width: min(190px, calc((100vw - 40px) / 2));
  }

}

@media (prefers-reduced-motion: reduce) {
  .studio-page::after {
    display: none;
  }

  .studio-logo,
  .studio-game-card,
  .studio-social-link,
  .studio-footer-title {
    --studio-card-x: 0px;
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@keyframes studio-intro-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes studio-logo-in {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: brightness(0.72);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: brightness(1);
  }
}

@keyframes studio-grain {
  0% {
    transform: translate3d(-2%, -3%, 0);
  }

  20% {
    transform: translate3d(3%, 2%, 0);
  }

  40% {
    transform: translate3d(-4%, 1%, 0);
  }

  60% {
    transform: translate3d(2%, -2%, 0);
  }

  80% {
    transform: translate3d(-1%, 3%, 0);
  }

  100% {
    transform: translate3d(4%, -1%, 0);
  }
}

@keyframes studio-vhs-roll {
  0% {
    background-position: 0 0, 0 0, 0 0;
    filter: hue-rotate(0deg);
  }

  48% {
    background-position: 0 14px, 2px 0, 0 0;
    filter: hue-rotate(0deg);
  }

  50% {
    background-position: 0 -8px, -4px 0, 0 0;
    filter: hue-rotate(-8deg);
  }

  52% {
    background-position: 0 18px, 4px 0, 0 0;
    filter: hue-rotate(7deg);
  }

  100% {
    background-position: 0 36px, 0 0, 0 0;
    filter: hue-rotate(0deg);
  }
}
