.studio-entry {
  --entry-paper: #f9f8f4;
  --entry-ink: #201e20;
  --entry-violet: var(--orbit-violet, #5447cc);
  display: grid;
  grid-template-columns: minmax(0, 64fr) minmax(21rem, 36fr);
  min-height: 100vh;
  min-height: 100svh;
  max-width: none;
  margin: 0;
  padding: 0;
  background: var(--entry-paper);
  color: var(--entry-ink);
  font-family: var(--editorial-ui, "Segoe UI", sans-serif);
}

.entry-poster {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  min-height: 37rem;
  overflow: hidden;
  padding: clamp(1.8rem, 5.2cqi, 4.75rem) 0 clamp(2rem, 5.5svh, 4rem);
  background:
    radial-gradient(ellipse at 62% 75%, #40206480, transparent 63%),
    radial-gradient(ellipse at 100% 38%, #272a6199, transparent 67%),
    linear-gradient(145deg, #16101f, #100e20 67%, #1e1428);
}

.entry-gallery {
  --entry-seam: 52%;
  --entry-plate-height: min(39cqw, 47svh, 25rem);
  position: relative;
  flex: 1 0 auto;
  min-height: calc(var(--entry-plate-height) + 1rem);
  margin-top: clamp(.5rem, 4svh, 3rem);
  overflow: hidden;
  background:
    linear-gradient(#ba98ff0b 1px, transparent 1px) 0 50% / 100% 34px,
    linear-gradient(90deg, #ba98ff0b 1px, transparent 1px) 50% 0 / 34px 100%;
  mask-image: linear-gradient(90deg, transparent, #000 7% 94%, transparent);
}

.entry-plate {
  position: absolute;
  top: 50%;
  right: calc(100% - var(--entry-seam));
  width: calc(var(--entry-plate-height) * 1.36);
  height: var(--entry-plate-height);
  transform: translateY(-50%);
}
.entry-photo {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid #c8affc55;
  border-radius: 15px 2px 2px 15px;
  background: #251b35;
  box-shadow: 0 14px 42px #08050ed9;
  object-fit: cover;
  object-position: center;
}

.entry-gallery-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  visibility: hidden;
}

.entry-gallery[data-drawing] .entry-plate { visibility: hidden; }
.entry-gallery[data-drawing] .entry-gallery-canvas { visibility: visible; }

.entry-seam {
  position: absolute;
  top: 50%;
  left: var(--entry-seam);
  width: 2px;
  height: calc(var(--entry-plate-height) + .9rem);
  transform: translate(-50%, -50%);
  border-radius: 2px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, #7f83fe 7%, #dcc1ff 39%, #fff1ff 56%, #fb8cb3 85%, #ffb36a 96%, transparent);
  box-shadow: 0 0 9px 2px #b074ffbf, 0 0 30px 6px #8844eda6, 0 0 70px 12px #8134df54;
}

.entry-motion {
  position: absolute;
  right: clamp(.65rem, 2vw, 1.7rem);
  bottom: clamp(.65rem, 2vw, 1.7rem);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #bf9cff5d;
  border-radius: 12px;
  color: #eadcff;
  background: #211731;
}
.entry-motion[hidden] { display: none; }
.entry-motion:hover { border-color: #d8bbff; background: #33214c; }
.entry-motion:focus-visible { outline-color: #e1c8ff; }
.entry-motion span {
  width: 9px;
  height: 12px;
  border-inline: 2px solid;
}
.entry-motion[data-paused] span {
  width: 0;
  height: 0;
  border: 0;
  border-block: 6px solid transparent;
  border-left: 9px solid;
}

.entry-wordmark {
  position: relative;
  z-index: 1;
  margin: 0 clamp(1.5rem, 6.5cqi, 5rem);
  font-family: var(--editorial-display, "Arial Black", Studio, sans-serif);
  font-size: clamp(3rem, 12.25cqw, 8.8rem);
  font-weight: 900;
  line-height: .84;
  letter-spacing: -.055em;
  color: #fcf7ff;
}

.entry-initial {
  display: inline-block;
  width: .699em;
  height: .728em;
  margin-left: .035em;
  margin-right: -.064em;
  vertical-align: baseline;
}

.entry-second-line {
  display: block;
  position: relative;
  color: #bda1fd;
  text-shadow: 0 4px 36px #9e67f447;
}

.entry-panel {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 3rem clamp(1.5rem, 3.1vw, 4.5rem);
}

.entry-content { width: min(100%, 22rem); }

.entry-content h1 {
  margin: 0 0 clamp(1.65rem, 3vw, 2.75rem);
  font: 400 clamp(2.3rem, 3.65vw, 3.75rem)/1.04 var(--editorial-serif, Georgia, StudioSerif, serif);
  letter-spacing: -.047em;
  color: var(--entry-ink);
}

.entry-form, .entry-field { display: grid; }
.entry-form { gap: 1.2rem; }
.entry-field { gap: .36rem; }
.entry-field label { color: var(--entry-ink); font-size: .875rem; font-weight: 600; }
.entry-field small { color: #5b585f; font-size: .8rem; }

.entry-field input {
  width: 100%;
  min-width: 0;
  min-height: 2.85rem;
  padding: .61rem .8rem;
  border: 1px solid #8e8992;
  border-radius: 3px;
  background: #fffefa;
  color: var(--entry-ink);
  font-size: 1rem;
}

.entry-field input[aria-invalid="true"] { border-color: #aa333d; }
.entry-field input:focus-visible, .entry-submit:focus-visible, .entry-switch:focus-visible {
  outline: 2px solid var(--entry-violet);
  outline-offset: 3px;
}

.entry-form .errorlist {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #9a2933;
  font-size: .875rem;
}

.entry-submit {
  width: 100%;
  min-height: 2.95rem;
  margin-top: .25rem;
  padding: .65rem 1rem;
  border: 1px solid transparent;
  border-radius: 12px;
  color: white;
  background: linear-gradient(108deg, #4c3aaf, var(--entry-violet) 51%, #653da4 100%);
  background-size: 150% 100%;
  font-weight: 650;
}

.entry-submit:hover { background-position: 100%; }
.entry-submit:active { background: #412693; }
.entry-switch {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: .75rem;
  padding-block: .35rem;
  color: var(--entry-violet);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  font-size: .875rem;
}
.entry-switch:hover { text-decoration: underline; }

@media (max-width: 48rem) {
  .studio-entry { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .entry-poster { min-height: 0; height: clamp(10.65rem, 27svh, 14rem); padding: 1rem 0 .65rem; }
  .entry-wordmark { margin: 0 1.3rem; font-size: clamp(1.9rem, 6.7vw, 2.8rem); }
  .entry-second-line { display: inline; }
  .entry-gallery { --entry-plate-height: min(34cqw, 15svh); margin-top: .45rem; min-height: 0; }
  .entry-motion { width: 44px; height: 44px; }
  .entry-panel { align-items: start; padding: clamp(1.45rem, 5svh, 3rem) 1.35rem 2.5rem; }
  .entry-content { width: min(100%, 25rem); }
  .entry-content h1 { margin-bottom: 1.5rem; }
}

@media (max-width: 48rem) and (max-height: 34rem) {
  .entry-poster { height: 6.75rem; padding-top: .75rem; }
  .entry-wordmark { font-size: 1.7rem; }
  .entry-gallery { --entry-plate-height: min(27cqw, 12svh); }
  .entry-panel { padding-block: 1.15rem; }
  .entry-form { gap: .8rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .entry-submit { transition: background-position .32s ease; }
  .entry-gallery[data-playing] .entry-seam { animation: entry-seam-glow 2.8s ease-in-out infinite alternate; }
}

@keyframes entry-seam-glow {
  from { opacity: .78; }
  to { opacity: 1; }
}
