﻿@font-face {
  font-family: "Old English Text MT";
  src: url("assets/fonts/OldEnglishTextMT-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #fff4f5;
  --muted: #d3b8c0;
  --paper: #070607;
  --soft: #171016;
  --line: #4a1d2a;
  --accent: #d80032;
  --accent-dark: #5a0015;
  --blood: #8f001f;
  --forest: #120b11;
  --white: #ffffff;
  --gothic-font: Georgia, "Times New Roman", serif;
  --page-width: 1240px;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.54);
  --glow: 0 0 32px rgba(216, 0, 50, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  margin: 0;
  width: 100%;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 18% 8%, rgba(120, 10, 38, 0.72), transparent 34%),
    radial-gradient(ellipse at 78% 12%, rgba(58, 0, 24, 0.82), transparent 42%),
    radial-gradient(ellipse at 50% 96%, rgba(70, 0, 26, 0.62), transparent 48%),
    linear-gradient(135deg, #120006 0%, #3a0716 44%, #090003 100%);
  background-attachment: fixed;
  background-size: cover;
  color: var(--ink);
  font-family: var(--gothic-font);
  line-height: 1.5;
  overflow-x: hidden;
  overflow-y: auto;
  cursor: auto;
  user-select: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 24% 18%, rgba(255, 210, 220, 0.08), transparent 22%),
    radial-gradient(ellipse at 70% 58%, rgba(0, 0, 0, 0.38), transparent 46%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.04), transparent 58%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.035), transparent 22%, rgba(0, 0, 0, 0.34) 74%);
  mix-blend-mode: soft-light;
}

.realm-language-switcher {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 6;
  border-radius: 3px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 44%),
    rgba(12, 0, 6, 0.7);
  box-shadow: var(--glow), 0 18px 42px rgba(0, 0, 0, 0.4);
}

body:not(.realm-open) {
  overflow-x: hidden;
  overflow-y: auto;
}

img {
  display: block;
  width: 100%;
  -webkit-user-drag: none;
  user-select: none;
}

picture {
  display: contents;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  width: 100%;
  min-height: 100vh;
  overflow: visible;
}

body.admin-page {
  height: auto;
  min-height: 100vh;
  overflow: auto;
  user-select: auto;
}

body.admin-page main {
  height: auto;
  overflow: visible;
}

a,
button,
.view-button,
.contact-link,
.photo-tile,
.lightbox-close {
  cursor: pointer;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

.realm-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(12px, 2.4vh, 28px);
  overflow: auto;
  background:
    radial-gradient(circle at center, rgba(216, 0, 50, 0.22), rgba(20, 17, 20, 0.16) 34%, rgba(0, 0, 0, 0.98) 72%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), transparent 32%, rgba(216, 0, 50, 0.1)),
    #030303;
  color: var(--white);
  transition: opacity 700ms ease, visibility 700ms ease;
}

.realm-open .realm-gate {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.realm-gate__inner {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: clamp(8px, 1.4vh, 12px);
  width: min(760px, 100%);
  text-align: center;
}

.realm-gate__logo {
  width: min(400px, 68vw, 28vh);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 30px 68px rgba(216, 0, 50, 0.42));
}

.realm-gate__inner p {
  margin: 0;
  color: #f4d7dd;
  font-family: var(--gothic-font);
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(216, 0, 50, 0.55), 0 8px 24px rgba(0, 0, 0, 0.9);
}

.realm-coffin {
  position: relative;
  width: min(430px, 82vw, 36vh);
  aspect-ratio: 0.68;
  border: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  perspective: 1200px;
}

.coffin-scene,
.coffin-vampire,
.coffin-lid,
.coffin-glow,
.vampire-eye,
.vampire-mouth,
.vampire-fang {
  position: absolute;
  display: block;
}

.coffin-scene {
  inset: 0;
  transform-style: preserve-3d;
}

.coffin-vampire {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    contrast(1.12)
    saturate(1.08)
    drop-shadow(0 34px 60px rgba(0, 0, 0, 0.84))
    drop-shadow(0 0 38px rgba(216, 0, 50, 0.34));
}

.coffin-lid {
  inset: 3% 10% 2% 12%;
  z-index: 6;
  clip-path: polygon(24% 0, 76% 0, 100% 22%, 87% 100%, 13% 100%, 0 22%);
  border: 1px solid rgba(255, 255, 255, 0.34);
  background:
    linear-gradient(108deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.12) 8%, transparent 18% 38%, rgba(255, 255, 255, 0.28) 48%, transparent 60%),
    radial-gradient(ellipse at 35% 14%, rgba(255, 255, 255, 0.3), transparent 18%),
    radial-gradient(ellipse at 74% 78%, rgba(255, 255, 255, 0.12), transparent 20%),
    linear-gradient(135deg, #010101 0%, #090709 34%, #221720 54%, #030203 76%, #141014 100%);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.88),
    0 0 54px rgba(216, 0, 50, 0.32),
    inset 0 0 0 4px rgba(255, 255, 255, 0.08),
    inset 0 0 0 12px rgba(0, 0, 0, 0.64),
    inset 20px 0 42px rgba(255, 255, 255, 0.12),
    inset -24px -8px 58px rgba(0, 0, 0, 0.76);
  transform-origin: 0 50%;
  transition: transform 2800ms cubic-bezier(0.13, 0.78, 0.12, 1), opacity 1400ms ease;
  backface-visibility: visible;
}

.coffin-lid::before {
  content: "";
  position: absolute;
  inset: 14% 28% 15%;
  clip-path: polygon(41% 0, 59% 0, 59% 62%, 84% 62%, 84% 76%, 59% 76%, 59% 100%, 41% 100%, 41% 76%, 16% 76%, 16% 62%, 41% 62%);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), #080708 28%, rgba(216, 0, 50, 0.52) 58%, #020202);
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.12),
    inset 0 0 32px rgba(0, 0, 0, 0.85);
  filter: drop-shadow(0 0 12px rgba(216, 0, 50, 0.42));
  opacity: 0.82;
}

.coffin-lid::after {
  content: "";
  position: absolute;
  inset: 5% 6%;
  clip-path: polygon(24% 0, 76% 0, 100% 22%, 87% 100%, 13% 100%, 0 22%);
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.28), transparent 12% 42%, rgba(255, 255, 255, 0.14) 55%, transparent 70%),
    linear-gradient(135deg, transparent, rgba(255, 23, 77, 0.08) 48%, transparent 64%);
  box-shadow: inset 0 0 42px rgba(255, 255, 255, 0.08), inset 0 0 68px rgba(0, 0, 0, 0.84);
  opacity: 0.6;
}

.coffin-glow {
  inset: 12% 12% 8%;
  z-index: 2;
  clip-path: polygon(24% 0, 76% 0, 100% 22%, 87% 100%, 13% 100%, 0 22%);
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.16), transparent 10%),
    radial-gradient(circle at center, rgba(216, 0, 50, 0.74), rgba(216, 0, 50, 0.26) 42%, transparent 70%);
  opacity: 0;
  filter: blur(6px);
  transition: opacity 900ms ease;
}

.vampire-eye {
  z-index: 4;
  top: 29.5%;
  width: 15px;
  height: 6px;
  border-radius: 999px;
  background: radial-gradient(circle, #fff 0 18%, #ff1f4f 26% 54%, transparent 68%);
  box-shadow: 0 0 16px rgba(255, 23, 77, 0.95), 0 0 4px #fff;
  opacity: 0;
  transform: scaleY(0.05);
  transition: opacity 220ms ease 1450ms, transform 280ms ease 1450ms;
}

.vampire-eye-left {
  left: 45.2%;
}

.vampire-eye-right {
  right: 45.2%;
}

.vampire-fang {
  z-index: 4;
  top: 34.5%;
  width: 9px;
  height: 22px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: linear-gradient(#fff, #d8c8c8 62%, #fff);
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 12px rgba(216, 0, 50, 0.45));
  opacity: 0;
  transform: translateY(-8px) scaleY(0.35);
  transition: opacity 220ms ease 1680ms, transform 260ms ease 1680ms;
}

.vampire-mouth {
  z-index: 4;
  top: 34%;
  left: 50%;
  width: 34px;
  height: 5px;
  border-radius: 2px 2px 16px 16px;
  background:
    radial-gradient(ellipse at center, #050001 0 46%, #2a0008 62%, #760018 100%);
  box-shadow: 0 0 10px rgba(216, 0, 50, 0.62);
  opacity: 0;
  transform: translateX(-50%) scaleY(0.08);
  transform-origin: 50% 0;
  transition: opacity 220ms ease 1650ms, transform 280ms ease 1650ms, height 280ms ease 1650ms;
}

.vampire-fang-left {
  left: 47.5%;
}

.vampire-fang-right {
  right: 47.5%;
}

.vampire-eye,
.vampire-mouth,
.vampire-fang {
  display: none !important;
}

.coffin-label {
  position: absolute;
  left: 50%;
  bottom: 2%;
  z-index: 8;
  display: grid;
  place-items: center;
  min-width: 220px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 23, 77, 0.48);
  border-radius: 18px 18px 6px 6px;
  clip-path: polygon(12% 0, 88% 0, 100% 22%, 100% 78%, 88% 100%, 12% 100%, 0 78%, 0 22%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 42%),
    rgba(0, 0, 0, 0.76);
  color: var(--white);
  font-family: var(--gothic-font);
  font-size: 18px;
  letter-spacing: 0;
  text-shadow: 0 0 16px rgba(0, 0, 0, 0.88);
  transform: translateX(-50%);
  transition: opacity 450ms ease, transform 450ms ease;
}

.realm-coffin:hover .coffin-lid {
  transform: translateX(10px);
}

.realm-gate.is-opening .coffin-lid {
  transform: translateX(86%) rotateY(78deg) scaleX(0.94);
  opacity: 0.86;
}

.realm-gate.is-opening .coffin-glow {
  opacity: 1;
}

.realm-gate.is-opening .coffin-label {
  opacity: 0;
  transform: translateX(-50%) translateY(12px);
}

.realm-gate.is-opening .vampire-eye,
.realm-gate.is-opening .vampire-fang,
.realm-gate.is-opening .vampire-mouth {
  opacity: 1;
  transform: none;
}

.realm-gate.is-opening .vampire-mouth {
  height: 20px;
  transform: translateX(-50%) scaleY(1);
}

.realm-figure {
  display: none;
}

.realm-gargoyle {
  position: absolute;
  top: 12vh;
  z-index: 2;
  width: 92px;
  height: 110px;
  opacity: 0.32;
  filter: drop-shadow(0 0 18px rgba(216, 0, 50, 0.42));
}

.realm-gargoyle::before,
.realm-gargoyle::after {
  content: "";
  position: absolute;
  background: #1a1518;
  border: 1px solid rgba(216, 0, 50, 0.42);
}

.realm-gargoyle::before {
  inset: 30px 30px 0;
  clip-path: polygon(50% 0, 80% 22%, 70% 100%, 30% 100%, 20% 22%);
}

.realm-gargoyle::after {
  inset: 0;
  clip-path: polygon(50% 28%, 0 0, 24% 48%, 0 58%, 34% 78%, 50% 100%, 66% 78%, 100% 58%, 76% 48%, 100% 0);
}

.realm-gargoyle-left {
  left: 18vw;
}

.realm-gargoyle-right {
  right: 18vw;
  transform: scaleX(-1);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px clamp(10px, 3vw, 42px);
  color: var(--white);
  background: linear-gradient(rgba(0, 0, 0, 0.88), rgba(10, 5, 8, 0.54), rgba(10, 5, 8, 0));
  backdrop-filter: blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  min-width: 0;
}

.brand span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-logo {
  width: 98px;
  height: 98px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid rgba(255, 23, 77, 0.44);
  box-shadow: var(--glow);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.62));
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 23, 77, 0.42);
  border-radius: 3px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 46%),
    rgba(8, 7, 8, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 12px 32px rgba(0, 0, 0, 0.38);
  font-family: var(--gothic-font);
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 900;
  text-shadow: 0 0 12px rgba(216, 0, 50, 0.42), 0 2px 0 rgba(0, 0, 0, 0.78);
}

.main-nav a {
  border-radius: 12px 12px 4px 4px;
  clip-path: polygon(10% 0, 90% 0, 100% 22%, 100% 78%, 90% 100%, 10% 100%, 0 78%, 0 22%);
  padding: 7px 9px;
}

.main-nav a:hover {
  background: rgba(255, 23, 77, 0.22);
  color: var(--white);
}

.main-nav a.is-active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 42%),
    var(--accent);
  color: var(--white);
  box-shadow: var(--glow);
}

.main-nav a,
.header-action {
  opacity: 0.88;
}

.main-nav a:hover,
.header-action:hover {
  opacity: 1;
}

.header-action {
  justify-self: end;
  border-bottom: 1px solid currentColor;
  font-family: var(--gothic-font);
  font-size: 22px;
  font-weight: 900;
  text-shadow: 0 0 12px rgba(216, 0, 50, 0.38);
}

.header-tools {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 18px;
}

.language-switcher {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 23, 77, 0.42);
  border-radius: 999px;
  background: rgba(23, 21, 20, 0.22);
}

.nav-language-switcher {
  margin-left: 5px;
  border-radius: 3px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 46%),
    rgba(0, 0, 0, 0.34);
}

.lang-button {
  min-width: 36px;
  min-height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.lang-button.is-active {
  background: var(--accent);
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.hero {
  position: relative;
  min-height: 100vh;
  height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding:
    clamp(132px, 16vh, 180px)
    max(24px, calc((100vw - var(--page-width)) / 2 + 28px))
    96px;
  color: var(--white);
  overflow: visible;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  top: -20px;
  bottom: -20px;
  z-index: 1;
  width: 26px;
  opacity: 0.22;
  background:
    radial-gradient(ellipse at center, transparent 0 34%, rgba(216, 0, 50, 0.7) 35% 48%, transparent 49%) 0 0 / 26px 26px;
}

.hero::before {
  left: clamp(12px, 3vw, 44px);
}

.hero::after {
  right: clamp(12px, 3vw, 44px);
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 2, 3, 0.78), rgba(12, 6, 10, 0.18) 48%, rgba(3, 2, 3, 0.08)),
    radial-gradient(circle at 70% 54%, rgba(216, 0, 50, 0.24), transparent 34%),
    radial-gradient(ellipse at 74% 56%, rgba(255, 255, 255, 0.22), transparent 12%),
    linear-gradient(115deg, transparent 0 57%, rgba(216, 0, 50, 0.14) 58% 61%, transparent 62%),
    linear-gradient(135deg, #030203, #12070d 46%, #020102);
  background-position: center, center, center, center, center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-media::before {
  content: "";
  position: absolute;
  right: max(18px, calc((100vw - var(--page-width)) / 2 + 18px));
  top: 50%;
  width: min(48vw, 640px);
  height: min(82vh, 820px);
  background: none;
  filter:
    brightness(1.24)
    contrast(1.12)
    saturate(1.12)
    drop-shadow(0 0 30px rgba(216, 0, 50, 0.3))
    drop-shadow(0 24px 58px rgba(0, 0, 0, 0.82));
  transform: translateY(-50%);
}

.realm-open .hero-media::before {
  background: url("assets/studios-gothic-model.webp") center / contain no-repeat;
}

.hero-left-mood {
  position: absolute;
  left: max(28px, calc((100vw - var(--page-width)) / 2 + 28px));
  bottom: 78px;
  z-index: 2;
  width: min(40vw, 690px);
  max-height: min(38vh, 420px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 23, 77, 0.32);
  background: #050405;
  box-shadow:
    var(--shadow),
    var(--glow),
    inset 0 0 0 8px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.hero-left-mood img {
  width: 100%;
  height: 100%;
  max-height: min(38vh, 420px);
  object-fit: contain;
  object-position: center;
  filter: contrast(1.08) saturate(1.08) brightness(1.04);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 560px;
  width: 100%;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb8c7;
  text-shadow: 0 0 18px rgba(255, 23, 77, 0.34);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-family: var(--gothic-font);
  font-size: clamp(58px, 10vw, 132px);
  line-height: 0.88;
  font-weight: 500;
  text-shadow: 0 0 28px rgba(216, 0, 50, 0.3), 0 14px 42px rgba(0, 0, 0, 0.82);
}

.hero h1 {
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.95;
}

.hero h1 span {
  display: block;
}

.page-section h1 {
  margin-bottom: 10px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.95;
}

h2 {
  margin-bottom: 16px;
  font-family: var(--gothic-font);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  font-weight: 500;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.hero-content p:not(.eyebrow) {
  max-width: 620px;
  font-size: clamp(18px, 2vw, 24px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 18px 18px 6px 6px;
  clip-path: polygon(12% 0, 88% 0, 100% 22%, 100% 78%, 88% 100%, 12% 100%, 0 78%, 0 22%);
  padding: 0 20px;
  font-family: var(--gothic-font);
  font-size: 22px;
  font-weight: 900;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.8), 0 0 14px rgba(216, 0, 50, 0.32);
  cursor: pointer;
}

.button.primary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 38%),
    linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  box-shadow: 0 18px 42px rgba(255, 23, 77, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.button.secondary {
  border-color: rgba(255, 23, 77, 0.62);
  color: var(--white);
  background: rgba(0, 0, 0, 0.32);
}

.tool-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
}

.tool-copy {
  display: grid;
  gap: 10px;
  align-content: start;
}

.tool-logo-wrap {
  display: grid;
  justify-items: center;
  margin: 0;
}

.tool-logo {
  width: clamp(150px, 15vw, 190px);
  height: clamp(150px, 15vw, 190px);
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(216, 0, 50, 0.38));
}

.tool-copy h1,
.tool-copy p {
  margin: 0;
}

.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2px;
}

.tool-actions .button {
  min-width: min(100%, 250px);
  max-width: 100%;
  padding-inline: 24px;
  line-height: 1.12;
  overflow-wrap: anywhere;
  text-align: center;
  white-space: normal;
}

.windows-download-status {
  min-height: 1.3em;
  color: var(--muted);
  font-size: 0.96rem;
}

.download-shoot-button {
  border-color: rgba(255, 255, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 42%),
    rgba(90, 0, 21, 0.7);
}

.photoshoot-download-block {
  display: grid;
  gap: 10px;
  justify-items: start;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.tool-photoshoot-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.28;
}

.modal-open {
  overflow: hidden;
}

.photoshoot-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 28px);
}

.photoshoot-modal.is-open {
  display: flex;
}

.photoshoot-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.photoshoot-modal-window {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: calc(100vh - 32px);
  border: 1px solid rgba(255, 23, 77, 0.38);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(9, 6, 8, 0.98);
  box-shadow: var(--shadow), var(--glow);
}

.photoshoot-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  padding: 0;
  background: rgba(18, 15, 17, 0.96);
  color: var(--white);
  font: 700 32px/1 Arial, sans-serif;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.photoshoot-modal-close:hover,
.photoshoot-modal-close:focus-visible {
  border-color: rgba(255, 23, 77, 0.75);
  background: rgba(255, 23, 77, 0.22);
}

.photoshoot-modal-content {
  display: grid;
  gap: 10px;
  padding: 24px clamp(18px, 4vw, 34px);
  overflow: visible;
}

.photoshoot-modal-content h2,
.photoshoot-modal-content p {
  margin: 0;
}

.photoshoot-modal-logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.photoshoot-modal-form {
  margin-top: 2px;
}

.photoshoot-modal-result:empty {
  display: none;
}

.photoshoot-modal-close-text {
  justify-self: stretch;
  width: 100%;
  margin-top: 4px;
}

.tool-note {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.28;
}

.download-section {
  display: grid;
  place-items: center;
}

.download-card {
  display: grid;
  gap: 18px;
  width: min(760px, 100%);
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid rgba(255, 23, 77, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 38%),
    rgba(9, 6, 8, 0.78);
  box-shadow: var(--shadow), var(--glow);
}

html.is-framed .photoshoot-download-page .site-header,
html.is-framed .photoshoot-download-page .site-footer,
html.is-framed .photoshoot-download-page .music-player,
.photoshoot-download-page.is-embedded .site-header,
.photoshoot-download-page.is-embedded .site-footer,
.photoshoot-download-page.is-embedded .music-player {
  display: none;
}

html.is-framed .photoshoot-download-page,
.photoshoot-download-page.is-embedded {
  min-height: 100vh;
  overflow: hidden;
  background: #070507;
}

html.is-framed,
html.is-framed body {
  overflow: hidden;
}

html.is-framed .photoshoot-download-page .page-main,
.photoshoot-download-page.is-embedded .page-main {
  min-height: 100vh;
  padding: 14px;
  overflow: hidden;
}

html.is-framed .photoshoot-download-page .download-card,
.photoshoot-download-page.is-embedded .download-card {
  width: min(540px, 100%);
  max-height: none;
  overflow: visible;
  padding: 18px clamp(18px, 3vw, 28px);
  gap: 10px;
  box-shadow: none;
}

html.is-framed .photoshoot-download-page .tool-logo,
.photoshoot-download-page.is-embedded .tool-logo {
  width: 76px;
  height: 76px;
}

html.is-framed .photoshoot-download-page .download-card h1,
.photoshoot-download-page.is-embedded .download-card h1 {
  font-size: clamp(26px, 4vw, 34px);
}

html.is-framed .photoshoot-download-page .download-form,
.photoshoot-download-page.is-embedded .download-form {
  gap: 9px;
}

html.is-framed .photoshoot-download-page .download-form input,
.photoshoot-download-page.is-embedded .download-form input {
  min-height: 48px;
}

html.is-framed .photoshoot-download-page .download-card .tool-note,
.photoshoot-download-page.is-embedded .download-card .tool-note {
  font-size: 14px;
}

@media (max-height: 620px), (max-width: 560px) {
  .photoshoot-modal-window {
    max-height: calc(100vh - 20px);
    overflow: auto;
  }

  html.is-framed,
  html.is-framed body,
  html.is-framed .photoshoot-download-page,
  .photoshoot-download-page.is-embedded {
    overflow: auto;
  }

  html.is-framed .photoshoot-download-page .download-card,
  .photoshoot-download-page.is-embedded .download-card {
    max-height: calc(100vh - 32px);
    overflow: auto;
  }
}

.download-card h1,
.download-card p {
  margin: 0;
}

.download-form {
  display: grid;
  gap: 12px;
  margin-top: 6px;
}

.download-form label {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.download-form input {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(255, 23, 77, 0.46);
  border-radius: 6px;
  padding: 0 16px;
  background: rgba(0, 0, 0, 0.42);
  color: var(--white);
  font: 700 20px Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.download-message,
.download-result {
  padding: 14px 16px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.32);
}

.download-message.is-error {
  border: 1px solid rgba(255, 23, 77, 0.6);
  color: #ffd7df;
}

.download-result {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tool-panel {
  display: grid;
  margin-top: clamp(82px, 7vw, 118px);
  padding: 0;
  border: 1px solid rgba(255, 23, 77, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 38%),
    rgba(9, 6, 8, 0.76);
  box-shadow: var(--shadow), var(--glow);
}

.tool-vampire-gallery {
  position: relative;
  display: grid;
  align-items: center;
}

.tool-vampire {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 38%),
    rgba(0, 0, 0, 0.36);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.42);
}

.tool-vampire img {
  width: 100%;
  height: auto;
  max-height: min(64vh, 650px);
  object-fit: cover;
  object-position: center top;
}

.tool-feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: clamp(16px, 2vw, 20px);
}

.tool-feature-list li {
  padding-left: 18px;
  border-left: 3px solid var(--accent);
}

.tool-page .page-main {
  padding-top: 96px;
  padding-bottom: 40px;
}

.tool-page .page-section {
  min-height: auto;
}

.tool-page .site-footer {
  padding-bottom: 28px;
}

.tv-cast-button {
  gap: 8px;
}

.tv-cast-button::before {
  content: "";
  display: inline-block;
  flex: 0 0 18px;
  width: 18px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 12px rgba(216, 0, 50, 0.32);
}

.tv-cast-button.is-casting {
  border-color: rgba(255, 23, 77, 0.92);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 42%),
    rgba(92, 0, 22, 0.72);
  box-shadow: 0 0 22px rgba(255, 23, 77, 0.26), inset 0 0 18px rgba(255, 255, 255, 0.08);
}

.tv-cast-button.is-casting::before {
  border-radius: 50%;
}

.tv-cast-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.68);
  font-family: Arial, Helvetica, sans-serif;
}

.tv-cast-overlay.is-visible {
  display: grid;
}

.tv-cast-overlay__panel {
  position: relative;
  width: min(480px, 100%);
  border: 3px solid #111;
  border-radius: 8px;
  background: #fff;
  color: #111;
  padding: 28px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  text-align: center;
}

.tv-cast-overlay__title {
  margin: 0 34px 12px;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
}

.tv-cast-overlay__message {
  margin: 0 0 22px;
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.35;
}

.tv-cast-overlay__cancel,
.tv-cast-overlay__close {
  border: 0;
  background: #d80032;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  cursor: pointer;
}

.tv-cast-overlay__cancel {
  min-height: 46px;
  border-radius: 5px;
  padding: 0 24px;
  font-size: 18px;
}

.tv-cast-overlay__close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}

.main-nav a.is-hidden {
  display: none;
}

.media-subnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: min(100%, 980px);
  margin: 0 auto 14px;
  padding: 6px;
  border: 1px solid rgba(255, 23, 77, 0.34);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 48%),
    rgba(7, 6, 8, 0.74);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 14px 34px rgba(0, 0, 0, 0.32);
  font-family: var(--gothic-font);
  font-size: clamp(15px, 1.35vw, 19px);
  font-weight: 900;
}

.media-subnav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--white);
  text-align: center;
  text-shadow: 0 0 12px rgba(216, 0, 50, 0.42);
}

.media-subnav-link:hover,
.media-subnav-link.is-active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 44%),
    var(--accent);
  box-shadow: var(--glow);
}

.media-subnav-badge {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 2px 7px;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
}

.intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 23, 77, 0.08), transparent),
    #100b10;
}

.intro article {
  min-height: 210px;
  padding: clamp(26px, 4vw, 48px);
  border-right: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 42%);
  position: relative;
}

.intro article::after,
.section-heading::after {
  content: "";
  display: block;
  width: 88px;
  height: 1px;
  margin-top: 20px;
  background: linear-gradient(90deg, var(--accent), transparent);
  box-shadow: var(--glow);
}

.intro article:last-child {
  border-right: 0;
}

.intro span {
  color: var(--accent);
  font-weight: 800;
}

.intro h2 {
  margin: 28px 0 10px;
  font-size: clamp(30px, 4vw, 48px);
}

.section {
  padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 72px);
  position: relative;
}

.page-main {
  min-height: 100vh;
  height: auto;
  padding: 94px clamp(14px, 3vw, 42px) 86px;
  overflow: visible;
}

.page-section {
  width: min(100%, var(--page-width));
  min-height: calc(100vh - 202px);
  height: auto;
  margin: 0 auto;
  overflow: visible;
}

.page-section.gallery-section {
  width: min(100%, 1180px);
}

.page-section.section,
.page-section.about,
.page-section.contact,
.page-section.studios,
.page-section.walk-in {
  padding: 0;
}

.home-preview-grid,
.latex-mood {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-preview-grid img {
  height: clamp(320px, 42vw, 620px);
  border: 1px solid rgba(216, 0, 50, 0.32);
  object-fit: cover;
  box-shadow: var(--shadow), var(--glow);
}

.latex-mood {
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  min-height: clamp(420px, 56vw, 700px);
  overflow: hidden;
  border: 1px solid rgba(216, 0, 50, 0.32);
  background:
    radial-gradient(circle at 35% 28%, rgba(216, 0, 50, 0.22), transparent 22%),
    radial-gradient(circle at 68% 34%, rgba(255, 255, 255, 0.08), transparent 18%),
    linear-gradient(135deg, #050405, #15070d 54%, #020102);
  box-shadow: var(--shadow), var(--glow);
  padding: clamp(22px, 5vw, 54px);
}

.home-latex-image {
  width: min(100%, 1320px);
  height: clamp(360px, 52vw, 660px);
  object-fit: cover;
  object-position: center;
  filter:
    contrast(1.12)
    saturate(1.1)
    drop-shadow(0 28px 60px rgba(0, 0, 0, 0.78))
    drop-shadow(0 0 34px rgba(216, 0, 50, 0.28));
}

.home-latex-image.is-mirrored {
  transform: scaleX(-1);
}

.latex-figure {
  position: relative;
  align-self: end;
  height: 100%;
  min-height: 380px;
  filter: drop-shadow(0 0 34px rgba(216, 0, 50, 0.22));
}

.latex-figure.second {
  transform: scaleX(-1);
  opacity: 0.78;
}

.latex-mask,
.latex-body,
.latex-stockings,
.latex-boots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: block;
}

.latex-mask {
  top: 2%;
  width: 82px;
  height: 96px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 44% 44% 50% 50%;
  background:
    radial-gradient(circle at 34% 42%, rgba(255, 255, 255, 0.7) 0 4px, transparent 5px),
    radial-gradient(circle at 66% 42%, rgba(255, 255, 255, 0.7) 0 4px, transparent 5px),
    linear-gradient(115deg, rgba(255, 255, 255, 0.2), transparent 24%),
    #070607;
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.1), var(--glow);
}

.latex-body {
  top: 18%;
  width: 190px;
  height: 280px;
  clip-path: polygon(28% 0, 72% 0, 92% 32%, 76% 100%, 24% 100%, 8% 32%);
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.28), transparent 22% 52%, rgba(255, 255, 255, 0.12)),
    linear-gradient(135deg, #040304, #161016 44%, #030203);
  box-shadow: inset 0 0 0 3px rgba(216, 0, 50, 0.28), inset 0 0 48px rgba(255, 255, 255, 0.08);
}

.latex-stockings {
  top: 66%;
  width: 170px;
  height: 190px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 8px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.2), rgba(30, 24, 30, 0.72), rgba(0, 0, 0, 0.2));
  clip-path: polygon(18% 0, 40% 0, 44% 100%, 6% 100%, 10% 20%, 0 20%, 0 10%, 18% 10%, 60% 0, 82% 0, 100% 10%, 100% 20%, 90% 20%, 94% 100%, 56% 100%, 60% 0);
  opacity: 0.78;
}

.latex-boots {
  bottom: 0;
  width: 210px;
  height: 150px;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.24), transparent 24%),
    #050405;
  clip-path: polygon(14% 0, 38% 0, 40% 62%, 52% 72%, 52% 100%, 2% 100%, 6% 72%, 18% 62%, 62% 0, 86% 0, 82% 62%, 96% 72%, 100% 100%, 50% 100%, 50% 72%, 62% 62%);
  box-shadow: inset 0 0 0 2px rgba(216, 0, 50, 0.28);
}

.section::before {
  content: "";
  position: absolute;
  left: clamp(18px, 4vw, 58px);
  right: clamp(18px, 4vw, 58px);
  top: 28px;
  height: 1px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 23, 77, 0.8), transparent);
  box-shadow: var(--glow);
}

.gallery-section {
  background:
    radial-gradient(ellipse at 82% 12%, rgba(120, 0, 36, 0.26), transparent 32%),
    radial-gradient(ellipse at 12% 72%, rgba(58, 0, 20, 0.5), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.028), transparent 24%, rgba(0, 0, 0, 0.22) 70%);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 10px;
}

.compact-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 14px 20px;
  max-width: none;
}

.compact-heading .eyebrow {
  flex-basis: 100%;
}

.compact-heading h1 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 64px);
}

.portfolio-view-switch {
  display: inline-flex;
  gap: 6px;
  margin-bottom: 18px;
  padding: 5px;
  border: 1px solid rgba(255, 23, 77, 0.36);
  border-radius: 3px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 42%),
    rgba(0, 0, 0, 0.38);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.view-button {
  min-height: 38px;
  border: 0;
  border-radius: 12px 12px 4px 4px;
  clip-path: polygon(10% 0, 90% 0, 100% 22%, 100% 78%, 90% 100%, 10% 100%, 0 78%, 0 22%);
  background: transparent;
  color: var(--ink);
  padding: 0 18px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.view-button.is-active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 42%),
    var(--accent);
  color: var(--white);
  box-shadow: var(--glow);
}

.portfolio-panel {
  display: none;
}

.portfolio-panel.is-active {
  display: grid;
}

.gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  height: calc(100% - 44px);
  align-content: start;
  align-items: start;
}

.photo-tile {
  position: relative;
  align-self: start;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 2px solid rgba(180, 0, 38, 0.7);
  border-radius: 2px;
  padding: 12px;
  outline: 1px solid rgba(255, 255, 255, 0.16);
  outline-offset: -9px;
  background: var(--soft);
  box-shadow:
    var(--shadow),
    0 0 0 6px rgba(0, 0, 0, 0.72),
    0 0 0 8px rgba(255, 23, 77, 0.22),
    inset 0 0 28px rgba(255, 23, 77, 0.18);
  cursor: zoom-in;
}

.photo-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 10px solid transparent;
  border-image: linear-gradient(135deg, #f7dfe6, #a50026 18%, #050405 32%, #c5002d 50%, #050405 68%, #f7dfe6) 1;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.82), inset 0 0 22px rgba(216, 0, 50, 0.34);
  opacity: 0.82;
}

.photo-tile.tall {
  grid-row: span 1;
}

.photo-tile.wide {
  grid-column: span 1;
}

.photo-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  transition: transform 420ms ease, filter 420ms ease;
}

.photo-tile.tall img {
  object-position: center 18%;
}

.photo-tile.wide img {
  object-position: center 28%;
}

.photo-tile:hover img {
  filter: saturate(1.2) contrast(1.08);
  transform: scale(1.045);
}

.photo-tile.is-hidden {
  display: none;
}

.photo-tile-placeholder {
  visibility: hidden;
  pointer-events: none;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  height: 100%;
  align-content: center;
}

.video-card {
  position: relative;
  min-height: clamp(150px, 24vh, 260px);
  overflow: hidden;
  border: 2px solid rgba(180, 0, 38, 0.7);
  border-radius: 2px;
  padding: 12px;
  background: #050405;
  box-shadow:
    var(--shadow),
    0 0 0 6px rgba(0, 0, 0, 0.72),
    0 0 0 8px rgba(255, 23, 77, 0.22),
    inset 0 0 28px rgba(255, 23, 77, 0.18);
  color: var(--white);
}

.video-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.04);
  transition: transform 420ms ease, filter 420ms ease;
}

.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 10px solid transparent;
  border-image: linear-gradient(135deg, #f7dfe6, #a50026 18%, #050405 32%, #c5002d 50%, #050405 68%, #f7dfe6) 1;
  opacity: 0.82;
}

.video-card:hover img {
  filter: saturate(1.2) contrast(1.08);
  transform: scale(1.045);
}

.video-play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 23, 77, 0.72);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 56%),
    rgba(0, 0, 0, 0.72);
  color: var(--white);
  font-family: var(--gothic-font);
  font-size: 22px;
  font-weight: 900;
  text-shadow: 0 0 18px rgba(216, 0, 50, 0.58);
}

.video-card-title {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  display: block;
  max-height: 4.8em;
  overflow: hidden;
  border: 1px solid rgba(255, 23, 77, 0.54);
  padding: 8px 10px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.78)),
    rgba(5, 4, 5, 0.78);
  color: var(--white);
  font-size: clamp(15px, 1.5vw, 21px);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-shadow: 0 0 14px rgba(216, 0, 50, 0.62);
  overflow-wrap: anywhere;
}

.video-quality-note {
  max-width: 760px;
  margin: 4px auto 12px;
  color: var(--muted);
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.jukebox-section {
  overflow: visible;
}

.jukebox-intro {
  max-width: 820px;
  margin: 4px auto 12px;
  color: var(--muted);
  font-size: clamp(14px, 1.35vw, 18px);
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.jukebox-layout {
  display: grid;
  grid-template-columns: minmax(430px, 760px) minmax(300px, 390px);
  gap: clamp(14px, 2.2vw, 28px);
  align-items: start;
  width: min(1540px, calc(100vw - 32px));
  margin: 0 auto;
}

.jukebox-stage {
  position: relative;
  width: min(760px, 100%);
  margin: 0 auto;
  filter:
    drop-shadow(0 26px 42px rgba(0, 0, 0, 0.72))
    drop-shadow(0 0 28px rgba(216, 0, 50, 0.24));
}

.jukebox-image {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
}

.jukebox-selections {
  --jukebox-row-count: 6;
  --jukebox-column-count: 2;
  position: absolute;
  top: 46.6%;
  left: calc(22.7% + 6px);
  display: grid;
  grid-template-columns: repeat(var(--jukebox-column-count), minmax(0, 1fr));
  grid-template-rows: repeat(var(--jukebox-row-count), minmax(0, 1fr));
  column-gap: 8.8%;
  row-gap: 3.2%;
  width: 48.8%;
  height: 22.7%;
  z-index: 1;
}

.jukebox-selections::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

.jukebox-empty {
  grid-column: 1 / -1;
  align-self: center;
  margin: 0;
}

.jukebox-track-row {
  display: block;
  align-items: center;
  min-width: 0;
  min-height: 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.jukebox-track-button {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
  justify-items: center;
  width: 100%;
  height: 88%;
  align-self: center;
  min-width: 0;
  min-height: 0;
  border: 1px solid rgba(255, 23, 77, 0.62);
  border-radius: 5px;
  padding: 0 6px;
  background:
    linear-gradient(180deg, rgba(78, 4, 18, 0.98), rgba(14, 1, 5, 0.98));
  box-shadow:
    inset 0 0 8px rgba(255, 23, 77, 0.18),
    0 0 6px rgba(0, 0, 0, 0.72);
  color: #ffdce5;
  font: inherit;
  line-height: 1;
  cursor: pointer;
  overflow: hidden;
}

.jukebox-track-button.is-right {
  grid-template-columns: minmax(0, 1fr);
}

.jukebox-track-button:disabled {
  cursor: default;
  opacity: 1;
}

.jukebox-track-button.is-right .jukebox-track-number {
  order: 0;
}

.jukebox-track-button.is-right .jukebox-track-title {
  order: 0;
}

.jukebox-track-number {
  display: none;
  width: 24px;
  height: 24px;
  place-items: center;
  justify-self: center;
  border: 1px solid rgba(255, 199, 219, 0.58);
  border-radius: 999px;
  background:
    radial-gradient(circle at 36% 30%, rgba(255, 255, 255, 0.9), transparent 18%),
    linear-gradient(145deg, #5a0015, #d9003f 48%, #1d0508);
  box-shadow:
    inset 0 0 4px rgba(255, 255, 255, 0.35),
    0 0 7px rgba(255, 23, 77, 0.34);
  color: #fff5f8;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.88);
}

.jukebox-track-title {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 100%;
  max-height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ffe2e8;
  font-size: clamp(7.2px, 0.7vw, 9.5px);
  font-weight: 900;
  line-height: 1;
  overflow: hidden;
  padding: 0 2px;
  text-align: center;
  text-overflow: ellipsis;
  text-shadow: 0 0 8px rgba(255, 23, 77, 0.36), 0 2px 2px rgba(0, 0, 0, 0.82);
  text-transform: none;
  white-space: nowrap;
}

.jukebox-vote-pick {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid rgba(255, 199, 219, 0.58);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.86), transparent 18%),
    linear-gradient(145deg, #5a0015, #d9003f 48%, #1d0508);
  box-shadow: 0 0 9px rgba(255, 23, 77, 0.38);
  color: #fff2f6;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.jukebox-vote-pick.is-selected {
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.9), transparent 18%),
    linear-gradient(145deg, #ff7aa1, #ff174d 48%, #6b0019);
  box-shadow: 0 0 16px rgba(255, 23, 77, 0.8);
}

.jukebox-page-button {
  position: absolute;
  top: calc(77.25% + 6px);
  bottom: auto;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 199, 219, 0.54);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.32), transparent 22%),
    linear-gradient(145deg, #1b0508, #d0003d 48%, #050101);
  box-shadow: 0 0 18px rgba(255, 23, 77, 0.46);
  color: #fff3f7;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.jukebox-page-prev {
  left: calc(59.25% - 6px);
  transform: translateX(-100%);
}

.jukebox-page-next {
  left: 68.25%;
}

.jukebox-page-label {
  position: absolute;
  top: 65.3%;
  bottom: auto;
  left: 55%;
  width: 31%;
  transform: none;
  z-index: 2;
  margin: 0;
  color: #ffd8e4;
  font-size: clamp(11px, 1.05vw, 16px);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-shadow: 0 0 10px rgba(255, 23, 77, 0.54), 0 2px 2px rgba(0, 0, 0, 0.9);
  text-transform: uppercase;
}

.jukebox-track-button:not(:disabled):hover .jukebox-track-number,
.jukebox-track-button.is-selected .jukebox-track-number,
.jukebox-track-button.is-playing .jukebox-track-number {
  background:
    radial-gradient(circle at 36% 30%, rgba(255, 255, 255, 0.95), transparent 18%),
    linear-gradient(145deg, #ffcad7, #ff174d 48%, #5d0017);
  box-shadow:
    inset 0 0 5px rgba(255, 255, 255, 0.38),
    0 0 11px rgba(255, 23, 77, 0.62);
}

.jukebox-track-button:not(:disabled):hover .jukebox-track-title,
.jukebox-track-button.is-selected .jukebox-track-title,
.jukebox-track-button.is-playing .jukebox-track-title {
  color: #5b0014;
  text-shadow:
    0 1px 0 rgba(255, 245, 229, 0.8),
    0 0 8px rgba(255, 23, 77, 0.36);
}

.jukebox-console {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.jukebox-playback-panel {
  display: grid;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 23, 77, 0.3);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 23, 77, 0.12), rgba(0, 0, 0, 0.28)),
    rgba(8, 3, 6, 0.78);
  box-shadow: inset 0 0 18px rgba(255, 23, 77, 0.12);
}

.jukebox-vote-panel {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 10px 0 12px;
  border-top: 1px solid rgba(255, 23, 77, 0.26);
  border-bottom: 1px solid rgba(255, 23, 77, 0.26);
}

.jukebox-vote-panel h2 {
  margin: 0;
  color: var(--accent-light);
  font-family: var(--body-font);
  font-size: clamp(14px, 1.12vw, 18px);
  font-weight: 900;
  line-height: 1.1;
}

.jukebox-vote-count,
.jukebox-vote-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.jukebox-vote-submit {
  width: 100%;
  min-height: 42px;
  font-size: 18px;
}

.jukebox-playlist-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.jukebox-vote-table-wrap {
  max-height: clamp(190px, 27svh, 240px);
  overflow: auto;
  border: 1px solid rgba(255, 23, 77, 0.18);
  background: rgba(0, 0, 0, 0.28);
}

.jukebox-vote-table {
  width: 100%;
  border-collapse: collapse;
  color: #fbe1e7;
  font-size: 11px;
}

.jukebox-vote-table th,
.jukebox-vote-table td {
  padding: 5px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.jukebox-vote-table th {
  position: sticky;
  top: 0;
  background: #26020b;
  color: #ff9db6;
  font-size: 11px;
  text-transform: uppercase;
}

.jukebox-vote-table td:first-child,
.jukebox-vote-table td:last-child,
.jukebox-vote-table th:first-child,
.jukebox-vote-table th:last-child {
  width: 1%;
  text-align: center;
  white-space: nowrap;
}

.jukebox-now-label {
  display: none;
}

.jukebox-now-playing {
  min-height: 0;
  margin: 0 0 8px;
  color: var(--white);
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
}

.jukebox-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 6px;
}

.jukebox-controls .button,
.jukebox-mode-controls .button,
.jukebox-playlist-actions .button,
.jukebox-audio-output .button {
  min-height: 34px;
  padding: 7px 8px;
  font-size: 12px;
}

.jukebox-icon-button {
  min-width: 36px;
  font-size: 17px;
  line-height: 1;
}

.jukebox-mode-controls .jukebox-icon-button {
  min-height: 38px;
  min-width: 44px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 900;
}

.jukebox-shuffle-button::before,
.jukebox-loop-button::before {
  content: "";
  display: block;
  width: 30px;
  height: 24px;
  margin: 0 auto;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.jukebox-shuffle-button::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23fff3f7' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 14h7c9 0 13 20 23 20h4'/%3E%3Cpath d='M34 27l7 7-7 7'/%3E%3Cpath d='M7 34h7c9 0 13-20 23-20h4'/%3E%3Cpath d='M34 7l7 7-7 7'/%3E%3C/svg%3E");
}

.jukebox-loop-button::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23fff3f7' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M34 16a13 13 0 1 0 3 9'/%3E%3Cpath d='M34 7v9h9'/%3E%3C/svg%3E");
}

.jukebox-heart-button {
  font-size: 18px;
}

.jukebox-heart-button.is-selected,
.jukebox-mode-button.is-selected,
.jukebox-mute-button.is-selected {
  border-color: rgba(255, 199, 219, 0.9);
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.34), transparent 20%),
    linear-gradient(145deg, #ff6d9b, #b50035 56%, #240008);
  color: #fff7fa;
  box-shadow: 0 0 13px rgba(255, 23, 77, 0.55);
}

.jukebox-mode-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px 52px;
  gap: 6px;
}

.jukebox-volume-control {
  display: grid;
  gap: 6px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.jukebox-volume-row {
  display: grid;
  grid-template-columns: 34px minmax(180px, 1fr);
  align-items: center;
  gap: 10px;
}

.jukebox-volume-row .jukebox-mute-button {
  min-width: 34px;
  min-height: 32px;
  padding: 5px;
  font-size: 16px;
}

.jukebox-volume {
  width: 100%;
  accent-color: var(--accent);
}

.jukebox-audio-output {
  display: grid;
  gap: 6px;
}

.jukebox-audio-output-select {
  width: 100%;
  min-height: 34px;
  border: 1px solid rgba(255, 23, 77, 0.34);
  border-radius: 4px;
  background: rgba(8, 3, 6, 0.92);
  color: #ffe8ef;
  font-weight: 800;
}

.jukebox-audio-output-status {
  min-height: 1.2em;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}

.jukebox-error {
  min-height: 1.4em;
  margin: 14px 0 0;
  color: #ff93a6;
  font-weight: 800;
}

.jukebox-error:empty {
  display: none;
  min-height: 0;
  margin: 0;
}

.music-page .music-player {
  display: none !important;
}

.music-page .site-footer {
  display: none !important;
}

body.music-page {
  --fixed-bottom-space: 0px;
  --page-top-space: 74px;
  --page-bottom-space: 0px;
  overflow: hidden;
}

body.music-page .page-main {
  min-height: 100svh;
  padding-top: var(--page-top-space);
  padding-bottom: 0;
}

body.music-page .page-section {
  height: calc(100svh - var(--page-top-space));
  min-height: 0;
  overflow: hidden;
}

.music-page .music-heading {
  display: block;
  max-width: none;
  min-height: 28px;
  margin: 0 0 2px;
  text-align: center;
}

.music-page .jukebox-intro-line {
  margin: 0;
  color: var(--muted);
  font-size: clamp(11px, 1.05vw, 16px);
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
  text-transform: none;
  white-space: nowrap;
}

.music-page .jukebox-layout {
  grid-template-columns: minmax(400px, 740px) minmax(290px, 370px);
  gap: clamp(10px, 1.4vw, 20px);
  align-items: center;
  margin-top: 0;
  max-height: calc(100svh - var(--page-top-space) - 36px);
}

.music-page .jukebox-stage {
  width: min(740px, calc((100svh - var(--page-top-space) - 44px) / 1.5), 100%);
}

.music-page .jukebox-console {
  align-self: start;
  min-height: 0;
  max-height: none;
  overflow: visible;
  transform: translateY(-18px);
}

.music-page .jukebox-playback-panel {
  margin-top: 0;
}

.game-page .music-player {
  display: none !important;
}

.game-page {
  --page-top-space: 58px;
  --page-bottom-space: 10px;
  overflow-y: auto;
}

.game-page .site-header {
  padding-top: 4px;
  padding-bottom: 4px;
}

.game-page .main-nav {
  gap: 3px;
  padding: 3px;
  font-size: clamp(14px, 1.06vw, 17px);
}

.game-page .main-nav a {
  padding: 5px 7px;
}

.game-page .page-main {
  min-height: 0;
  overflow: visible;
  padding-top: var(--page-top-space);
  padding-bottom: 4px;
}

.game-page .page-section {
  min-height: 0;
  height: auto;
}

.game-page .site-footer {
  display: none;
}

.game-section {
  display: flex;
  justify-content: center;
  padding-top: clamp(4px, 0.7vh, 9px);
  padding-bottom: 4px;
}

.game-shell {
  display: grid;
  width: min(100%, 1500px);
  gap: 4px;
}

.game-panel {
  border: 1px solid rgba(255, 23, 77, 0.34);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 46%),
    rgba(6, 5, 8, 0.82);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 42px rgba(0, 0, 0, 0.35);
}

.game-scoreboard {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 3px;
  text-align: center;
  border-color: rgba(42, 113, 255, 0.22);
  background: rgba(6, 5, 8, 0.82);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 12px 30px rgba(0, 0, 0, 0.34);
}

.game-shell.is-game-cover-screen .game-scoreboard {
  display: none;
}

.game-shell.is-game-cover-screen .pak-manu-canvas {
  width: min(1010px, 90vw, calc((100svh - 238px) * 28 / 31));
  max-height: calc(100svh - 238px);
  opacity: 0;
}

.game-shell.is-game-cover-screen .game-stage {
  overflow: visible;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.game-scoreboard div {
  min-width: 0;
  padding: 3px 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.035);
}

.game-label {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.05;
  text-transform: uppercase;
}

.game-scoreboard strong {
  display: block;
  margin-top: 2px;
  color: var(--white);
  font-family: var(--gothic-font);
  font-size: clamp(15px, 1.6vw, 22px);
  line-height: 1;
  text-shadow: 0 0 16px rgba(255, 23, 77, 0.45);
}

.game-stage {
  position: relative;
  display: grid;
  place-items: center;
  overflow-x: auto;
  overflow-y: visible;
  border: 1px solid rgba(42, 113, 255, 0.55);
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 23, 177, 0.18), transparent 32%),
    linear-gradient(180deg, #08070b, #020204);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 24px 72px rgba(0, 0, 0, 0.55);
}

.pak-manu-canvas {
  display: block;
  width: min(1500px, calc(100vw - 10px), calc((100svh - 172px) * 28 / 31));
  max-width: 100%;
  max-height: calc(100svh - 172px);
  height: auto;
  aspect-ratio: 28 / 31;
  margin-inline: auto;
  border-radius: 4px;
  image-rendering: auto;
  touch-action: none;
}

.game-shell[data-game-started="1"] .game-controls {
  display: none;
}

.game-shell[data-game-started="1"] .game-scoreboard {
  gap: 3px;
  padding: 2px;
}

.game-shell[data-game-started="1"] .game-scoreboard div {
  padding: 2px 5px;
}

.game-shell[data-game-started="1"] .pak-manu-canvas {
  width: min(1640px, calc(100vw - 8px), calc((100svh - 154px) * 28 / 31));
  max-height: calc(100svh - 154px);
}

.game-overlay {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  align-content: center;
  gap: 9px;
  padding: 18px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 23, 77, 0.18), transparent 30%),
    rgba(0, 0, 0, 0.62);
}

.game-overlay.is-visible {
  display: grid;
}

.game-overlay.is-game-over {
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 23, 77, 0.28), transparent 34%),
    linear-gradient(180deg, rgba(13, 0, 5, 0.84), rgba(0, 0, 0, 0.9));
}

.game-overlay.is-game-over h1 {
  color: #ff174d;
  text-shadow:
    0 0 16px rgba(255, 23, 77, 0.9),
    0 0 40px rgba(214, 0, 50, 0.75),
    0 4px 0 rgba(0, 0, 0, 0.85);
}

.game-over-art {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(78vw, 650px);
  max-height: min(34svh, 230px);
  height: auto;
  object-fit: contain;
  transform: translate(-50%, -50%);
  filter:
    drop-shadow(0 0 18px rgba(255, 23, 77, 0.68))
    drop-shadow(0 16px 34px rgba(0, 0, 0, 0.75));
}

.game-overlay.is-game-over .game-over-art {
  display: block;
}

.game-overlay.is-game-over:not(.is-score-entry) h1 {
  display: none;
}

.game-overlay.is-game-over:not(.is-score-entry) .game-best-list,
.game-overlay.is-game-over:not(.is-score-entry) .game-input-note {
  display: none;
}

.game-menu-manu {
  width: clamp(82px, 12vw, 138px);
  aspect-ratio: 1;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  box-shadow:
    0 0 0 3px rgba(0, 0, 0, 0.55),
    0 0 24px rgba(255, 23, 143, 0.42);
}

.game-menu-cover {
  width: clamp(132px, 18vw, 230px);
  max-width: min(46vw, 230px);
  max-height: min(37svh, 330px);
  height: auto;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.game-cover-button {
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.game-cover-button:focus-visible {
  outline: 2px solid #ff39b4;
  outline-offset: 6px;
  border-radius: 12px;
}

.game-overlay.is-game-over .game-menu-manu,
.game-overlay.is-game-over .game-cover-button,
.game-overlay.is-game-over .game-menu-cover,
.game-overlay.is-score-entry .game-menu-manu,
.game-overlay.is-score-entry .game-cover-button,
.game-overlay.is-score-entry .game-menu-cover {
  display: none;
}

.game-overlay.is-attract-mode {
  align-content: end;
  justify-items: center;
  gap: clamp(8px, 1.4vh, 14px);
  padding: clamp(10px, 2vh, 22px) clamp(12px, 2.6vh, 30px) clamp(6px, 1.2vh, 14px);
  background:
    linear-gradient(180deg, transparent 0%, transparent 56%, rgba(0, 0, 0, 0.7) 100%);
  pointer-events: none;
}

.game-overlay.is-attract-mode .game-menu-manu {
  display: none;
}

.game-overlay.is-attract-mode .game-menu-cover {
  display: none;
}

.game-overlay.is-attract-mode .game-cover-button {
  display: none;
}

.game-overlay.is-attract-mode.is-attract-start .game-menu-manu {
  position: absolute;
  left: 50%;
  top: 58%;
  display: block;
  width: clamp(190px, 19vw, 250px);
  transform: translate(-50%, -50%);
}

.game-overlay.is-attract-mode.is-attract-start {
  align-content: center;
  justify-items: center;
  gap: clamp(10px, 1.7vh, 18px);
  padding: clamp(10px, 1.7vh, 18px);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 23, 143, 0.24), transparent 34%),
    rgba(0, 0, 0, 0.74);
}

.game-overlay.is-attract-mode.is-attract-start .game-menu-cover {
  display: block;
  width: clamp(380px, 48vw, 660px);
  max-width: min(92vw, 660px);
  max-height: min(78svh, 760px);
}

.game-overlay.is-attract-mode.is-attract-start .game-cover-button {
  position: static;
  display: inline-grid;
  transform: none;
}

.game-overlay.is-attract-mode [data-game-start] {
  order: 1;
}

.game-overlay.is-attract-mode .eyebrow,
.game-overlay.is-attract-mode h1,
.game-overlay.is-attract-mode:not(.is-attract-start) p[data-i18n="game.copy"],
.game-overlay.is-attract-mode .game-input-note,
.game-overlay.is-attract-mode .game-best-list {
  display: none;
}

.game-overlay.is-attract-mode.is-attract-start p[data-i18n="game.copy"] {
  display: block;
  order: -1;
  margin: 0 0 clamp(4px, 0.8vh, 8px);
  color: #ff93c9;
  font-weight: 900;
  text-shadow:
    0 0 12px rgba(255, 57, 180, 0.8),
    0 2px 0 rgba(0, 0, 0, 0.85);
}

.game-cover-compat {
  order: -2;
  margin: 0;
  color: #d6f6ff;
  font-weight: 900;
  font-size: clamp(0.92rem, 1.5vw, 1.18rem);
  text-shadow:
    0 0 14px rgba(111, 210, 255, 0.85),
    0 2px 0 rgba(0, 0, 0, 0.85);
}

.game-overlay.is-attract-mode:not(.is-attract-start) .game-cover-compat,
.game-overlay.is-game-over .game-cover-compat,
.game-overlay.is-score-entry .game-cover-compat,
.game-overlay.is-difficulty-choice .game-cover-compat,
.game-overlay.is-continue-choice .game-cover-compat {
  display: none;
}

.game-overlay.is-attract-mode .game-name-entry,
.game-overlay.is-attract-mode .game-cover-button,
.game-overlay.is-attract-mode [data-game-start] {
  pointer-events: auto;
}

.game-overlay.is-attract-mode .game-start-flash {
  order: 1;
  min-width: 160px;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  animation: gameStartFlash 0.92s ease-in-out infinite;
}

@keyframes gameStartFlash {
  0%,
  100% {
    filter: brightness(0.95);
    box-shadow: 0 0 10px rgba(255, 23, 77, 0.45);
  }
  50% {
    filter: brightness(1.35);
    box-shadow:
      0 0 18px rgba(255, 57, 180, 0.9),
      0 0 34px rgba(255, 23, 77, 0.68);
  }
}

.game-overlay [data-game-start][hidden] {
  display: none;
}

.game-name-entry[hidden],
.game-score-submit[hidden] {
  display: none;
}

.game-overlay.is-score-entry .game-name-entry,
.game-overlay.is-score-entry .game-name-entry input,
.game-overlay.is-score-entry .game-score-submit {
  pointer-events: auto;
}

.game-overlay.is-score-entry [data-game-start] {
  display: none;
}

.game-difficulty-choice[hidden],
.game-continue-choice[hidden] {
  display: none !important;
}

.game-overlay.is-difficulty-choice,
.game-overlay.is-continue-choice {
  align-content: center;
  justify-items: center;
  gap: clamp(10px, 1.4vh, 16px);
  padding: clamp(12px, 2vh, 24px);
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 23, 143, 0.22), transparent 35%),
    linear-gradient(180deg, rgba(8, 0, 10, 0.88), rgba(0, 0, 0, 0.94));
  pointer-events: auto;
}

.game-overlay.is-difficulty-choice .eyebrow,
.game-overlay.is-difficulty-choice h1,
.game-overlay.is-difficulty-choice > p[data-i18n="game.copy"],
.game-overlay.is-difficulty-choice .game-cover-button,
.game-overlay.is-difficulty-choice [data-game-start],
.game-overlay.is-difficulty-choice .game-best-list,
.game-overlay.is-continue-choice .eyebrow,
.game-overlay.is-continue-choice h1,
.game-overlay.is-continue-choice > p[data-i18n="game.copy"],
.game-overlay.is-continue-choice .game-cover-button,
.game-overlay.is-continue-choice [data-game-start],
.game-overlay.is-continue-choice .game-best-list {
  display: none;
}

.game-difficulty-choice,
.game-continue-choice {
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: clamp(10px, 1.6vh, 16px);
  width: min(94vw, 720px);
  pointer-events: auto;
}

.game-difficulty-choice strong,
.game-continue-choice strong {
  color: #fff;
  font-family: var(--gothic-font);
  font-size: clamp(28px, 5.2vw, 62px);
  line-height: 0.95;
  text-shadow:
    0 0 18px rgba(255, 23, 143, 0.85),
    0 3px 0 rgba(0, 0, 0, 0.9);
}

.game-difficulty-choice-buttons,
.game-continue-choice-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(10px, 2vw, 18px);
}

.game-difficulty-choice .button,
.game-continue-choice .button {
  min-width: clamp(150px, 22vw, 230px);
  min-height: 48px;
  border-color: rgba(255, 57, 180, 0.62);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), transparent 42%),
    linear-gradient(135deg, rgba(40, 8, 34, 0.92), rgba(7, 3, 16, 0.94));
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  transition:
    transform 0.12s ease,
    filter 0.12s ease,
    background 0.12s ease,
    box-shadow 0.12s ease;
}

.game-difficulty-choice .button.is-active,
.game-difficulty-choice .button.is-pressed,
.game-continue-choice .button.is-active,
.game-continue-choice .button.is-pressed {
  background: linear-gradient(180deg, #ff3355 0%, #db001f 58%, #870012 100%);
  border-color: rgba(255, 245, 245, 0.96);
  color: #fff;
  filter: brightness(1.24) saturate(1.18);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.28),
    0 0 26px rgba(255, 23, 77, 0.92),
    0 12px 24px rgba(0, 0, 0, 0.45);
}

.game-difficulty-choice .button.is-pressed,
.game-continue-choice .button.is-pressed {
  transform: translateY(2px) scale(0.985);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.24),
    0 0 18px rgba(255, 23, 77, 0.82),
    0 5px 12px rgba(0, 0, 0, 0.5);
}

.game-difficulty-choice small,
.game-continue-choice small {
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(12px, 1.6vw, 15px);
  font-weight: 800;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.8);
}

.game-difficulty-art {
  display: block;
  width: min(78vw, 390px);
  max-height: min(47svh, 520px);
  object-fit: contain;
  border: 1px solid rgba(255, 57, 180, 0.5);
  box-shadow:
    0 0 24px rgba(255, 23, 143, 0.38),
    0 18px 36px rgba(0, 0, 0, 0.58);
}

.game-continue-countdown {
  display: inline-grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border: 2px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  color: #fff;
  font-family: var(--gothic-font);
  font-size: 40px;
  line-height: 1;
  text-shadow:
    0 0 14px rgba(255, 23, 77, 0.9),
    0 3px 0 rgba(0, 0, 0, 0.9);
  box-shadow:
    inset 0 0 18px rgba(255, 23, 77, 0.28),
    0 0 20px rgba(255, 23, 143, 0.48);
}

.game-ready-prompt {
  position: fixed;
  left: 50%;
  top: 52vh;
  z-index: 1200;
  display: grid;
  gap: 8px;
  width: min(620px, calc(100vw - 52px));
  padding: 18px 22px;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 79, 159, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(31, 4, 14, 0.96), rgba(0, 0, 0, 0.94) 54%, rgba(55, 0, 14, 0.96));
  color: #fff;
  text-align: center;
  pointer-events: none;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 0 28px rgba(255, 23, 143, 0.55),
    0 18px 42px rgba(0, 0, 0, 0.58);
}

.game-ready-prompt[hidden] {
  display: none;
}

.game-ready-prompt strong {
  max-width: 100%;
  font-size: clamp(17px, 2.25vw, 26px);
  line-height: 1.12;
  overflow-wrap: anywhere;
  text-shadow: 0 0 12px rgba(214, 0, 50, 0.88);
}

.game-ready-prompt span {
  max-width: 100%;
  color: #ffb7dc;
  font-weight: 800;
  font-size: clamp(13px, 1.6vw, 17px);
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.game-ready-prompt small {
  color: #6fd2ff;
  font-weight: 900;
  letter-spacing: 0;
}

.game-victory-screen {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  background: #000;
  cursor: pointer;
}

.game-victory-screen[hidden] {
  display: none;
}

.game-victory-screen video {
  display: block;
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  background: #000;
  pointer-events: none;
}

.game-overlay h1 {
  margin: 0;
  color: #ff4f9f;
  font-family: var(--gothic-font);
  font-size: clamp(48px, 8vw, 108px);
  line-height: 0.95;
  text-shadow:
    0 0 18px rgba(255, 23, 143, 0.75),
    0 0 34px rgba(214, 0, 50, 0.55),
    0 4px 0 rgba(0, 0, 0, 0.8);
}

.game-overlay p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 2vw, 19px);
}

.game-input-note {
  color: #fff;
  font-size: clamp(13px, 1.8vw, 16px);
  font-weight: 800;
}

.game-name-entry {
  display: grid;
  gap: 5px;
  width: min(360px, 90%);
  margin-inline: auto;
  color: #fff;
  font-size: clamp(13px, 1.7vw, 16px);
  font-weight: 900;
  text-transform: uppercase;
}

.game-name-entry input {
  width: 100%;
  border: 1px solid rgba(255, 79, 159, 0.72);
  border-radius: 4px;
  padding: 9px 10px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font: 900 18px Georgia, serif;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(255, 23, 143, 0.28);
}

.game-best-list {
  width: min(360px, 92%);
  margin-inline: auto;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.48);
}

.game-best-list strong {
  display: block;
  margin-bottom: 4px;
  color: #ff93c9;
  font-size: 12px;
  text-transform: uppercase;
}

.game-best-list ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding-left: 20px;
}

.game-best-list li {
  display: grid;
  grid-template-columns: minmax(82px, 1fr) auto auto;
  gap: 8px;
  align-items: baseline;
  color: #fff;
  font: 800 13px Arial, sans-serif;
}

.game-best-list li span {
  display: inline-block;
  color: #fff5d8;
}

.game-best-list li em {
  color: #ff93c9;
  font-style: normal;
  font-size: 11px;
  text-transform: uppercase;
}

.game-best-list li b {
  color: #6fd2ff;
}

.game-best-list li.is-demo span,
.game-best-list li.is-demo em,
.game-best-list li.is-demo b {
  opacity: 0.74;
}

.game-best-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.game-controls {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr);
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
}

.game-actions,
.game-difficulty {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.game-controls .button,
.game-difficulty .view-button {
  min-height: 32px;
}

.game-controls .button.is-control-active {
  border-color: rgba(255, 79, 159, 0.92);
  background:
    linear-gradient(180deg, rgba(255, 79, 159, 0.94), rgba(214, 0, 50, 0.92) 52%, rgba(86, 0, 19, 0.96));
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 18px rgba(255, 23, 143, 0.48),
    0 8px 20px rgba(0, 0, 0, 0.32);
}

.game-controls .button.is-control-idle {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

.game-controls .button[hidden] {
  display: none;
}

.game-touch-controls {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: max(10px, env(safe-area-inset-bottom, 0px));
  z-index: 8;
  display: none;
  grid-template-columns: 132px 66px;
  justify-content: space-between;
  align-items: end;
  pointer-events: none;
}

.game-touch-dpad {
  display: grid;
  grid-template-columns: repeat(3, 42px);
  grid-template-rows: repeat(3, 42px);
  gap: 3px;
}

.game-touch-button {
  display: grid;
  place-items: center;
  min-width: 42px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 44%),
    rgba(8, 4, 12, 0.72);
  color: #fff;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 9px rgba(255, 57, 180, 0.9);
  box-shadow:
    inset 0 0 0 1px rgba(255, 57, 180, 0.22),
    0 0 18px rgba(255, 23, 143, 0.34),
    0 7px 18px rgba(0, 0, 0, 0.42);
  opacity: 0.78;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: auto;
}

.game-touch-button.is-pressed,
.game-touch-button:active {
  background: linear-gradient(180deg, #ff3355 0%, #db001f 58%, #870012 100%);
  border-color: rgba(255, 245, 245, 0.94);
  opacity: 0.94;
  transform: translateY(1px) scale(0.98);
}

.game-touch-up {
  grid-column: 2;
  grid-row: 1;
}

.game-touch-left {
  grid-column: 1;
  grid-row: 2;
}

.game-touch-right {
  grid-column: 3;
  grid-row: 2;
}

.game-touch-down {
  grid-column: 2;
  grid-row: 3;
}

.game-touch-action {
  width: 62px;
  height: 62px;
  font-size: 22px;
}

@media (max-width: 700px), (hover: none) and (pointer: coarse) {
  .game-shell[data-game-started="1"] .game-touch-controls {
    display: grid;
  }
}

.game-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px 12px;
  padding: 6px 10px;
  color: #fff;
  font-size: 13px;
}

.gamepad-status {
  margin: 0;
  color: #6fd2ff;
  font-size: 12px;
  font-weight: 900;
  text-align: right;
  text-shadow: 0 0 10px rgba(111, 210, 255, 0.38);
}

.gamepad-debug {
  display: none;
  grid-column: 1 / -1;
  color: rgba(255, 245, 216, 0.72);
  font-size: 12px;
  text-align: right;
}

.game-points strong {
  color: #ff93c9;
}

body.game-tv-mode {
  overflow: hidden;
  background: #000;
}

body.game-tv-mode .site-header,
body.game-tv-mode .site-footer,
body.game-tv-mode .music-player {
  display: none;
}

body.game-tv-mode.game-page {
  --page-top-space: 0px;
  --page-bottom-space: 0px;
}

body.game-tv-mode .page-main,
body.game-tv-mode .game-section {
  padding: 0;
}

body.game-tv-mode .page-section {
  min-height: 100svh;
}

body.game-tv-mode .game-section {
  align-items: center;
}

body.game-tv-mode .game-shell {
  width: 100vw;
  max-width: none;
  gap: 4px;
  padding: 4px;
  box-sizing: border-box;
}

body.game-tv-mode .game-controls,
body.game-tv-mode .game-points {
  display: none;
}

body.game-tv-mode .game-stage {
  min-height: 0;
  overflow: hidden;
}

body.game-tv-mode .pak-manu-canvas {
  width: min(100vw, calc((100svh - 58px) * 28 / 31));
  max-height: calc(100svh - 58px);
}

body.game-tv-mode .game-scoreboard {
  padding: 3px;
}

body.game-tv-mode .game-label {
  font-size: 9px;
}

body.game-tv-mode .game-scoreboard strong {
  font-size: clamp(15px, 2vw, 21px);
}

.game-overlay.is-score-celebration {
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 214, 76, 0.26), transparent 30%),
    rgba(0, 0, 0, 0.48);
}

.game-overlay.is-complete-celebration {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 23, 77, 0.3), transparent 32%),
    radial-gradient(circle at 30% 20%, rgba(255, 214, 76, 0.24), transparent 24%),
    rgba(0, 0, 0, 0.44);
}

.game-legend {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
}

.game-legend div {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(42, 113, 255, 0.28);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.26);
}

.game-legend p {
  display: grid;
  gap: 2px;
  margin: 0;
  min-width: 0;
}

.game-legend strong {
  color: #fff6e8;
  font-size: 13px;
  line-height: 1.15;
  text-shadow: 0 0 8px rgba(255, 23, 77, 0.55);
}

.game-legend span:not(.game-legend-icon) {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.game-legend-icon {
  position: relative;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 8px rgba(42, 113, 255, 0.55));
}

.game-legend-garlic::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 7px;
  width: 16px;
  height: 20px;
  border-radius: 50% 50% 45% 45%;
  background: #f6ead7;
  box-shadow: inset -4px -3px 0 rgba(189, 158, 122, 0.45);
}

.game-legend-garlic::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 4px;
  width: 3px;
  height: 7px;
  background: #d2b59a;
}

.game-legend-cross::before,
.game-legend-cross::after {
  content: "";
  position: absolute;
  background: #f6f1e9;
  box-shadow: inset 0 0 0 2px #8c8c8c, 0 0 10px rgba(255, 255, 255, 0.45);
}

.game-legend-cross::before {
  left: 14px;
  top: 3px;
  width: 5px;
  height: 26px;
}

.game-legend-cross::after {
  left: 6px;
  top: 12px;
  width: 21px;
  height: 5px;
}

.game-legend-camera::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 24px;
  height: 16px;
  border-radius: 3px;
  border: 2px solid #eee;
  background: #1a1d22;
}

.game-legend-camera::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid #1fd4ff;
  background: #050506;
}

.game-legend-vampire::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 21px;
  height: 22px;
  border-radius: 50% 50% 36% 36%;
  background: #ff3f91;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.28);
}

.game-legend-vampire::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 18px;
  width: 10px;
  height: 5px;
  border-radius: 0 0 8px 8px;
  background: #fff;
  box-shadow: 0 -7px 0 -2px #111;
}

.game-status {
  margin: 0;
  color: var(--muted);
  text-align: right;
}

@media (max-width: 860px) {
  .game-section {
    padding-top: 10px;
  }

  .game-controls {
    grid-template-columns: 1fr;
  }

  .game-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-actions .button {
    width: auto;
  }

  .game-status {
    text-align: left;
  }

  .pak-manu-canvas {
    width: clamp(700px, 100%, 864px);
  }
}

@media (max-width: 560px) {
  .game-scoreboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    padding: 8px;
  }

  .game-legend {
    grid-template-columns: 1fr;
  }

  .game-scoreboard div {
    padding: 7px 4px;
  }

  .game-label {
    font-size: 10px;
  }

  .game-section {
    padding-top: 10px;
    padding-inline: 10px;
  }

  .pak-manu-canvas {
    width: 700px;
  }
}

.music-player.is-jukebox-carryover {
  display: none !important;
}

.jukebox-runtime-audio {
  display: none;
}

@media (max-width: 920px) {
  body.music-page {
    overflow-y: auto;
  }

  body.music-page .page-section {
    height: auto;
    min-height: calc(100svh - var(--page-top-space));
    overflow: visible;
  }

  .jukebox-layout {
    grid-template-columns: 1fr;
    width: min(760px, calc(100vw - 24px));
  }

  .music-page .jukebox-layout {
    grid-template-columns: 1fr;
    align-items: start;
    max-height: none;
    width: min(760px, calc(100vw - 24px));
  }

  .jukebox-console {
    width: min(560px, 100%);
    margin: 0 auto;
  }

  .music-page .jukebox-console {
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 620px) {
  .jukebox-layout {
    width: calc(100vw - 14px);
    gap: 12px;
  }

  .jukebox-stage {
    width: 100%;
  }

  .jukebox-track-title {
    border-radius: 3px;
    align-self: center;
    height: auto;
    max-height: 100%;
    font-size: clamp(7.5px, 2.25vw, 9px);
    line-height: 1;
    padding: 0 2px;
  }

  .jukebox-track-number {
    width: min(4vw, 15px);
    height: min(4vw, 15px);
    font-size: clamp(6px, 1.55vw, 7.5px);
  }

  .jukebox-track-row {
    display: block;
  }

  .jukebox-track-button {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 1px 3px;
  }

  .jukebox-vote-pick {
    width: min(7vw, 28px);
    height: min(7vw, 28px);
    font-size: clamp(10px, 2.6vw, 13px);
  }

  .jukebox-page-button {
    width: 38px;
    height: 38px;
    font-size: 26px;
  }

  .jukebox-vote-table-wrap {
    max-height: 180px;
  }

  .jukebox-controls {
    grid-template-columns: 1fr;
  }
}

.gothic-frame {
  position: relative;
  min-height: 0;
  padding: 4px;
  background:
    radial-gradient(circle at 50% 50%, rgba(216, 0, 50, 0.08), transparent 48%),
    rgba(0, 0, 0, 0.24);
}

.gallery-section > .gothic-frame {
  height: min(68vh, 640px);
  min-height: 430px;
  overflow: hidden;
}

.gallery-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.empty-gallery {
  grid-column: 1 / -1;
  align-self: center;
  justify-self: center;
  margin: 0;
  color: var(--muted);
  font-family: var(--gothic-font);
  font-size: clamp(22px, 4vw, 42px);
  text-align: center;
  text-shadow: 0 0 18px rgba(216, 0, 50, 0.48);
}

.gallery-page-button {
  display: grid;
  width: 38px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 23, 77, 0.46);
  border-radius: 12px 12px 4px 4px;
  clip-path: polygon(10% 0, 90% 0, 100% 22%, 100% 78%, 90% 100%, 10% 100%, 0 78%, 0 22%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 46%),
    rgba(0, 0, 0, 0.42);
  color: var(--white);
  font: inherit;
  font-size: 22px;
}

.slideshow {
  position: relative;
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 8px;
}

.slideshow-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  height: min(66vh, 610px);
  margin: 0;
  overflow: hidden;
  border: 2px solid rgba(180, 0, 38, 0.72);
  border-radius: 3px;
  padding: 6px;
  background: #050405;
  box-shadow:
    var(--shadow),
    var(--glow),
    0 0 0 4px rgba(0, 0, 0, 0.78),
    0 0 0 6px rgba(255, 23, 77, 0.2),
    inset 0 0 26px rgba(255, 23, 77, 0.2);
}

.slideshow-frame::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 12% 64%, rgba(255, 255, 255, 0.5), transparent 14%),
    radial-gradient(ellipse at 26% 38%, rgba(255, 255, 255, 0.34), transparent 18%),
    radial-gradient(ellipse at 48% 58%, rgba(255, 255, 255, 0.38), transparent 22%),
    radial-gradient(ellipse at 70% 35%, rgba(255, 255, 255, 0.26), transparent 18%),
    radial-gradient(ellipse at 88% 62%, rgba(216, 0, 50, 0.18), transparent 18%),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  filter: blur(22px);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-28%) scale(1.08) rotate(-3deg);
}

.slideshow-frame.is-smoking::before {
  animation: smokeWipe 1650ms ease both;
}

.slideshow-frame.is-smoking .slideshow-image {
  animation: photoReveal 1650ms ease both;
}

.slideshow-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 6px solid transparent;
  border-image: linear-gradient(135deg, #f7dfe6, #a50026 18%, #050405 32%, #c5002d 50%, #050405 68%, #f7dfe6) 1;
  pointer-events: none;
  opacity: 0.82;
  z-index: 3;
}

.slideshow-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050405;
  transition: opacity 650ms ease, filter 650ms ease, transform 650ms ease;
}

.slideshow-image-incoming {
  position: absolute;
  inset: 6px;
  z-index: 2;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  object-fit: contain;
  background: #050405;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.42);
  will-change: transform, opacity;
  animation: photoStackIn 1250ms cubic-bezier(0.16, 0.84, 0.22, 1) both;
}

.stack-from-right {
  --stack-x: 112%;
  --stack-y: 0%;
  --stack-rotate: 1.4deg;
}

.stack-from-left {
  --stack-x: -112%;
  --stack-y: 0%;
  --stack-rotate: -1.4deg;
}

.stack-from-top {
  --stack-x: 0%;
  --stack-y: -112%;
  --stack-rotate: 1deg;
}

.stack-from-bottom {
  --stack-x: 0%;
  --stack-y: 112%;
  --stack-rotate: -1deg;
}

.stack-from-top-right {
  --stack-x: 104%;
  --stack-y: -104%;
  --stack-rotate: 1.8deg;
}

.stack-from-top-left {
  --stack-x: -104%;
  --stack-y: -104%;
  --stack-rotate: -1.8deg;
}

.stack-from-bottom-right {
  --stack-x: 104%;
  --stack-y: 104%;
  --stack-rotate: -1.8deg;
}

.stack-from-bottom-left {
  --stack-x: -104%;
  --stack-y: 104%;
  --stack-rotate: 1.8deg;
}

.slideshow-button {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 23, 77, 0.46);
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 46%),
    rgba(0, 0, 0, 0.42);
  color: var(--white);
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.slideshow-button:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 42%),
    var(--accent);
}

.slideshow-counter {
  grid-column: 2;
  justify-self: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

@keyframes smokeWipe {
  0% {
    opacity: 0;
    transform: translateX(-34%) scale(1.02) rotate(-5deg);
  }

  28% {
    opacity: 0.98;
  }

  58% {
    opacity: 0.88;
  }

  100% {
    opacity: 0;
    transform: translateX(34%) scale(1.24) rotate(4deg);
  }
}

@keyframes photoReveal {
  0% {
    opacity: 0;
    filter: blur(12px) contrast(0.85);
    transform: scale(0.985);
  }

  42% {
    opacity: 0;
    filter: blur(10px) contrast(0.86);
  }

  100% {
    opacity: 1;
    filter: blur(0) contrast(1);
    transform: scale(1);
  }
}

@keyframes photoStackIn {
  0% {
    opacity: 0.98;
    transform: translate3d(var(--stack-x), var(--stack-y), 0) scale(0.985) rotate(var(--stack-rotate));
  }

  62% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1.006) rotate(0deg);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
}

.tv-page {
  min-height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(110, 0, 26, 0.24), transparent 34%),
    #030203;
  cursor: none;
}

.tv-main {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 52%, rgba(216, 0, 50, 0.12), transparent 46%),
    linear-gradient(135deg, #040304, #11070c 48%, #020102);
}

.tv-slideshow-frame {
  position: fixed;
  inset: 0;
  display: block;
  width: 100vw;
  height: 100dvh;
  margin: 0;
  overflow: hidden;
  background: #050405;
}

.tv-slideshow-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050405;
}

.tv-slideshow-frame .slideshow-image-incoming {
  inset: 0;
  width: 100%;
  height: 100%;
}

.tv-loading {
  position: fixed;
  inset: 0;
  z-index: 6;
  display: none;
  place-items: center;
  gap: 18px;
  background:
    radial-gradient(circle at 50% 48%, rgba(170, 0, 38, 0.18), transparent 34%),
    rgba(2, 1, 2, 0.94);
  color: var(--white);
  font-family: var(--gothic-font);
  text-align: center;
}

.tv-loading.is-visible {
  display: grid;
}

.tv-loading-spinner {
  width: clamp(58px, 8vw, 96px);
  height: clamp(58px, 8vw, 96px);
  border: 3px solid rgba(255, 255, 255, 0.16);
  border-top-color: rgba(255, 23, 77, 0.96);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(255, 23, 77, 0.34);
  animation: tvSpin 900ms linear infinite;
}

.tv-loading-text {
  display: block;
  font-size: clamp(22px, 3.2vw, 44px);
  text-shadow: 0 0 18px rgba(255, 23, 77, 0.42);
}

@keyframes tvSpin {
  to {
    transform: rotate(360deg);
  }
}

.tv-video-player,
.tv-video-embed {
  position: fixed;
  inset: 0;
  display: block;
  width: 100vw;
  height: 100dvh;
  object-fit: contain;
  border: 0;
  background: #050405;
}

.tv-empty-message {
  display: none;
  z-index: 2;
  max-width: min(760px, 80vw);
  color: var(--white);
  font-family: var(--gothic-font);
  font-size: clamp(42px, 8vw, 112px);
  text-align: center;
  text-shadow: 0 0 26px rgba(216, 0, 50, 0.5);
}

.tv-empty-message.is-visible {
  display: block;
}

.tv-audio-activation {
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 4;
  display: none;
  min-height: 44px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 23, 77, 0.54);
  border-radius: 12px 12px 4px 4px;
  padding: 0 18px;
  background: rgba(0, 0, 0, 0.74);
  color: var(--white);
  font-family: var(--gothic-font);
  font-size: 20px;
}

.tv-audio-blocked .tv-audio-activation {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.music-tv-main {
  padding: clamp(24px, 5vw, 72px);
}

.music-tv-panel {
  display: grid;
  gap: clamp(12px, 2vw, 24px);
  width: min(920px, 88vw);
  padding: clamp(28px, 5vw, 72px);
  border: 1px solid rgba(255, 23, 77, 0.52);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 23, 77, 0.25), transparent 38%),
    rgba(5, 0, 8, 0.78);
  box-shadow:
    0 0 34px rgba(255, 23, 77, 0.22),
    inset 0 0 32px rgba(255, 255, 255, 0.05);
  text-align: center;
}

.music-tv-kicker {
  margin: 0;
  color: var(--pink-300);
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 42px);
  text-shadow: 0 0 18px rgba(255, 23, 77, 0.48);
}

.music-tv-title {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(46px, 8vw, 118px);
  line-height: 0.95;
  text-shadow: 0 0 26px rgba(255, 23, 77, 0.55);
}

.music-tv-track {
  margin: 0;
  color: rgba(255, 242, 247, 0.9);
  font-size: clamp(20px, 3vw, 38px);
  font-weight: 900;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
  background: rgba(0, 0, 0, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
  background: rgba(0, 0, 0, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.photo-lightbox.is-open,
.video-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-image {
  width: auto;
  max-width: 94vw;
  max-height: 92vh;
  object-fit: contain;
  border: 1px solid rgba(255, 23, 77, 0.34);
  background: #050405;
  box-shadow: var(--shadow), var(--glow);
}

.video-player,
.video-embed {
  width: min(96vw, calc(88vh * 16 / 9), 3840px);
  aspect-ratio: 16 / 9;
  max-height: 88vh;
  border: 1px solid rgba(255, 23, 77, 0.34);
  background: #050405;
  box-shadow: var(--shadow), var(--glow);
}

.video-embed {
  display: block;
}

.video-player[hidden],
.video-embed[hidden],
.tv-video-player[hidden],
.tv-video-embed[hidden] {
  display: none;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 81;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 23, 77, 0.56);
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 42%),
    rgba(0, 0, 0, 0.72);
  color: var(--white);
  font-size: 34px;
  line-height: 1;
}

.services {
  background:
    linear-gradient(135deg, rgba(255, 23, 77, 0.12), transparent 38%),
    var(--forest);
  color: var(--white);
  position: relative;
}

.services::before,
.about::before,
.contact::before,
.studios::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 8px;
  background:
    linear-gradient(90deg, transparent, rgba(216, 0, 50, 0.62), transparent);
  opacity: 0.72;
}

.services .eyebrow {
  color: #f1b7a5;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 280px;
  padding: 32px;
  border: 1px solid rgba(255, 23, 77, 0.28);
  border-radius: 2px;
  clip-path: polygon(8% 0, 92% 0, 100% 12%, 100% 100%, 0 100%, 0 12%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 46%),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.34);
}

.service-card.featured {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 38%),
    linear-gradient(135deg, #2a1018, #080608);
  color: var(--ink);
  box-shadow: var(--glow), 0 24px 68px rgba(0, 0, 0, 0.48);
}

.about {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1.22fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
  justify-content: center;
  background:
    radial-gradient(ellipse at 12% 18%, rgba(117, 0, 34, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.026), transparent 34%, rgba(0, 0, 0, 0.24)),
    rgba(18, 2, 8, 0.58);
  position: relative;
}

.about.page-section {
  width: min(100%, 1320px);
}

.about-image {
  display: grid;
  place-items: center;
  align-self: start;
  padding-top: clamp(150px, 16vh, 175px);
}

.about-image img {
  display: block;
  width: auto;
  max-width: min(100%, 370px);
  height: auto;
  max-height: calc(100vh - 310px);
  border: 1px solid rgba(255, 23, 77, 0.34);
  border-radius: 2px;
  object-fit: contain;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.5), 0 0 18px rgba(216, 0, 50, 0.22);
}

.about-copy p:not(.eyebrow) {
  max-width: 900px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.46;
}

.about-copy h1 {
  max-width: 900px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
}

.about-copy {
  display: grid;
  grid-template-rows: auto auto auto minmax(18px, 1fr) auto;
  align-content: stretch;
  min-height: calc(100vh - 176px);
  padding-top: 18px;
  padding-bottom: clamp(24px, 3vh, 40px);
}

.about-text {
  display: grid;
  gap: 10px;
  max-width: 920px;
}

.about-text p {
  margin: 0;
  border-left: 2px solid var(--accent);
  padding: 8px 0 8px 14px;
  background: linear-gradient(90deg, rgba(255, 23, 77, 0.08), transparent 72%);
}

.about-chair {
  grid-row: 5;
  align-self: end;
  justify-self: end;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  line-height: 0;
}

.about-chair img {
  display: block;
  width: auto;
  max-width: min(100%, 520px);
  height: auto;
  max-height: min(31vh, 390px);
  margin: 0 auto;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  box-shadow: none;
  filter: contrast(1.04) saturate(1.04);
}

.about-logo {
  width: auto;
  max-width: min(560px, 78%);
  height: auto;
  max-height: min(36vh, 560px);
  margin: clamp(24px, 4vh, 52px) auto 0;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(216, 0, 50, 0.38));
}

.about-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: 10px;
}

.about-details article {
  border-left: 2px solid var(--accent);
  padding: 7px 0 7px 14px;
  background: linear-gradient(90deg, rgba(255, 23, 77, 0.08), transparent 72%);
  box-shadow: inset 18px 0 28px rgba(255, 23, 77, 0.04);
}

.about-details h3 {
  margin-bottom: 5px;
  color: var(--white);
  font-size: 17px;
}

.about-details p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.34;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 14px 0 0;
}

.stats div {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.stats dt {
  font-family: var(--gothic-font);
  font-size: 26px;
}

.stats dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 670px) minmax(240px, 360px);
  gap: clamp(44px, 6vw, 92px);
  justify-content: center;
  align-content: center;
  background:
    radial-gradient(ellipse at 12% 24%, rgba(117, 0, 34, 0.26), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 42%, rgba(0, 0, 0, 0.2));
  position: relative;
}

.contact > div:first-child {
  width: min(100%, 670px);
  justify-self: start;
}

.contact > div p:not(.eyebrow) {
  max-width: 670px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.42;
}

.contact-logo {
  width: min(470px, 72vw);
  margin: 22px auto 0;
  object-fit: contain;
  filter: drop-shadow(0 0 28px rgba(216, 0, 50, 0.36));
}

.contact-mood {
  align-self: end;
  justify-self: end;
  width: min(100%, 360px);
  height: auto;
  min-height: 260px;
  max-height: calc(100vh - 300px);
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.contact-mood img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 300px);
  object-fit: contain;
  object-position: center;
  margin-left: auto;
  border: 1px solid rgba(255, 23, 77, 0.3);
  box-shadow: var(--shadow), var(--glow);
  filter: contrast(1.1) saturate(1.06);
}

.contact-note {
  border-left: 2px solid var(--accent);
  padding: 10px 0 10px 14px;
  background: linear-gradient(90deg, rgba(255, 23, 77, 0.08), transparent 74%);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  max-width: 670px;
}

.contact-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 23, 77, 0.42);
  border-radius: 18px 18px 6px 6px;
  clip-path: polygon(12% 0, 88% 0, 100% 22%, 100% 78%, 88% 100%, 12% 100%, 0 78%, 0 22%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 44%),
    rgba(0, 0, 0, 0.32);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
  color: var(--white);
  padding: 0 18px;
  font-weight: 900;
}

.contact-link:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 42%),
    var(--accent);
  box-shadow: var(--glow);
}

.studios {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.62fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: stretch;
  justify-content: center;
  overflow: visible;
  background:
    radial-gradient(ellipse at 76% 20%, rgba(216, 0, 50, 0.2), transparent 34%),
    radial-gradient(ellipse at 14% 78%, rgba(255, 255, 255, 0.045), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.026), transparent 34%, rgba(0, 0, 0, 0.28)),
    rgba(14, 0, 7, 0.54);
}

.studios-copy {
  display: flex;
  min-height: calc(100vh - 218px);
  flex-direction: column;
  align-items: stretch;
  padding: clamp(2px, 1vh, 10px) 0 clamp(10px, 2vh, 24px) 18px;
}

.studios-copy h1 {
  max-width: 760px;
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 0.96;
}

.studios-text {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.studios-text p {
  margin: 0;
  border-left: 2px solid var(--accent);
  padding: 10px 0 10px 14px;
  background: linear-gradient(90deg, rgba(255, 23, 77, 0.08), transparent 76%);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.38;
}

.studios-logo {
  width: auto;
  max-width: min(520px, 68%);
  height: auto;
  max-height: min(28vh, 520px);
  margin: clamp(22px, 3vh, 44px) auto 0;
  object-fit: contain;
  filter: drop-shadow(0 0 28px rgba(216, 0, 50, 0.36));
}

.studios-visual {
  display: grid;
  justify-items: center;
  gap: 14px;
  min-width: 0;
  padding-top: clamp(42px, 7vh, 88px);
}

.studios-feature {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  align-self: stretch;
  margin: 0;
  overflow: visible;
}

.studios-feature img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 218px);
  border: 1px solid rgba(255, 23, 77, 0.34);
  object-fit: contain;
  box-shadow: var(--shadow), var(--glow);
  filter: contrast(1.06) saturate(1.06);
}

.studios-photo {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 330px);
  border: 1px solid rgba(255, 23, 77, 0.34);
  object-fit: contain;
  box-shadow: var(--shadow), var(--glow);
  filter: contrast(1.06) saturate(1.05);
}

.walk-in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.52fr) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(16px, 3vw, 30px);
  align-items: stretch;
  overflow: visible;
  background:
    radial-gradient(ellipse at 78% 16%, rgba(216, 0, 50, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.026), transparent 34%, rgba(0, 0, 0, 0.3)),
    rgba(12, 0, 5, 0.5);
}

.walk-copy {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  z-index: 2;
  padding-top: clamp(12px, 3vh, 34px);
  padding-left: 18px;
}

.walk-copy p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.42;
}

.walk-copy h1 {
  font-size: clamp(34px, 5vw, 64px);
}

.walk-photo {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 2;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  margin: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.walk-photo img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 235px);
  border: 1px solid rgba(255, 23, 77, 0.36);
  background: #050405;
  box-shadow: var(--shadow), var(--glow);
  object-fit: contain;
  object-position: center;
  filter: contrast(1.06) saturate(1.05);
}

.walk-mood {
  position: relative;
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  justify-self: center;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  max-width: min(100%, 520px);
  height: fit-content;
  max-height: none;
  line-height: 0;
  pointer-events: none;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.walk-mood img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(45vh, 520px);
  margin: 0;
  border: 0;
  box-shadow: none;
  object-fit: contain;
  object-position: center;
  filter: contrast(1.06) saturate(1.04) brightness(0.98);
}

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 58px;
  padding:
    12px
    max(20px, calc((100vw - var(--page-width)) / 2 + 20px));
  border-top: 1px solid rgba(255, 23, 77, 0.28);
  background: #050405;
  box-shadow: inset 0 1px 0 rgba(255, 23, 77, 0.28);
  color: var(--muted);
  font-size: 14px;
  text-align: left;
}

.site-footer p {
  margin: 0;
  max-width: min(760px, calc(100vw - 520px));
  color: rgba(255, 244, 245, 0.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.music-player {
  position: fixed;
  left: auto;
  right: max(12px, calc((100vw - var(--page-width)) / 2 + 12px));
  bottom: 10px;
  z-index: 20;
  display: none;
  align-items: center;
  gap: 7px;
  max-width: min(640px, calc(72vw - 28px));
  border: 1px solid rgba(255, 23, 77, 0.38);
  border-radius: 3px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 44%),
    rgba(0, 0, 0, 0.72);
  box-shadow: var(--glow), 0 20px 48px rgba(0, 0, 0, 0.4);
  padding: 7px;
}

.music-player.has-playlist {
  display: inline-flex;
}

.music-toggle,
.music-prev,
.music-next,
.music-shuffle,
.music-repeat {
  min-height: 38px;
  border: 1px solid rgba(255, 23, 77, 0.42);
  border-radius: 12px 12px 4px 4px;
  clip-path: polygon(10% 0, 90% 0, 100% 22%, 100% 78%, 90% 100%, 10% 100%, 0 78%, 0 22%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 42%),
    var(--accent);
  color: var(--white);
  padding: 0 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

.music-prev,
.music-next,
.music-shuffle,
.music-repeat {
  min-width: 42px;
  padding: 0 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1;
}

.music-shuffle.is-active,
.music-repeat.is-active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 42%),
    #ff174d;
  box-shadow: 0 0 12px rgba(255, 23, 77, 0.48);
}

.music-mute {
  min-height: 38px;
  border: 1px solid rgba(255, 23, 77, 0.42);
  border-radius: 12px 12px 4px 4px;
  clip-path: polygon(10% 0, 90% 0, 100% 22%, 100% 78%, 90% 100%, 10% 100%, 0 78%, 0 22%);
  background: rgba(0, 0, 0, 0.32);
  color: var(--white);
  padding: 0 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

.volume-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.volume-slider {
  width: 82px;
  accent-color: var(--accent);
}

.music-title {
  overflow: hidden;
  max-width: 140px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 920px) {
  .realm-figure,
  .realm-gargoyle {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    align-items: start;
    padding: 14px clamp(14px, 4vw, 28px);
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    order: 3;
    overflow: hidden;
    flex-wrap: wrap;
    scrollbar-width: none;
    white-space: normal;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .intro,
  .service-grid,
  .about,
  .contact,
  .studios,
  .walk-in {
    grid-template-columns: 1fr;
  }

  .contact-mood,
  .walk-mood {
    display: none;
  }

  .walk-in {
    align-content: center;
    gap: 12px;
  }

  .walk-photo {
    height: calc(100vh - 390px);
    min-height: 190px;
  }

  .studios-copy {
    min-height: calc(100vh - 188px);
  }

  .studios-logo {
    max-width: min(250px, 36%);
    max-height: min(15vh, 170px);
  }

  .studios-copy {
    padding-left: 0;
  }

  .studios-visual {
    padding-top: 0;
  }

  .studios-feature img {
    max-height: none;
  }

  .studios-photo {
    max-height: min(48vh, 520px);
  }

  .home-preview-grid,
  .latex-mood {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 100vh;
    height: 100vh;
    padding-top: 150px;
  }

  .intro article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .slideshow {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
  }

  .slideshow-button {
    width: 46px;
    height: 46px;
    font-size: 34px;
  }
}

@media (max-width: 620px) {
  .site-header {
    grid-template-columns: auto 1fr;
    padding: 12px 12px;
    gap: 12px;
  }

  .brand span:last-child {
    display: none;
  }

  .brand-logo {
    width: 66px;
    height: 66px;
  }

  .header-tools {
    justify-self: end;
    gap: 10px;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: 100vh;
    height: 100vh;
    padding: 152px 18px 92px;
  }

  .page-main {
    padding: 150px 10px 82px;
  }

  .page-section {
    height: calc(100vh - 232px);
  }

  h1 {
    font-size: clamp(44px, 15vw, 58px);
    line-height: 0.94;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .hero-content p:not(.eyebrow) {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats {
    display: none;
  }

  .photo-tile,
  .photo-tile.tall,
  .photo-tile.wide {
    grid-column: auto;
    grid-row: auto;
    min-height: clamp(68px, 10vh, 118px);
    padding: 6px;
  }

  .video-card {
    min-height: clamp(90px, 18vh, 170px);
    padding: 10px;
  }

  .video-play-mark {
    width: 60px;
    height: 60px;
    font-size: 17px;
  }

  .video-card-title {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 6px 8px;
    font-size: 14px;
  }

  .photo-tile::after {
    border-width: 5px;
  }

  .portfolio-view-switch {
    display: flex;
    width: 100%;
  }

  .view-button {
    flex: 1;
  }

  .slideshow {
    min-height: 0;
    height: 100%;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 6px;
  }

  .gothic-frame {
    padding: 8px;
  }

  .slideshow-frame {
    grid-column: 2;
    grid-row: 1;
    min-height: 0;
    height: calc(100vh - 326px);
    padding: 4px;
  }

  .slideshow-image {
    height: 100%;
  }

  .slideshow-button {
    grid-row: 1;
    justify-self: center;
  }

  .slideshow-button.previous {
    grid-column: 1;
  }

  .slideshow-button.next {
    grid-column: 3;
  }

  .slideshow-counter {
    grid-column: 1 / -1;
  }

  .about {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }

  .about-image img {
    max-height: 178px;
  }

  .about-details {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 8px;
  }

  .about-copy p:not(.eyebrow),
  .contact > div p:not(.eyebrow) {
    font-size: 13px;
    line-height: 1.28;
  }

  .about-details h3 {
    font-size: 14px;
  }

  .about-details p {
    font-size: 12px;
  }

  .walk-copy p:not(.eyebrow) {
    font-size: 13px;
    line-height: 1.28;
  }

  .walk-copy h1 {
    font-size: clamp(34px, 12vw, 48px);
  }

  .walk-photo {
    height: calc(100vh - 430px);
    min-height: 160px;
  }

  .contact-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact-link {
    width: 100%;
  }

  .site-footer,
  .site-footer div {
    flex-direction: row;
    align-items: center;
  }

  .site-footer {
    flex-wrap: wrap;
    gap: 6px 10px;
    padding: 8px 10px;
    font-size: 11px;
  }

  .home-copyright {
    font-size: 10px;
  }
}

@media (max-width: 380px) {
  .lang-button {
    min-width: 32px;
    font-size: 11px;
  }

  .main-nav a {
    padding: 8px 10px;
    font-size: 13px;
  }

  .realm-gate__logo {
    width: min(300px, 82vw);
  }
}

a,
button,
.view-button,
.contact-link,
.photo-tile,
.video-card,
.slideshow-button,
.realm-coffin,
.lang-button,
.gallery-page-button,
.music-prev,
.music-toggle,
.music-next,
.music-shuffle,
.music-repeat,
.music-mute,
.volume-slider {
  cursor: pointer;
}

@media (max-width: 620px) {
  .music-player {
    left: 10px;
    right: 10px;
    bottom: 60px;
    max-width: calc(100vw - 20px);
    justify-content: center;
    border-radius: 16px;
    gap: 6px;
  }

  .music-title {
    display: none;
  }

  .volume-slider {
    width: 82px;
  }
}

@media (max-width: 920px) {
  .site-header {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .main-nav {
    max-width: min(100%, 760px);
    justify-self: center;
    order: initial;
    overflow: visible;
  }

  .hero {
    min-height: 100svh;
    height: auto;
    padding: 134px 24px 118px;
  }

  .hero-content {
    max-width: 520px;
  }

  .hero-media::before {
    right: 10px;
    width: min(70vw, 640px);
    height: min(58vh, 620px);
    opacity: 0.95;
  }

  .page-main {
    min-height: 100svh;
    padding: 126px 14px 144px;
  }

  .page-section,
  .page-section.gallery-section {
    width: min(100%, 760px);
    min-height: calc(100svh - 270px);
    height: auto;
  }

  .about,
  .contact,
  .studios,
  .walk-in {
    grid-template-columns: 1fr;
  }

  .about-image img,
  .studios-photo,
  .walk-photo img {
    max-height: none;
  }

  .walk-photo {
    min-height: 0;
  }

  .contact-mood,
  .walk-mood {
    display: none;
  }

  .gallery-section > .gothic-frame,
  .slideshow-frame {
    height: auto;
    min-height: 420px;
  }

  .music-player {
    left: 14px;
    bottom: 64px;
    max-width: calc(100vw - 28px);
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 10px;
  }

  .main-nav {
    gap: 4px;
    padding: 4px;
    font-size: 14px;
  }

  .main-nav a {
    padding: 7px 9px;
  }

  .nav-language-switcher {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  .hero {
    padding: 128px 16px 156px;
  }

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

  .hero-media::before {
    width: min(92vw, 520px);
    height: min(48vh, 480px);
    right: -18px;
  }

  .page-main {
    padding: 132px 10px 150px;
  }

  .page-section,
  .page-section.gallery-section {
    height: auto;
    min-height: auto;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .about-image img {
    max-height: none;
  }

  .walk-photo {
    min-height: 0;
  }

  .gallery-section > .gothic-frame,
  .slideshow-frame {
    min-height: 320px;
  }

  .site-footer {
    min-height: 54px;
    padding: 8px 10px;
    font-size: 11px;
  }
}

html,
body {
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  min-height: 100svh;
}

body:not(.admin-page) {
  --fixed-bottom-space: 58px;
  --page-top-space: 116px;
  --page-bottom-space: 76px;
}

body:not(.admin-page) main,
body:not(.admin-page) .page-main {
  height: auto;
  min-height: calc(100svh - var(--fixed-bottom-space));
  overflow: visible;
}

.home-page main {
  min-height: calc(100svh - var(--fixed-bottom-space));
}

.hero {
  height: auto;
  min-height: calc(100svh - var(--fixed-bottom-space));
  overflow: visible;
}

.page-main {
  padding-top: var(--page-top-space);
  padding-bottom: calc(var(--page-bottom-space) + env(safe-area-inset-bottom, 0px));
}

body.game-page {
  --page-top-space: 58px;
  --page-bottom-space: 10px;
}

.page-section,
.page-section.gallery-section {
  height: auto;
  min-height: max(
    0px,
    calc(100svh - var(--fixed-bottom-space) - var(--page-top-space) - var(--page-bottom-space))
  );
  overflow: visible;
}

.about,
.contact,
.walk-in {
  overflow: visible;
}

@supports (height: 100dvh) {
  body {
    min-height: 100dvh;
  }

  body:not(.admin-page) main,
  body:not(.admin-page) .page-main,
  .home-page main {
    min-height: calc(100dvh - var(--fixed-bottom-space));
  }

  .hero {
    min-height: calc(100dvh - var(--fixed-bottom-space));
  }

  .page-section,
  .page-section.gallery-section {
    min-height: max(
      0px,
      calc(100dvh - var(--fixed-bottom-space) - var(--page-top-space) - var(--page-bottom-space))
    );
  }
}

@media (min-width: 1600px) {
  :root {
    --page-width: 1360px;
  }
}

@media (min-width: 2400px) {
  :root {
    --page-width: 1480px;
  }
}

@media (min-width: 921px) and (max-height: 820px) {
  body:not(.admin-page) {
    --page-top-space: 96px;
    --page-bottom-space: 66px;
  }

  .site-header {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .main-nav {
    gap: 6px;
    padding: 5px;
  }

  .main-nav a {
    padding: 8px 12px;
  }

  .nav-language-switcher {
    gap: 4px;
    margin-left: 4px;
  }

  .lang-button {
    min-height: 26px;
  }

  .page-section h1,
  .compact-heading h1 {
    font-size: clamp(30px, 4vw, 52px);
  }

  .compact-heading {
    gap: 8px 16px;
    margin-bottom: 6px;
  }

  .section-heading::after {
    margin-top: 10px;
  }

  .gallery-section > .gothic-frame {
    height: min(56vh, 430px);
    min-height: 360px;
  }

  .slideshow-frame {
    height: min(54vh, 410px);
  }

  .about-image {
    padding-top: clamp(120px, 16vh, 150px);
  }

  .about-image img {
    max-height: calc(100vh - 265px);
  }

  .contact-logo {
    width: min(320px, 52vw);
    margin-top: 10px;
  }

  .contact-mood {
    min-height: 220px;
    max-height: calc(100vh - 270px);
  }

  .contact-mood img {
    max-height: calc(100vh - 270px);
  }

  .contact > div p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.34;
  }

  .contact-links {
    margin-top: 12px;
  }

  .contact-link {
    min-height: 40px;
    padding: 0 16px;
  }

  .walk-copy {
    padding-top: 10px;
  }

  .walk-photo img {
    max-height: calc(100vh - 210px);
  }
}

@media (max-width: 920px) {
  body:not(.admin-page) {
    --fixed-bottom-space: 144px;
    --page-top-space: 126px;
    --page-bottom-space: 144px;
  }

  .site-footer p {
    width: 100%;
    max-width: none;
    text-align: center;
  }

  .hero {
    height: auto;
  }

  .page-section,
  .page-section.gallery-section {
    height: auto;
    min-height: auto;
  }
}

@media (max-width: 620px) {
  body:not(.admin-page) {
    --fixed-bottom-space: 156px;
    --page-top-space: 132px;
    --page-bottom-space: 150px;
  }
}

@media (max-width: 920px) {
  .contact-mood {
    display: grid;
    place-items: center;
    width: min(100%, 360px);
    height: auto;
    min-height: 280px;
    max-height: min(46vh, 430px);
    margin: 4px auto 0;
  }

  .contact-mood img {
    max-height: min(46vh, 430px);
    margin-left: 0;
  }
}

@media (max-width: 620px) {
  .contact-mood {
    min-height: 260px;
    max-height: min(44vh, 360px);
  }

  .contact-mood img {
    max-height: min(44vh, 360px);
  }
}

@media (min-width: 921px) and (max-height: 820px) {
  .about-copy {
    min-height: calc(100vh - 184px);
  }

  .about-logo {
    max-width: min(440px, 72%);
    max-height: min(24vh, 250px);
    margin-top: clamp(16px, 3vh, 28px);
  }

  .studios-text p {
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 15px;
    line-height: 1.32;
  }

  .studios-feature img {
    max-height: calc(100vh - 188px);
  }
}

@media (max-width: 920px) {
  .about-copy {
    min-height: 0;
    padding-top: 0;
  }

  .about-logo {
    max-width: min(380px, 72vw);
    max-height: none;
    margin-top: 18px;
  }

  .about-chair img {
    max-height: none;
  }

  .studios {
    grid-template-columns: 1fr;
  }

  .studios-copy {
    min-height: 0;
    padding-left: 0;
  }

  .studios-logo {
    max-width: min(280px, 62vw);
    max-height: none;
    margin: 18px auto 4px;
  }

  .studios-feature {
    align-self: auto;
  }

  .studios-feature img {
    width: min(100%, 620px);
    max-height: none;
  }

  .studios-text p {
    font-size: 15px;
    line-height: 1.36;
  }
}

@media (max-width: 620px) {
  .studios-text p {
    font-size: 14px;
    line-height: 1.34;
  }

  .studios-logo {
    max-width: min(220px, 58vw);
  }
}

@media (max-width: 920px) {
  .walk-in {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .walk-copy,
  .walk-photo,
  .walk-mood {
    grid-column: 1;
    grid-row: auto;
  }

  .walk-photo {
    height: auto;
    min-height: 0;
  }

  .walk-mood {
    display: inline-flex;
    width: fit-content;
    max-width: min(100%, 560px);
    height: fit-content;
    max-height: none;
    margin: 0 auto;
  }

  .walk-mood img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: min(42vh, 520px);
  }
}

@media (min-width: 921px) and (max-height: 820px) {
  .walk-in {
    grid-template-columns: minmax(300px, 0.48fr) minmax(0, 1fr);
    gap: 18px;
  }

  .walk-copy h1 {
    font-size: clamp(32px, 4.2vw, 52px);
  }

  .walk-copy p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.34;
  }

  .walk-mood {
    width: fit-content;
    max-width: min(100%, 440px);
    max-height: min(32vh, 300px);
  }

  .walk-mood img {
    max-height: min(32vh, 300px);
  }
}

@media (max-width: 620px) {
  .site-header,
  .main-nav,
  .page-main,
  .page-section,
  .walk-in,
  .walk-copy,
  .walk-photo,
  .walk-mood {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, calc(100vw - 20px));
    justify-content: center;
    overflow: visible;
  }

  .main-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: 100%;
    padding: 7px 4px;
    overflow: hidden;
    font-size: clamp(11.5px, 3vw, 13px);
    text-align: center;
    white-space: nowrap;
  }

  .nav-language-switcher {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  .lang-button {
    min-width: 34px;
  }

  .walk-copy {
    padding-right: clamp(12px, 3vw, 18px);
    padding-left: clamp(12px, 3vw, 18px);
  }

  .walk-copy h1,
  .walk-copy p:not(.eyebrow) {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .walk-copy p:not(.eyebrow) {
    width: 100%;
    font-size: 14px;
    line-height: 1.34;
  }

  .walk-photo,
  .walk-photo img {
    width: 100%;
    max-width: 100%;
  }

  .walk-mood {
    width: fit-content;
    max-width: 100%;
  }

  .walk-mood img {
    width: auto;
    max-width: 100%;
  }

  .music-player {
    right: 10px;
    left: 10px;
    width: auto;
    max-width: none;
    flex-wrap: nowrap;
    gap: 5px;
    padding: 6px;
  }

  .music-toggle,
  .music-shuffle,
  .music-repeat,
  .music-mute {
    min-height: 34px;
    padding: 0 9px;
    font-size: 11px;
  }

  .music-prev,
  .music-next,
  .music-shuffle,
  .music-repeat {
    min-width: 32px;
    min-height: 34px;
    padding: 0 8px;
  }

  .volume-control {
    gap: 0;
  }

  .volume-control span {
    display: none;
  }

  .volume-slider {
    width: 72px;
  }

  .site-footer p {
    overflow-wrap: anywhere;
    font-size: 10.5px;
    line-height: 1.2;
  }
}

@media (max-width: 360px) {
  .main-nav a {
    padding: 6px 6px;
    font-size: 11.5px;
  }

  .music-toggle,
  .music-shuffle,
  .music-repeat,
  .music-mute {
    padding: 0 7px;
  }

  .volume-slider {
    width: 58px;
  }
}

@media (max-width: 620px) {
  body:not(.admin-page) {
    --page-top-space: 188px;
  }

  .main-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 340px);
  }

  .main-nav a {
    min-height: 32px;
    overflow: visible;
    white-space: nowrap;
  }

  .nav-language-switcher {
    grid-column: 1 / -1;
  }

  .walk-copy p:not(.eyebrow),
  .site-footer p {
    white-space: normal;
  }

  .page-main,
  .page-section,
  .walk-in,
  .walk-copy {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .about-copy,
  .studios-copy,
  .contact > div,
  .studios-text,
  .about-text {
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
  }

  .page-section h1,
  .about-text p,
  .studios-text p,
  .contact > div p:not(.eyebrow) {
    width: min(100%, 330px);
    max-width: min(100%, 330px);
    overflow-wrap: break-word;
  }

  .page-section h1 {
    font-size: clamp(32px, 9vw, 42px);
  }

  .walk-copy p:not(.eyebrow) {
    width: min(100%, 300px);
    max-width: min(100%, 300px);
  }

  .site-footer p {
    display: block;
    flex: 0 1 auto;
    width: min(100%, 300px);
    max-width: calc(100vw - 48px);
    min-width: 0;
    padding: 0 8px;
    font-size: 9px;
    overflow: visible;
    text-overflow: clip;
    white-space: normal !important;
  }

  .music-player {
    right: 14px;
    left: 14px;
    max-width: calc(100vw - 28px);
  }
}

/* Final layout guards for image frames that must hug the image itself. */
@media (min-width: 921px) {
  .about-image {
    padding-top: clamp(150px, 16vh, 175px);
  }

  .about-image img {
    display: block;
    width: auto;
    max-width: min(100%, 370px);
    height: auto;
    max-height: calc(100vh - 310px);
    box-shadow: 0 20px 52px rgba(0, 0, 0, 0.5), 0 0 18px rgba(216, 0, 50, 0.22);
  }

  .about-chair {
    grid-row: 5;
    align-self: end;
    justify-self: end;
    width: fit-content;
    max-width: 100%;
    margin: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    line-height: 0;
  }

  .about-chair img {
    display: block;
    width: auto;
    max-width: min(100%, 520px);
    height: auto;
    max-height: min(31vh, 390px);
    border: 0;
    box-shadow: none;
  }

  .walk-mood {
    display: inline-flex;
    width: fit-content;
    max-width: min(100%, 520px);
    height: auto;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .walk-mood img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    border: 0;
    box-shadow: none;
  }
}

@media (min-width: 921px) and (max-height: 820px) {
  .about-image {
    padding-top: clamp(110px, 15vh, 132px);
  }

  .about-image img {
    max-height: calc(100vh - 220px);
  }

  .about-chair {
    margin: 0;
  }

  .about-chair img {
    max-height: min(28vh, 310px);
  }
}

@media (max-width: 920px) {
  .tool-page .page-main {
    padding-top: 132px;
    padding-bottom: 34px;
  }

  .tool-page .page-section {
    height: auto;
    min-height: auto;
  }

  .tool-section {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .tool-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .tool-actions .button {
    width: 100%;
  }

  .photoshoot-download-block {
    justify-items: stretch;
  }

  .photoshoot-download-block .button {
    width: 100%;
  }

  .about-chair {
    justify-self: center;
    margin: 18px auto 0;
  }
}

@media (max-width: 560px) {
  .tool-page .page-main {
    padding-top: 232px;
  }

  .tool-panel {
    margin-top: 0;
    padding: 0;
  }

  .tool-vampire img {
    max-height: none;
  }

  .tool-logo {
    width: min(230px, 62vw);
  }
}

.tool-page .page-section {
  height: auto;
}

/* iPhone / phone layout guard.
   Desktop and tablets above 700px are untouched. */
@media (max-width: 700px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
    overscroll-behavior-x: none;
  }

  body:not(.admin-page) {
    --page-top-space: 68px;
  }

  body.game-page {
    --page-top-space: 68px;
  }

  .site-header {
    display: block;
    padding: calc(4px + env(safe-area-inset-top, 0px)) 6px 4px;
    background: linear-gradient(rgba(0, 0, 0, 0.96), rgba(10, 5, 8, 0.9));
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    justify-content: center;
    width: 100%;
    max-width: none;
    gap: 2px;
    padding: 2px;
    overflow: visible;
    scrollbar-width: none;
    white-space: normal;
    font-size: clamp(9px, 2.55vw, 11px);
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a,
  .nav-language-switcher,
  .lang-button {
    min-width: 0;
  }

  .main-nav a {
    display: grid;
    place-items: center;
    min-height: 24px;
    padding: 4px 2px !important;
    line-height: 1.02;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .main-nav .nav-language-switcher {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    width: 100%;
    margin-left: 0;
    padding: 0 !important;
    gap: 1px;
    grid-column: auto !important;
  }

  .main-nav .lang-button {
    min-width: 0;
    min-height: 24px;
    padding: 3px 1px !important;
    font-size: 10px !important;
    line-height: 1;
  }

  .page-main {
    padding-top: calc(var(--page-top-space) + env(safe-area-inset-top, 0px));
  }

  .hero {
    padding-top: calc(var(--page-top-space) + 12px + env(safe-area-inset-top, 0px));
  }

  body.game-page {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    touch-action: pan-y;
    overscroll-behavior-x: none;
  }

  body.game-page .page-section {
    min-height: calc(100svh - var(--page-top-space));
    padding: 4px;
    max-width: 100vw;
    overflow-x: hidden;
  }

  body.game-page .game-shell {
    width: calc(100vw - 8px);
    max-width: calc(100vw - 8px);
    gap: 4px;
    padding: 4px;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  body.game-page .game-stage {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  body.game-page .game-shell[data-game-started="1"] .game-stage {
    align-content: start;
    justify-items: center;
    padding-bottom: calc(122px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
  }

  body.game-page .game-shell[data-game-started="1"] .pak-manu-canvas {
    align-self: start;
    justify-self: center;
    width: min(100%, calc(100vw - 22px), calc((100svh - var(--page-top-space) - 178px) * 28 / 31));
    max-width: 100%;
    max-height: calc(100svh - var(--page-top-space) - 178px);
  }

  body.game-page .game-overlay {
    justify-items: center;
    overflow: hidden;
    padding-inline: 8px;
  }

  body.game-page .game-cover-compat,
  body.game-page .game-overlay p:not(.eyebrow) {
    max-width: calc(100vw - 42px);
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
    justify-self: center;
  }

  body.game-page .game-cover-compat {
    font-size: 15px;
    line-height: 1.15;
  }

  body.game-page .game-shell.is-game-cover-screen .game-stage {
    overflow: hidden;
  }

  body.game-page .game-shell.is-game-cover-screen .game-controls {
    display: none;
  }

  body.game-page .game-menu-cover,
  body.game-page .game-overlay.is-attract-mode.is-attract-start .game-menu-cover {
    width: min(84vw, 330px);
    max-width: calc(100vw - 32px);
    max-height: calc(100svh - 190px);
  }

  body.game-page .game-cover-button {
    width: min(84vw, 330px);
    max-width: calc(100vw - 32px);
    justify-self: center;
  }

  body.game-page .game-scoreboard {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
    padding: 1px;
  }

  body.game-page .game-scoreboard div {
    padding: 2px 1px;
    min-height: 0;
  }

  body.game-page .game-label {
    font-size: 7px;
  }

  body.game-page .game-scoreboard strong {
    font-size: clamp(12px, 3.6vw, 15px);
  }

  body.game-page .pak-manu-canvas,
  body.game-page .game-shell[data-game-started="1"] .pak-manu-canvas {
    width: min(100%, calc(100vw - 16px), calc((100svh - 136px) * 28 / 31));
    max-width: 100%;
    max-height: calc(100svh - 136px);
    min-width: 0;
  }

  body.game-page .game-shell[data-game-started="1"] .pak-manu-canvas {
    width: min(100%, calc(100vw - 22px), calc((100svh - var(--page-top-space) - 178px) * 28 / 31));
    max-height: calc(100svh - var(--page-top-space) - 178px);
  }

  body.game-page .game-touch-controls {
    left: 6px;
    right: 6px;
    bottom: max(6px, env(safe-area-inset-bottom, 0px));
    grid-template-columns: 126px 60px;
  }

  body.game-page .game-touch-dpad {
    grid-template-columns: repeat(3, 40px);
    grid-template-rows: repeat(3, 40px);
  }

  body.game-page .game-touch-button {
    min-width: 40px;
    min-height: 40px;
  }

  body.game-page .game-touch-action {
    width: 58px;
    height: 58px;
  }
}

@supports (overflow: clip) {
  @media (max-width: 700px) {
    html,
    body,
    body.game-page,
    body.game-page .page-section,
    body.game-page .game-shell,
    body.game-page .game-stage {
      overflow-x: clip;
    }

    .main-nav {
      overflow-x: visible;
    }
  }
}




