body.studio {
  color: #f2f0eb;
  background: #161616;
  font-family: Futura, "Century Gothic", Arial, sans-serif;
}
.studio #canvas { padding: clamp(22px, 5vw, 78px); max-width: 1600px; margin-inline: auto; }
.studio #headerWrapper { padding-bottom: clamp(8px, 1vw, 14px); }
.studio #logo .logo {
  font-family: Futura, "Century Gothic", Arial, sans-serif;
  font-size: clamp(57px, 9.6vw, 142px);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: .87;
  text-transform: uppercase;
}
.studio #logo .studio-wordmark { display: inline-block; color: #f2f0eb; }
.studio #logo .wordmark-prefix,
.studio #logo .wordmark-name { display: block; }
.studio #logo .wordmark-prefix {
  font-size: .52em;
  letter-spacing: .015em;
  line-height: 1;
  margin-bottom: .1em;
}
.studio #logo .wordmark-period { color: #d7fc5e; }
.studio .logo-subtitle {
  color: #c8c6c2;
  font: 700 11px/1.3 Futura, "Century Gothic", Arial, sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
  margin-top: 18px;
}
.studio #topNav a, .studio #mobileNav a, .studio #mobileMenuLink a {
  color: #f2f0eb;
  font: 700 13px/1.2 Futura, "Century Gothic", Arial, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.studio #topNav .active-link a { color: #d7fc5e; }
.studio #mobileMenuLink, .studio #mobileNav { background: #161616; }
.studio #page #thumbList { display: grid; gap: 28px; }
.studio.full-view #page #thumbList { display: none; }
.studio #thumbList .thumb {
  position: relative;
  display: flex !important;
  flex-direction: column;
  height: auto;
  min-width: 0;
  margin: 0;
  background: transparent;
}
.studio-preview {
  position: relative;
  overflow: hidden;
}
.studio #thumbList .studio-preview > img {
  position: relative;
  z-index: 1;
  opacity: 1;
  width: 100%;
  display: block;
}
.studio.enable-thumbnail-hover #thumbList .thumb .thumb-title {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  transform: none;
  box-sizing: border-box;
  width: 100%;
  color: #d7fc5e;
  pointer-events: none;
  background: rgba(0, 0, 0, .2);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .9);
  font: 700 clamp(13px, 1.4vw, 19px)/1.3 Futura, "Century Gothic", Arial, sans-serif;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
  padding: 12px 20px;
  opacity: 0;
  transition: opacity 140ms ease;
}
.studio.enable-thumbnail-hover #thumbList .thumb:focus-visible .thumb-title { opacity: 1; }
@media (hover: hover) {
  .studio.enable-thumbnail-hover #thumbList .thumb:hover .thumb-title { opacity: 1; }
}
.studio #thumbList .thumb:focus-visible { outline-color: #d7fc5e; }
.studio #galleryWrapper { display: none; }
.studio.full-view #galleryWrapper { display: block; }
.studio #footer, .studio #footer p, .studio #simpleControls,
.studio #slideshowWrapper .image-description,
.studio #slideshowWrapper .image-description strong { color: #f2f0eb; }
.studio #slideshowWrapper .image-description { background: #161616; }
@media (max-width: 800px) {
  .studio #headerWrapper { padding-bottom: 8px; }
  .studio #logo { text-align: left; }
  .studio #page #thumbList { gap: 21px; }
  .studio.full-view #backToThumbs { display: block; }
  .studio.full-view #simpleControls { display: block; }
}

.studio-preview video {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
}
.studio-preview.is-playing video { opacity: 1; }
.studio.full-view #logo .studio-wordmark { font-size: clamp(25px, 4vw, 60px); }

.wordmark-film { position: relative; display: inline-block; }
.wordmark-film canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}
.wordmark-film.is-animated .wordmark-text { color: transparent; }
.wordmark-film.is-animated canvas { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .wordmark-film.is-animated .wordmark-text { color: inherit; }
  .wordmark-film canvas { display: none; }
  .studio #thumbList .thumb-title { transition: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .studio #logo .wordmark-film.is-animated canvas {
    animation: ident-comic-glitch 2s steps(1, end) infinite;
    transform-origin: 50% 65%;
    will-change: transform;
  }
}
@keyframes ident-comic-glitch {
  0%, 84%, 95%, 100% { transform: none; filter: none; }
  85% {
    transform: translate(-3px, 1px) skewX(-3deg) scaleY(.99);
    filter: drop-shadow(4px 1px #f05894) drop-shadow(-3px -1px #6fe5eb);
  }
  87% {
    transform: translate(2px, -2px) rotate(-.6deg) scaleX(1.015);
    filter: drop-shadow(-5px 0 #d7fc5e) drop-shadow(3px 2px #f05894);
  }
  89% { transform: none; filter: none; }
  90% {
    transform: translate(-1px, 1px) skewX(2deg);
    filter: drop-shadow(3px -1px #6fe5eb) drop-shadow(-2px 1px #f05894);
  }
  92% { transform: translate(1px, 0); filter: none; }
}

.studio #logo .wordmark-prefix {
  text-shadow: -3px 1px #f05894, 3px -1px #6fe5eb;
}
.studio .logo-subtitle,
.studio #topNav li:not(.active-link) > a,
.studio #mobileNav li:not(.active-link) > a,
.studio #mobileMenuLink a,
.studio #slideshowWrapper .image-description strong {
  text-shadow: -1.5px .5px #f05894, 1.5px -.5px #6fe5eb;
}
.studio #logo .wordmark-name {
  text-shadow: none;
}

/* Phone layout: one cinematic frame per project, with persistent captions. */
@media (max-width: 800px) {
  .studio #logo { width: 100%; text-align: center; }
  .studio #logo .logo { text-align: center; }
  .studio .logo-subtitle { text-align: center; }
  .studio #thumbList .studio-preview { aspect-ratio: 16 / 9; width: 100%; }
  .studio #thumbList .studio-preview > img {
    width: 100%; height: 100%; object-fit: cover; object-position: center;
  }
  .studio.enable-thumbnail-hover #thumbList .thumb .thumb-title {
    position: static; inset: auto; display: block; opacity: 1;
    background: transparent; padding: 12px 0 0; font-size: 14px;
    line-height: 1.4; text-shadow: none;
  }
  .studio #page #thumbList { gap: 30px; }
}
@media (max-width: 800px) {
  .studio #thumbList .studio-preview > img { position: absolute; inset: 0; }
}
@media (max-width: 800px) {
  .studio #thumbList .studio-preview > img { height: 100% !important; }
}
