/* The opening studio uses independent light animations with no scroll timeline. */
.hero-motion-track {
  min-width: 0;
}

.hero-scene {
  position: relative;
}

.showcase-hero .brand-visual {
  position: relative;
  top: auto;
  align-self: center;
}

.neon-studio {
  --neon: #42e8ff;
  --neon-rgb: 66, 232, 255;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #edf7ff;
  background: radial-gradient(ellipse at 18% 40%, #122742 0%, transparent 65%), #0b1327;
  border: 1px solid rgba(var(--neon-rgb), .36);
  border-radius: 24px;
  box-shadow: 0 22px 65px #14274d38, 0 0 32px rgba(var(--neon-rgb), .09), inset 0 1px #ffffff12;
  transition: border-color .35s ease, box-shadow .35s ease;
}

.neon-studio[data-brand-tone='violet'] {
  --neon: #ed8aff;
  --neon-rgb: 237, 138, 255;
}

.neon-studio[data-brand-tone='mint'] {
  --neon: #76ffc0;
  --neon-rgb: 118, 255, 192;
}

.neon-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 67px;
  padding: 12px 23px;
  border-bottom: 1px solid #a3c0f017;
  background: #ffffff02;
}

.neon-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
  color: #e2eeff;
}

.neon-brand img {
  border-radius: 7px;
}

.neon-pause {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 10px;
  border: 1px solid #a3c0f025;
  border-radius: 8px;
  background: #ffffff04;
  color: #b2c4df;
  cursor: pointer;
}

.neon-pause b {
  font-size: 10px;
  font-weight: 500;
}

.neon-pause > span {
  width: 9px;
  height: 10px;
  border-inline: 2px solid currentColor;
}

.neon-pause[aria-pressed='true'] > span {
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-left: 8px solid currentColor;
  border-right: 0;
}

.neon-pause:hover {
  color: var(--neon);
  border-color: rgba(var(--neon-rgb), .45);
}

.neon-pause:disabled {
  cursor: default;
  opacity: .7;
}

.neon-canvas {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(120px, .8fr);
  align-items: center;
  gap: 29px 17px;
  min-height: 325px;
  padding: 37px 28px 26px;
}

.neon-canvas::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .3;
  background-image: radial-gradient(#8ba6de45 .65px, transparent .65px);
  background-size: 23px 23px;
  mask-image: linear-gradient(90deg, #000, transparent 80%);
  pointer-events: none;
}

.neon-message {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.neon-overline {
  display: block;
  font-size: 11px;
  color: #a1b4d4;
  margin-bottom: 13px;
}

.neon-message strong {
  display: block;
  max-width: 12ch;
  color: #f2f8ff;
  font-size: clamp(26px, 3vw, 39px);
  line-height: 1.6;
  font-weight: 800;
  letter-spacing: -.02em;
}

.neon-message strong::after {
  content: '';
  display: block;
  width: 39px;
  height: 3px;
  margin-top: 16px;
  border-radius: 3px;
  background: var(--neon);
  box-shadow: 0 0 15px rgba(var(--neon-rgb), .55);
  transition: background-color .35s ease;
}

.neon-message p {
  color: #aabbd5;
  font-size: 12px;
  line-height: 2;
  margin-top: 17px;
  max-width: 30ch;
}

.neon-orbit {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
  width: min(100%, 177px);
  aspect-ratio: 1;
  border: 1px solid rgba(var(--neon-rgb), .12);
  border-radius: 50%;
}

.neon-orbit::before {
  content: '';
  position: absolute;
  inset: -35%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--neon-rgb), .19), transparent 66%);
  animation: neon-breathe 7s ease-in-out infinite alternate;
  pointer-events: none;
}

.neon-orbit-track {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 25%, rgba(var(--neon-rgb), .15) 62%, var(--neon) 88%, transparent 89%);
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  animation: neon-orbit 14s linear infinite;
}

.neon-orbit-inner {
  position: absolute;
  inset: 14%;
  border: 1px dashed rgba(var(--neon-rgb), .3);
  border-radius: 50%;
}

.neon-monogram {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 27px;
  border-radius: 24px;
  border: 1px solid rgba(var(--neon-rgb), .22);
  background: #0d1b32;
  box-shadow: inset 0 1px #d8f4ff0a, 0 0 30px rgba(var(--neon-rgb), .1);
  transform: rotate(-8deg);
}

.neon-monogram span {
  display: block;
  width: 10px;
  height: 37px;
  border-radius: 7px;
  background: var(--neon);
  box-shadow: 0 0 12px rgba(var(--neon-rgb), .35);
  transition: background-color .35s ease, box-shadow .35s ease;
}

.neon-monogram span:first-child { height: 24px; opacity: .55; }
.neon-monogram span:last-child { height: 50px; opacity: .9; }

.neon-domain {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 47px;
  padding: 11px 14px;
  background: #080f22;
  border: 1px solid rgba(var(--neon-rgb), .23);
  border-radius: 10px;
}

.neon-domain-dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 9px rgba(var(--neon-rgb), .6);
}

.neon-domain bdi {
  font-size: 14px;
  color: #d9ebff;
  font-weight: 550;
}

.neon-domain > span:last-child {
  margin-inline-start: auto;
  font-size: 10px;
  color: #a4b9d9;
}

.neon-footer {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 18px;
  border-top: 1px solid #a3c0f017;
  background: #060d1e4d;
}

.neon-palette { display: flex; gap: 1px; flex: none; }
.neon-palette button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}
.neon-palette button i {
  display: block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #42e8ff;
}
.neon-palette button[data-brand-tone='violet'] i { background: #ed8aff; }
.neon-palette button[data-brand-tone='mint'] i { background: #76ffc0; }
.neon-palette button[aria-pressed='true'] {
  background: #d8f5ff0b;
  border-color: rgba(var(--neon-rgb), .3);
}
.neon-palette button[aria-pressed='true'] i { box-shadow: 0 0 12px rgba(var(--neon-rgb), .45); }

.neon-tabs {
  display: flex;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.neon-tabs button {
  min-width: 0;
  min-height: 44px;
  flex: 1;
  padding: 7px 4px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #9fb3d3;
  background: none;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
  line-height: 1.7;
}
.neon-tabs button:hover { background: #d8f5ff08; color: #e1f7ff; }
.neon-tabs button[aria-pressed='true'] {
  color: var(--neon);
  background: rgba(var(--neon-rgb), .07);
  border-color: rgba(var(--neon-rgb), .22);
}
.neon-studio button:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
}

@keyframes neon-orbit { to { transform: rotate(360deg); } }
@keyframes neon-breathe { from { opacity: .4; } to { opacity: 1; } }

.neon-studio[data-animation='paused'] .neon-orbit-track,
.neon-studio[data-animation='paused'] .neon-orbit::before { animation-play-state: paused; }

@media (max-width: 1000px) and (min-width: 761px) {
  .neon-canvas { padding: 28px 23px 22px; gap: 23px 10px; grid-template-columns: minmax(0, 1fr) 112px; }
  .neon-message strong { font-size: 27px; }
  .neon-monogram { padding: 18px; gap: 6px; border-radius: 18px; }
  .neon-monogram span { width: 7px; height: 28px; }
  .neon-monogram span:first-child { height: 18px; }
  .neon-monogram span:last-child { height: 37px; }
  .neon-header { padding-inline: 18px; }
  .neon-brand { font-size: 12px; }
  .neon-footer { gap: 6px; padding-inline: 12px; }
  .neon-palette button { width: 32px; }
  .neon-tabs button { font-size: 10px; }
}

@media (max-width: 520px) {
  .neon-studio { border-radius: 21px; }
  .neon-header { padding: 11px 17px; gap: 8px; }
  .neon-brand { font-size: 12px; gap: 7px; }
  .neon-brand img { width: 23px; height: 23px; }
  .neon-pause { min-height: 40px; padding-inline: 8px; gap: 6px; }
  .neon-pause b { font-size: 9px; }
  .neon-canvas { padding: 30px 21px 23px; gap: 25px 13px; grid-template-columns: minmax(0, 1fr) 108px; min-height: 292px; }
  .neon-overline { font-size: 10px; margin-bottom: 9px; }
  .neon-message strong { font-size: 27px; }
  .neon-message p { font-size: 11px; margin-top: 13px; }
  .neon-monogram { padding: 17px; gap: 6px; border-radius: 17px; }
  .neon-monogram span { width: 7px; height: 28px; }
  .neon-monogram span:first-child { height: 18px; }
  .neon-monogram span:last-child { height: 37px; }
  .neon-domain { padding-inline: 11px; gap: 8px; }
  .neon-domain bdi { font-size: 13px; }
  .neon-domain > span:last-child { font-size: 9px; }
  .neon-footer { flex-direction: column; padding: 10px 15px 14px; gap: 6px; }
  .neon-palette { align-self: center; gap: 5px; }
  .neon-palette button { width: 44px; }
  .neon-tabs { width: 100%; }
  .neon-tabs button { font-size: 11px; }
}

@media (max-width: 360px) {
  .neon-header { padding-inline: 13px; }
  .neon-brand { font-size: 11px; }
  .neon-pause b { font-size: 8px; }
  .neon-canvas { padding-inline: 17px; grid-template-columns: minmax(0, 1fr) 88px; }
  .neon-message strong { font-size: 23px; }
  .neon-monogram { padding: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .neon-orbit-track, .neon-orbit::before { animation: none; }
  .neon-studio, .neon-studio * { transition: none; }
}
