/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V5 */

@font-face {
  font-family: "Qurova";
  src: url("assets/fonts/QurovaDEMO-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Qurova";
  src: url("assets/fonts/QurovaDEMO-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Qurova";
  src: url("assets/fonts/QurovaDEMO-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Qurova";
  src: url("assets/fonts/QurovaDEMO-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Qurova";
  src: url("assets/fonts/QurovaDEMO-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg: #041216;
  --color-surface: rgba(0, 59, 70, 0.42);
  --color-surface-solid: #061b22;
  --color-brand: #003b46;
  --color-brand-bright: #0e6f7d;
  --color-gold: #5eead4;
  --color-gold-hover: #7dd3fc;
  --color-ink: #f5f7f6;
  --color-ink-muted: rgba(245, 247, 246, 0.82);
  --color-ink-subtle: rgba(245, 247, 246, 0.64);
  --color-border: rgba(255, 255, 255, 0.24);
  --color-border-strong: rgba(255, 255, 255, 0.44);
  --color-dark-text: #f5f7f6;
  --color-error: #fca5a5;
  --color-success: #6ee7b7;
  --font-display:
    "Qurova", "Noto Sans Tamil", "Noto Sans Devanagari", "Noto Sans Malayalam",
    "Noto Sans Telugu", Georgia, serif;
  --font-body:
    "Inter", "Noto Sans Tamil", "Noto Sans Devanagari", "Noto Sans Malayalam",
    "Noto Sans Telugu", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: clip;
  background-color: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Full-bleed atmospheric backdrop */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.backdrop-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1100ms ease-in-out;
}

.backdrop-video.is-active {
  opacity: 1;
}

/* Single-screen full-width stage */
.stage {
  position: relative;
  z-index: 1;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.1rem, 2.5vw, 2rem) clamp(1.25rem, 3vw, 2.5rem);
}

/* Framer-style spring & bounce reload choreography (triggered via .is-loaded) */
.anim-from-left,
.anim-from-right,
.hero-word,
.anim-pop-up,
.anim-btn-right {
  opacity: 0;
  will-change: transform, opacity, filter;
}

.hero-word {
  display: inline-block;
}

html.is-loaded .anim-from-left {
  animation: framer-from-left 850ms cubic-bezier(0.22, 1.24, 0.36, 1)
    var(--d, 0ms) both;
}

html.is-loaded .anim-from-right {
  animation: framer-from-right 850ms cubic-bezier(0.22, 1.24, 0.36, 1)
    var(--d, 0ms) both;
}

html.is-loaded .hero-word {
  animation: framer-word-spring 900ms cubic-bezier(0.22, 1.22, 0.36, 1)
    var(--d, 0ms) both;
}

html.is-loaded .anim-pop-up {
  animation: framer-pop-up 850ms cubic-bezier(0.22, 1.2, 0.36, 1)
    var(--d, 0ms) both;
}

html.is-loaded .anim-btn-right {
  animation: framer-btn-bounce-right 900ms cubic-bezier(0.22, 1.32, 0.36, 1)
    var(--d, 0ms) both;
}

@keyframes framer-from-left {
  from {
    opacity: 0;
    transform: translate3d(-34px, 0, 0) scale(0.95);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0px);
  }
}

@keyframes framer-from-right {
  from {
    opacity: 0;
    transform: translate3d(34px, 0, 0) scale(0.95);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0px);
  }
}

@keyframes framer-word-spring {
  from {
    opacity: 0;
    transform: translate3d(0, 38px, 0) scale(0.92);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0px);
  }
}

@keyframes framer-pop-up {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(0.94);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0px);
  }
}

@keyframes framer-btn-bounce-right {
  0% {
    opacity: 0;
    transform: translate3d(46px, 0, 0) scale(0.75);
    filter: blur(6px);
  }
  70% {
    opacity: 1;
    filter: blur(0px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0px);
  }
}

/* Header */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-icon-frame {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--color-border-strong);
  overflow: hidden;
  flex-shrink: 0;
  display: inline-flex;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.brand-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--color-ink);
  perspective: 500px;
}

.badge-text {
  display: inline-block;
  perspective: 500px;
  white-space: nowrap;
}

/* Letter-by-letter opposite-direction Framer flip on .is-loaded, stopping on English */
.flip-char {
  display: inline-block;
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  will-change: transform, opacity, filter;
}

.flip-char.is-space {
  width: 0.35em;
}

html:not(.is-loaded) .flip-char {
  opacity: 0;
}

html.is-loaded .flip-char.dir-even {
  animation: char-flip-even 720ms cubic-bezier(0.22, 1.24, 0.36, 1)
    var(--char-delay, 0ms) both;
}

html.is-loaded .flip-char.dir-odd {
  animation: char-flip-odd 720ms cubic-bezier(0.22, 1.24, 0.36, 1)
    var(--char-delay, 0ms) both;
}

@keyframes char-flip-even {
  0% {
    opacity: 0;
    transform: rotateX(105deg) translate3d(0, 12px, 0);
    filter: blur(4px);
  }
  55% {
    opacity: 1;
    transform: rotateX(-16deg) translate3d(0, -2px, 0);
    filter: blur(0px);
  }
  100% {
    opacity: 1;
    transform: rotateX(0deg) translate3d(0, 0, 0);
    filter: blur(0px);
  }
}

@keyframes char-flip-odd {
  0% {
    opacity: 0;
    transform: rotateX(-105deg) translate3d(0, -12px, 0);
    filter: blur(4px);
  }
  55% {
    opacity: 1;
    transform: rotateX(16deg) translate3d(0, 2px, 0);
    filter: blur(0px);
  }
  100% {
    opacity: 1;
    transform: rotateX(0deg) translate3d(0, 0, 0);
    filter: blur(0px);
  }
}

.brand-tagline {
  font-size: 0.74rem;
  color: var(--color-ink-muted);
}

.edition-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-strong);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(0, 59, 70, 0.52) 100%
  );
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-ink);
  white-space: nowrap;
}

.edition-btn {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition:
    border-color 280ms ease,
    box-shadow 320ms ease,
    transform 180ms cubic-bezier(0.22, 1.3, 0.36, 1);
}

.edition-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    90px circle at var(--mx, 50%) var(--my, 50%),
    rgba(94, 234, 212, 0.48) 0%,
    rgba(255, 255, 255, 0.16) 40%,
    transparent 75%
  );
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
}

.edition-btn:hover::before {
  opacity: 1;
}

.edition-btn:hover {
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 0 22px rgba(94, 234, 212, 0.38),
    0 8px 24px rgba(0, 59, 70, 0.56);
  transform: translateY(-1px);
}

.edition-btn:active {
  transform: scale(0.96);
}

html.is-water-rippling .backdrop,
html.is-water-rippling .stage {
  filter: url(#water-ripple-filter);
}

.edition-btn:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.edition-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 8px var(--color-gold);
}

/* Centered Hero */
.hero-center {
  margin: auto;
  text-align: center;
  max-width: 680px;
  width: 100%;
  padding-block: 1rem;
}

.kicker {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.hero-title {
  margin: 0 auto 1.65rem;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  font-size: clamp(2.15rem, 5.2vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--color-ink);
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.65);
  overflow-wrap: anywhere;
  min-width: 0;
}

.hero-subtitle {
  margin: 0 auto 1.85rem;
  font-size: clamp(0.94rem, 1.25vw, 1.08rem);
  color: var(--color-ink-muted);
  max-width: 50ch;
}

/* Centered Glass Waitlist Bar */
.waitlist-form {
  margin: 0 auto;
  max-width: 490px;
}

.input-shell {
  display: flex;
  gap: 0.45rem;
  padding: 0.38rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-strong);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(0, 59, 70, 0.42) 48%,
    rgba(2, 22, 28, 0.56) 100%
  );
  backdrop-filter: blur(20px) saturate(165%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 18px 42px rgba(0, 0, 0, 0.42);
  transition:
    border-color 200ms ease,
    box-shadow 220ms ease,
    transform 180ms ease;
}

.input-shell:hover {
  border-color: rgba(255, 255, 255, 0.64);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    0 22px 48px rgba(0, 59, 70, 0.48);
}

.input-shell input {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  padding: 0.7rem 1.05rem;
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--color-ink);
}

.input-shell input:-webkit-autofill,
.input-shell input:-webkit-autofill:hover,
.input-shell input:-webkit-autofill:focus,
.input-shell input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--color-ink);
  caret-color: var(--color-ink);
  box-shadow: 0 0 0 1000px transparent inset;
  transition: background-color 999999s ease-in-out 0s, color 999999s ease-in-out 0s;
}

.input-shell input::placeholder {
  color: var(--color-ink-subtle);
}

.input-shell input:focus {
  outline: none;
}

.input-shell:focus-within {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.btn-gold {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: var(--radius-pill);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.24) 0%,
    rgba(0, 59, 70, 0.78) 46%,
    rgba(0, 40, 48, 0.92) 100%
  );
  backdrop-filter: blur(12px) saturate(160%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.62),
    inset 0 -2px 6px rgba(0, 0, 0, 0.35),
    0 6px 18px rgba(0, 59, 70, 0.45);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.75rem 1.45rem;
  cursor: pointer;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 120ms ease;
}

.btn-gold::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 14%;
  right: 14%;
  height: 44%;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.46) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}

.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 20%,
    rgba(255, 255, 255, 0.38) 50%,
    transparent 80%
  );
  transform: translateX(-120%);
  transition: transform 480ms ease;
  pointer-events: none;
}

.btn-gold:hover:not(:disabled) {
  transform: scale(1.06);
  border-color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.32) 0%,
    rgba(14, 111, 125, 0.88) 46%,
    rgba(0, 59, 70, 0.96) 100%
  );
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.82),
    0 0 22px rgba(94, 234, 212, 0.42),
    0 8px 24px rgba(0, 59, 70, 0.62);
}

.btn-gold:hover:not(:disabled)::after {
  transform: translateX(120%);
}

.btn-bell {
  width: 46px;
  height: 46px;
  padding: 0;
  flex-shrink: 0;
}

.bell-icon {
  display: block;
  transform-origin: 50% 18%;
  animation: bell-idle-ring 4.2s ease-in-out infinite;
}

.bell-clapper {
  transform-origin: 50% 0%;
  animation: clapper-idle-swing 4.2s ease-in-out infinite;
}

.btn-bell:hover .bell-icon,
.btn-bell:focus-visible .bell-icon,
.btn-bell.is-ringing .bell-icon {
  animation: bell-active-ring 650ms ease-in-out;
}

.btn-bell:hover .bell-clapper,
.btn-bell:focus-visible .bell-clapper,
.btn-bell.is-ringing .bell-clapper {
  animation: clapper-active-swing 650ms ease-in-out;
}

@keyframes bell-idle-ring {
  0%, 76%, 100% {
    transform: rotate(0deg);
  }
  80% {
    transform: rotate(12deg);
  }
  84% {
    transform: rotate(-10deg);
  }
  88% {
    transform: rotate(7deg);
  }
  92% {
    transform: rotate(-4deg);
  }
  96% {
    transform: rotate(0deg);
  }
}

@keyframes clapper-idle-swing {
  0%, 76%, 100% {
    transform: translateX(0);
  }
  80% {
    transform: translateX(-1.5px);
  }
  84% {
    transform: translateX(1.5px);
  }
  88% {
    transform: translateX(-1px);
  }
  92% {
    transform: translateX(0.6px);
  }
  96% {
    transform: translateX(0);
  }
}

@keyframes bell-active-ring {
  0%, 100% {
    transform: rotate(0deg);
  }
  20% {
    transform: rotate(18deg);
  }
  40% {
    transform: rotate(-15deg);
  }
  60% {
    transform: rotate(11deg);
  }
  80% {
    transform: rotate(-6deg);
  }
}

@keyframes clapper-active-swing {
  0%, 100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-2px);
  }
  40% {
    transform: translateX(2px);
  }
  60% {
    transform: translateX(-1.2px);
  }
  80% {
    transform: translateX(0.8px);
  }
}

/* Removed duplicate hover rule */

.btn-gold:active:not(:disabled) {
  transform: scale(0.98);
}

.btn-gold:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-gold:focus-visible,
.terms-btn:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.waitlist-status {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  color: var(--color-ink-subtle);
}

.typing-line {
  margin: 1rem 0 0;
  min-height: 1.4em;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 247, 246, 0.92);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.78);
}

.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 0.95em;
  margin-left: 3px;
  vertical-align: -0.14em;
  background: var(--color-gold);
  box-shadow: 0 0 8px var(--color-gold);
  animation: cursor-blink 900ms steps(2, start) infinite;
}

@keyframes cursor-blink {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}

.waitlist-status.is-error {
  color: var(--color-error);
}

.waitlist-status.is-success {
  color: var(--color-success);
}

/* Footer */
.bottom-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  padding-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-ink-muted);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.footer-right {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.terms-btn {
  background: transparent;
  border: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--color-ink);
  text-decoration: underline;
  cursor: pointer;
  white-space: nowrap;
}

.terms-btn:hover {
  color: var(--color-gold);
}

.brand-credit {
  color: var(--color-ink);
  font-weight: 500;
  text-decoration: none;
}

.brand-credit:hover {
  color: var(--color-gold);
  text-decoration: underline;
}

.brand-credit:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* Dialog */
.glass-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(470px, calc(100vw - 2rem));
  width: 100%;
  color: var(--color-ink);
  overflow: visible;
}

.glass-dialog::backdrop {
  background: rgba(2, 10, 13, 0.72);
  backdrop-filter: blur(10px);
  animation: dialog-backdrop-in 260ms ease both;
}

.glass-dialog[open] .dialog-panel {
  animation: dialog-spring-in 520ms cubic-bezier(0.22, 1.24, 0.36, 1) both;
}

@keyframes dialog-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes dialog-spring-in {
  from {
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(0.92);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0px);
  }
}

.dialog-panel {
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: linear-gradient(
    180deg,
    rgba(0, 59, 70, 0.76) 0%,
    rgba(4, 20, 25, 0.94) 100%
  );
  backdrop-filter: blur(22px) saturate(160%);
  padding: 1.45rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 28px 70px rgba(0, 0, 0, 0.62);
}

.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.dialog-kicker {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.2rem;
}

.dialog-close-x {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-ink);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 150ms ease, background-color 150ms ease;
}

.dialog-close-x:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.08);
}

.chip-section {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.chip-label {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--color-ink-muted);
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.studio-chip {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-ink-muted);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.42rem 0.78rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition:
    transform 160ms cubic-bezier(0.22, 1.3, 0.36, 1),
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.studio-chip:hover {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--color-ink);
}

.studio-chip:active {
  transform: scale(0.94);
}

.studio-chip.is-selected {
  border-color: var(--color-gold);
  background: rgba(94, 234, 212, 0.16);
  color: var(--color-ink);
  box-shadow: 0 0 14px rgba(94, 234, 212, 0.22);
}

.studio-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-top: 0.2rem;
}

.btn-full {
  width: 100%;
}

.studio-pass {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  padding-top: 0.4rem;
  animation: dialog-spring-in 480ms cubic-bezier(0.22, 1.24, 0.36, 1) both;
}

.studio-pass[hidden] {
  display: none;
}

.pass-badge {
  padding: 0.32rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-gold);
  background: rgba(94, 234, 212, 0.14);
  color: var(--color-gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pass-name {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-ink);
}

.pass-meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--color-ink-muted);
}

.pass-code-box {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.65rem 0.9rem;
  border-radius: 14px;
  border: 1px dashed var(--color-border-strong);
  background: rgba(2, 16, 20, 0.6);
  margin: 0.35rem 0 0.5rem;
}

.pass-code-box code {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-gold);
}

.copy-code-btn {
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-ink);
  border-radius: var(--radius-pill);
  padding: 0.32rem 0.78rem;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
}

.copy-code-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.dialog-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 1.35rem;
  color: var(--color-gold);
}

.dialog-body {
  font-size: 0.88rem;
  color: var(--color-ink-muted);
  max-height: 55vh;
  overflow-y: auto;
}

.dialog-body p {
  margin: 0 0 0.85rem;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 1.15rem;
}

.dialog-subtitle {
  margin: 0 0 1rem;
  font-size: 0.86rem;
  color: var(--color-ink-muted);
}

.studio-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.studio-form[hidden] {
  display: none;
}

.studio-form input {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: rgba(2, 16, 20, 0.55);
  padding: 0.7rem 0.95rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-ink);
}

.studio-form input::placeholder {
  color: var(--color-ink-subtle);
}

.studio-form input:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 1px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-ink-muted);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 500;
  padding: 0.72rem 1.2rem;
  cursor: pointer;
}

.btn-ghost:hover {
  color: var(--color-ink);
  border-color: var(--color-border-strong);
}

@media (max-width: 520px) {
  .edition-badge {
    padding: 0.34rem 0.7rem;
    font-size: 0.66rem;
  }

  .studio-fields {
    grid-template-columns: 1fr;
  }

  .input-shell input {
    padding: 0.55rem 0.85rem;
  }

  .bottom-bar {
    justify-content: center;
    text-align: center;
    font-size: 0.74rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .anim-from-left,
  .anim-from-right,
  .hero-word,
  .flip-char,
  .anim-pop-up,
  .anim-btn-right {
    opacity: 1 !important;
  }

  .backdrop-video {
    display: none;
  }

  .backdrop {
    background: url("assets/poster_start.jpg") center / cover no-repeat;
  }

  * {
    animation: none !important;
    transition: none !important;
  }
}
