@charset "UTF-8";

/* Star Mark Records — Phase 8: Selective roster audition */
.roster-application-page {
  --application-pink: 255, 105, 207;
  --application-green: 114, 231, 173;
  --application-blue: 104, 166, 255;
  background:
    radial-gradient(circle at 82% 12%, rgba(var(--application-pink), .045), transparent 28%),
    radial-gradient(circle at 13% 44%, rgba(var(--secondary-rgb), .065), transparent 31%),
    var(--bg);
}

/* The audition headline must feel powerful without pushing the decision copy
   and primary action below the first desktop viewport. */
.roster-application-page .form-hero h1 {
  font-size: clamp(3.15rem, 4.65vw, 5.95rem);
  line-height: .92;
  letter-spacing: -.064em;
}

.roster-application-page .form-hero-lead { margin-top: 23px; }
.roster-application-page .form-hero-actions { margin-top: 28px; }
.roster-application-page .form-hero-signals { margin-top: 34px; }

.roster-application-page .form-hero::before {
  border-color: rgba(var(--application-pink), .08);
  box-shadow:
    0 0 0 55px rgba(var(--accent-rgb), .014),
    0 0 0 112px rgba(var(--application-pink), .009),
    inset 0 0 180px rgba(var(--accent-rgb), .025);
}

/* ───────────────────────────────
   A&R visual gate
   ─────────────────────────────── */
.audition-gate {
  position: relative;
  width: min(100%, 690px);
  min-height: 640px;
  justify-self: end;
  isolation: isolate;
  transform-style: preserve-3d;
  perspective: 1200px;
}

.audition-gate::before,
.audition-gate::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.audition-gate::before {
  inset: 10% 8%;
  z-index: -2;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(var(--accent-rgb), .13), transparent 33%),
    radial-gradient(circle at 54% 46%, rgba(var(--application-pink), .07), transparent 54%);
  filter: blur(16px);
}

.audition-gate::after {
  width: 72%;
  height: 24%;
  left: 14%;
  bottom: 3%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(var(--accent-rgb), .19), transparent 72%);
  filter: blur(28px);
  transform: rotateX(70deg);
}

.audition-gate canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .94;
}

.gate-orbit,
.gate-ring,
.gate-crosshair {
  position: absolute;
  pointer-events: none;
}

.gate-orbit {
  inset: 8%;
  border: 1px solid rgba(var(--accent-rgb), .09);
  border-radius: 50%;
  box-shadow:
    0 0 0 32px rgba(var(--accent-rgb), .013),
    0 0 0 78px rgba(var(--application-pink), .009),
    inset 0 0 100px rgba(var(--accent-rgb), .022);
  transform: rotateX(66deg) rotateZ(-8deg);
}

.gate-ring {
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.gate-ring--one {
  width: 42%;
  aspect-ratio: 1;
  border: 1px solid rgba(var(--accent-rgb), .29);
  box-shadow: 0 0 32px rgba(var(--accent-rgb), .07), inset 0 0 30px rgba(var(--accent-rgb), .035);
  animation: gate-spin 24s linear infinite;
}

.gate-ring--one::before,
.gate-ring--two::before,
.gate-ring--three::before {
  content: "";
  position: absolute;
  width: 7px;
  aspect-ratio: 1;
  top: -4px;
  left: 50%;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 18px rgba(var(--accent-rgb), .9);
}

.gate-ring--two {
  width: 58%;
  aspect-ratio: 1;
  border: 1px dashed rgba(var(--application-pink), .22);
  animation: gate-spin 37s linear infinite reverse;
}

.gate-ring--two::before {
  background: rgb(var(--application-pink));
  box-shadow: 0 0 18px rgba(var(--application-pink), .85);
}

.gate-ring--three {
  width: 77%;
  aspect-ratio: 1;
  border: 1px solid rgba(var(--secondary-rgb), .12);
  animation: gate-spin 48s linear infinite;
}

.gate-ring--three::before {
  width: 5px;
  background: rgb(var(--application-blue));
  box-shadow: 0 0 16px rgba(var(--application-blue), .8);
}

.gate-crosshair {
  inset: 13%;
  border: 1px solid rgba(255,255,255,.035);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49.88%, rgba(var(--accent-rgb), .09) 50%, transparent 50.12%),
    linear-gradient(0deg, transparent 49.88%, rgba(var(--accent-rgb), .09) 50%, transparent 50.12%);
  mask-image: radial-gradient(circle, transparent 0 22%, #000 23% 100%);
}

.gate-core {
  position: absolute;
  z-index: 6;
  top: 50%;
  left: 50%;
  width: clamp(138px, 21vw, 212px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--accent-rgb), .43);
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 28%, rgba(255,255,255,.14), transparent 24%),
    radial-gradient(circle, rgba(var(--accent-rgb), .14), rgba(2,6,17,.94) 68%);
  box-shadow:
    0 0 0 13px rgba(var(--accent-rgb), .026),
    0 0 60px rgba(var(--accent-rgb), .18),
    inset 0 0 46px rgba(var(--accent-rgb), .07);
  transform: translate(-50%, -50%);
}

.gate-core::before {
  content: "";
  position: absolute;
  inset: 9%;
  border: 1px dashed rgba(var(--accent-rgb), .19);
  border-radius: 50%;
  animation: gate-spin 15s linear infinite reverse;
}

.gate-core img {
  position: relative;
  z-index: 2;
  width: 72%;
  filter: drop-shadow(0 0 20px rgba(var(--accent-rgb), .46));
}

.gate-node {
  position: absolute;
  z-index: 7;
  width: clamp(142px, 16vw, 186px);
  padding: 15px 16px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.014)),
    rgba(4,9,22,.78);
  box-shadow: 0 20px 55px rgba(0,0,0,.27), inset 0 1px rgba(255,255,255,.05);
  backdrop-filter: blur(20px) saturate(125%);
  animation: gate-float 6.8s ease-in-out infinite;
}

.gate-node::before {
  content: "";
  position: absolute;
  width: 8px;
  aspect-ratio: 1;
  top: 16px;
  right: 15px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 13px rgba(var(--accent-rgb), .75);
}

.gate-node span,
.gate-node strong { display: block; }
.gate-node span { color: rgba(181,190,211,.62); font-size: .54rem; font-weight: 820; letter-spacing: .13em; }
.gate-node strong { margin-top: 5px; font-size: .92rem; letter-spacing: -.01em; }
.gate-node--talent { top: 10%; left: 2%; }
.gate-node--rights { top: 13%; right: 0; animation-delay: -1.4s; }
.gate-node--discipline { left: 0; bottom: 15%; animation-delay: -3.2s; }
.gate-node--projection { right: 1%; bottom: 17%; animation-delay: -4.4s; }
.gate-node--rights::before { background: rgb(var(--application-pink)); box-shadow: 0 0 13px rgba(var(--application-pink), .75); }
.gate-node--discipline::before { background: rgb(var(--application-green)); box-shadow: 0 0 13px rgba(var(--application-green), .75); }
.gate-node--projection::before { background: rgb(var(--application-blue)); box-shadow: 0 0 13px rgba(var(--application-blue), .75); }

.gate-label {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 3%;
  min-width: 230px;
  padding: 13px 18px;
  border: 1px solid rgba(var(--accent-rgb), .19);
  border-radius: 14px;
  background: rgba(3,8,19,.78);
  box-shadow: 0 18px 44px rgba(0,0,0,.3), inset 0 1px rgba(255,255,255,.05);
  backdrop-filter: blur(20px);
  text-align: center;
  transform: translateX(-50%);
}

.gate-label span,
.gate-label strong,
.gate-label small { display: block; }
.gate-label span { color: var(--accent-bright); font-size: .53rem; font-weight: 820; letter-spacing: .17em; }
.gate-label strong { margin-top: 5px; font-size: .77rem; letter-spacing: .07em; }
.gate-label small { margin-top: 3px; color: var(--muted-2); font-size: .6rem; }

/* ───────────────────────────────
   Evaluation criteria
   ─────────────────────────────── */
.audition-criteria {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}

.audition-criterion {
  position: relative;
  min-height: 300px;
  padding: 25px 23px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 10%, rgba(var(--accent-rgb), .08), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.044), rgba(255,255,255,.012)),
    rgba(4,9,22,.64);
  box-shadow: 0 26px 70px rgba(0,0,0,.22), inset 0 1px rgba(255,255,255,.045);
  backdrop-filter: blur(18px);
  transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .25s ease, box-shadow .25s ease;
}

.audition-criterion::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 1px;
  right: -28px;
  bottom: 32px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .55));
  transform: rotate(-42deg);
}

.audition-criterion:hover {
  border-color: rgba(var(--accent-rgb), .28);
  box-shadow: 0 32px 84px rgba(0,0,0,.28), 0 0 34px rgba(var(--accent-rgb), .055);
  transform: translateY(-7px);
}

.audition-criterion svg {
  width: 48px;
  padding: 12px;
  border: 1px solid rgba(var(--accent-rgb), .25);
  border-radius: 15px;
  fill: none;
  stroke: var(--accent-bright);
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: rgba(var(--accent-rgb), .045);
}

.audition-criterion > span {
  display: block;
  margin-top: 29px;
  color: var(--accent-bright);
  font-size: .58rem;
  font-weight: 840;
  letter-spacing: .15em;
}

.audition-criterion h3 { margin: 9px 0 0; font-size: 1.26rem; letter-spacing: -.025em; }
.audition-criterion p { margin: 15px 0 0; color: var(--muted-2); font-size: .76rem; line-height: 1.67; }

/* ───────────────────────────────
   Application form refinements
   ─────────────────────────────── */
.application-section::before {
  content: "";
  position: absolute;
  width: min(900px, 80vw);
  aspect-ratio: 1;
  right: -40%;
  top: 6%;
  border: 1px solid rgba(var(--accent-rgb), .055);
  border-radius: 50%;
  pointer-events: none;
}

.plan-preview {
  margin-top: 13px;
  padding: 14px 16px;
  border: 1px solid rgba(var(--accent-rgb), .2);
  border-radius: 15px;
  background: linear-gradient(120deg, rgba(var(--accent-rgb), .055), rgba(255,255,255,.015));
}

.plan-preview[hidden] { display: none; }
.plan-preview span,
.plan-preview strong { display: block; }
.plan-preview > span { color: var(--accent-bright); font-size: .54rem; font-weight: 830; letter-spacing: .13em; }
.plan-preview strong { margin-top: 5px; font-size: .84rem; }
.plan-preview p { margin: 5px 0 0; color: var(--muted-2); font-size: .69rem; line-height: 1.5; }

.review-edit {
  padding: 7px 10px;
  border: 1px solid rgba(var(--accent-rgb), .22);
  border-radius: 999px;
  color: var(--accent-bright);
  background: rgba(var(--accent-rgb), .04);
  font-size: .61rem;
  font-weight: 760;
  cursor: pointer;
}

.legal-warning {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 20px 0;
  padding: 16px 17px;
  border: 1px solid rgba(255,191,99,.23);
  border-radius: 16px;
  background: rgba(255,178,76,.045);
}

.legal-warning svg {
  flex: 0 0 auto;
  width: 27px;
  fill: none;
  stroke: #ffd293;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.legal-warning strong { display: block; font-size: .8rem; }
.legal-warning p { margin: 4px 0 0; color: var(--muted-2); font-size: .7rem; line-height: 1.55; }

.legal-stack { display: grid; gap: 10px; }
.legal-inline-error {
  display: block;
  min-height: 0;
  margin: -4px 0 3px 14px;
  color: #ffb8c4;
  font-size: .66rem;
  line-height: 1.45;
}
.legal-inline-error:empty { display: none; }
.legal-copy strong,
.legal-copy > span { display: block; }
.legal-copy strong { font-size: .78rem; line-height: 1.48; }
.legal-copy > span { margin-top: 5px; color: var(--muted-2); font-size: .68rem; line-height: 1.53; }

/* ───────────────────────────────
   What happens after the audition
   ─────────────────────────────── */
.application-outcome {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(480px, 1.2fr);
  align-items: start;
  gap: clamp(48px, 7vw, 100px);
}

.application-outcome-copy h2 {
  margin: 0;
  font-size: clamp(2.65rem, 5vw, 5.15rem);
  letter-spacing: -.06em;
  line-height: .96;
}

.application-outcome-copy h2 span {
  display: block;
  color: transparent;
  background: linear-gradient(105deg, #fff, var(--accent-bright));
  -webkit-background-clip: text;
  background-clip: text;
}

.application-outcome-copy > p:not(.section-kicker) { margin: 24px 0 0; color: var(--muted); line-height: 1.78; }
.application-outcome-copy blockquote {
  margin: 30px 0 0;
  padding: 20px 22px;
  border-left: 2px solid var(--accent-bright);
  color: rgba(255,255,255,.82);
  background: linear-gradient(90deg, rgba(var(--accent-rgb), .065), transparent);
  font-size: .86rem;
  line-height: 1.65;
}

.application-timeline { position: relative; display: grid; gap: 13px; }
.application-timeline::before {
  content: "";
  position: absolute;
  width: 1px;
  top: 26px;
  bottom: 26px;
  left: 30px;
  background: linear-gradient(var(--accent-bright), rgba(var(--accent-rgb), .04));
  box-shadow: 0 0 15px rgba(var(--accent-rgb), .25);
}

.application-timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 61px 1fr;
  gap: 17px;
  align-items: start;
  padding: 21px 22px 21px 0;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
  box-shadow: 0 20px 58px rgba(0,0,0,.18);
  backdrop-filter: blur(16px);
}

.application-timeline article > span {
  position: relative;
  z-index: 2;
  width: 34px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 1px solid rgba(var(--accent-rgb), .4);
  border-radius: 50%;
  color: var(--accent-bright);
  background: #070c19;
  box-shadow: 0 0 16px rgba(var(--accent-rgb), .14);
  font-size: .61rem;
  font-weight: 820;
}

.application-timeline h3 { margin: 0; font-size: 1.02rem; }
.application-timeline p { margin: 7px 0 0; color: var(--muted-2); font-size: .73rem; line-height: 1.58; }

/* Motion */
@keyframes gate-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes gate-float { 50% { transform: translateY(-8px); } }

html[data-motion="off"] .gate-ring,
html[data-motion="off"] .gate-core::before,
html[data-motion="off"] .gate-node { animation: none !important; }

/* Responsive */
@media (max-width: 1140px) {
  .audition-criteria { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audition-criterion { min-height: 260px; }
}

@media (max-width: 980px) {
  .audition-gate { width: min(100%, 680px); min-height: 600px; justify-self: center; }
  .application-outcome { grid-template-columns: 1fr; }
  .application-outcome-copy { max-width: 780px; }
}

@media (max-width: 720px) {
  .audition-gate { min-height: 520px; }
  .gate-core { width: 150px; }
  .gate-node { width: 135px; padding: 12px 13px; }
  .gate-node span { font-size: .48rem; }
  .gate-node strong { font-size: .75rem; }
  .gate-node--talent { top: 9%; left: 1%; }
  .gate-node--rights { top: 10%; right: 0; }
  .gate-node--discipline { left: 0; bottom: 17%; }
  .gate-node--projection { right: 0; bottom: 18%; }
  .gate-label { min-width: 200px; bottom: 1%; }
  .audition-criteria { grid-template-columns: 1fr; }
  .audition-criterion { min-height: auto; }
}

@media (max-width: 480px) {
  .audition-gate { min-height: 455px; }
  .gate-orbit { inset: 13%; }
  .gate-ring--three { width: 70%; }
  .gate-core { width: 118px; }
  .gate-node { width: 106px; padding: 10px; }
  .gate-node small { display: none; }
  .gate-node strong { font-size: .65rem; }
  .gate-node::before { width: 6px; top: 10px; right: 10px; }
  .gate-label { min-width: 175px; padding: 11px 13px; }
  .gate-label small { display: none; }
  .application-timeline article { grid-template-columns: 52px 1fr; padding-right: 15px; }
  .application-timeline::before { left: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .gate-ring,
  .gate-core::before,
  .gate-node { animation: none !important; }
}
