/* /www/apply.altproductiongroup.com/public/assets/css/brands/studios.css
 *
 * Brand: Alt Production Studios
 * Visual intent:
 * - Neon gradient (magenta/purple -> cyan) on a dark cosmic base
 * - Clean corporate layout, but with subtle “studio energy”
 *
 * Integration contract:
 * - Your HTML should set either:
 *     <body data-brand="studios"> ... OR ...
 *     <section class="brand brand--studios" data-brand="studios">
 *
 * - The base stylesheet (global.css) should provide:
 *     - layout grid
 *     - typography defaults
 *     - shared components (cards, buttons)
 *
 * This file overrides via CSS variables + a few scoped component rules.
 */

/* -------------------------------------------------------------------------- */
/* Studios brand tokens                                                       */
/* -------------------------------------------------------------------------- */

:root {
  /* Fallback values if brand scope not applied (won’t hurt anything) */
  --studios-bg-0: #05060b;
  --studios-bg-1: #070a14;
  --studios-ink: #e9f0ff;
  --studios-ink-dim: rgba(233, 240, 255, 0.78);
  --studios-ink-muted: rgba(233, 240, 255, 0.62);

  /* Neon accents (picked to match your logo vibe: magenta/purple/cyan) */
  --studios-pink: #ff2bd6;
  --studios-purple: #7a5cff;
  --studios-cyan: #00e5ff;

  /* Gradients */
  --studios-grad-primary: linear-gradient(90deg, var(--studios-pink), var(--studios-purple), var(--studios-cyan));
  --studios-grad-soft: linear-gradient(135deg, rgba(255, 43, 214, 0.18), rgba(122, 92, 255, 0.14), rgba(0, 229, 255, 0.14));

  /* Borders / surfaces */
  --studios-border: rgba(255, 255, 255, 0.10);
  --studios-border-strong: rgba(255, 255, 255, 0.16);
  --studios-surface: rgba(10, 12, 20, 0.68);
  --studios-surface-2: rgba(12, 16, 28, 0.78);

  /* Focus ring */
  --studios-focus: rgba(0, 229, 255, 0.55);

  /* Shadows / glow */
  --studios-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  --studios-glow: 0 0 26px rgba(255, 43, 214, 0.18), 0 0 22px rgba(0, 229, 255, 0.14);

  /* Component radius */
  --studios-radius: 14px;
}

/* Apply tokens when Studios is the active brand */
body[data-brand="studios"],
.brand--studios,
section[data-brand="studios"] {
  --brand-bg-0: var(--studios-bg-0);
  --brand-bg-1: var(--studios-bg-1);
  --brand-ink: var(--studios-ink);
  --brand-ink-dim: var(--studios-ink-dim);
  --brand-ink-muted: var(--studios-ink-muted);

  --brand-accent-1: var(--studios-pink);
  --brand-accent-2: var(--studios-purple);
  --brand-accent-3: var(--studios-cyan);

  --brand-gradient: var(--studios-grad-primary);
  --brand-gradient-soft: var(--studios-grad-soft);

  --brand-border: var(--studios-border);
  --brand-border-strong: var(--studios-border-strong);

  --brand-surface: var(--studios-surface);
  --brand-surface-2: var(--studios-surface-2);

  --brand-focus: var(--studios-focus);
  --brand-shadow: var(--studios-shadow);
  --brand-glow: var(--studios-glow);

  --brand-radius: var(--studios-radius);
}

/* -------------------------------------------------------------------------- */
/* Studios section background + subtle “space dust”                            */
/* -------------------------------------------------------------------------- */

body[data-brand="studios"] {
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(255, 43, 214, 0.12), transparent 55%),
    radial-gradient(900px 520px at 85% 20%, rgba(0, 229, 255, 0.10), transparent 55%),
    radial-gradient(900px 520px at 65% 85%, rgba(122, 92, 255, 0.10), transparent 60%),
    linear-gradient(180deg, var(--brand-bg-0), var(--brand-bg-1));
  color: var(--brand-ink);
}

/* If Studios is a section inside an APG-branded page */
.brand--studios,
section[data-brand="studios"] {
  position: relative;
  color: var(--brand-ink);
  background:
    radial-gradient(1000px 540px at 20% 10%, rgba(255, 43, 214, 0.10), transparent 55%),
    radial-gradient(820px 520px at 82% 28%, rgba(0, 229, 255, 0.09), transparent 56%),
    linear-gradient(180deg, var(--brand-bg-0), var(--brand-bg-1));
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius);
  box-shadow: var(--brand-shadow);
  overflow: hidden;
}

/* Star speckle layer (no images needed) */
.brand--studios::before,
section[data-brand="studios"]::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.20) 50%, transparent 52%),
    radial-gradient(1px 1px at 40% 35%, rgba(255,255,255,0.14) 50%, transparent 52%),
    radial-gradient(1px 1px at 70% 25%, rgba(255,255,255,0.16) 50%, transparent 52%),
    radial-gradient(1px 1px at 85% 55%, rgba(255,255,255,0.12) 50%, transparent 52%),
    radial-gradient(1px 1px at 25% 70%, rgba(255,255,255,0.10) 50%, transparent 52%),
    radial-gradient(1px 1px at 55% 80%, rgba(255,255,255,0.12) 50%, transparent 52%);
  opacity: 0.55;
  mix-blend-mode: screen;
}

/* Neon top edge highlight */
.brand--studios::after,
section[data-brand="studios"]::after {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  top: -2px;
  height: 3px;
  background: var(--brand-gradient);
  opacity: 0.85;
  filter: blur(0.2px);
  pointer-events: none;
}

/* Ensure content sits above background layers */
.brand--studios > *,
section[data-brand="studios"] > * {
  position: relative;
  z-index: 1;
}

/* -------------------------------------------------------------------------- */
/* Studios logo lockup                                                        */
/* -------------------------------------------------------------------------- */

/* Expected markup examples:
 * <div class="brand-lockup brand-lockup--studios">
 *   <img class="brand-lockup__logo" src="/assets/img/brands/studios/logo.png" alt="Alt Production Studios">
 * </div>
 */
.brand-lockup--studios {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-lockup--studios .brand-lockup__logo {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 10px 26px rgba(0,0,0,0.65)) drop-shadow(0 0 22px rgba(255,43,214,0.22));
}

/* Optional “neon title” if you render text with it */
.brand-title--studios {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.2px;
}

/* -------------------------------------------------------------------------- */
/* Cards / lanes / skill tiles                                                 */
/* -------------------------------------------------------------------------- */

.brand--studios .lane-grid,
section[data-brand="studios"] .lane-grid {
  display: grid;
  gap: 14px;
}

/* Lane cards */
.brand--studios .lane-card,
section[data-brand="studios"] .lane-card {
  border: 1px solid var(--brand-border);
  background: linear-gradient(180deg, rgba(10,12,20,0.72), rgba(10,12,20,0.55));
  border-radius: calc(var(--brand-radius) - 2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.45);
  position: relative;
  overflow: hidden;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.brand--studios .lane-card::before,
section[data-brand="studios"] .lane-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-gradient-soft);
  opacity: 0.45;
  pointer-events: none;
}

.brand--studios .lane-card:hover,
section[data-brand="studios"] .lane-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-border-strong);
  box-shadow: 0 16px 40px rgba(0,0,0,0.55), var(--brand-glow);
}

.brand--studios .lane-card__title,
section[data-brand="studios"] .lane-card__title {
  margin: 0 0 6px 0;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand--studios .lane-card__desc,
section[data-brand="studios"] .lane-card__desc {
  margin: 0;
  color: var(--brand-ink-dim);
}

/* “Apply” CTA region inside lane card */
.brand--studios .lane-card__cta,
section[data-brand="studios"] .lane-card__cta {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* -------------------------------------------------------------------------- */
/* Buttons                                                                    */
/* -------------------------------------------------------------------------- */

.brand--studios .btn,
section[data-brand="studios"] .btn {
  border-radius: 999px;
  border: 1px solid var(--brand-border);
  background: rgba(255,255,255,0.06);
  color: var(--brand-ink);
  padding: 10px 14px;
  cursor: pointer;
  transition: transform 120ms ease, border-color 120ms ease, background 120ms ease, box-shadow 120ms ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  user-select: none;
}

.brand--studios .btn:hover,
section[data-brand="studios"] .btn:hover {
  transform: translateY(-1px);
  border-color: var(--brand-border-strong);
  background: rgba(255,255,255,0.08);
}

.brand--studios .btn:focus-visible,
section[data-brand="studios"] .btn:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px var(--brand-focus), var(--brand-glow);
}

/* Primary neon button */
.brand--studios .btn--primary,
section[data-brand="studios"] .btn--primary {
  border: 0;
  background: var(--brand-gradient);
  color: #071018;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(0,0,0,0.45), 0 0 22px rgba(255,43,214,0.16);
}

.brand--studios .btn--primary:hover,
section[data-brand="studios"] .btn--primary:hover {
  box-shadow: 0 14px 34px rgba(0,0,0,0.55), 0 0 28px rgba(0,229,255,0.16), 0 0 24px rgba(255,43,214,0.18);
}

/* Secondary outline */
.brand--studios .btn--outline,
section[data-brand="studios"] .btn--outline {
  background: transparent;
  border-color: rgba(255,255,255,0.18);
}

/* -------------------------------------------------------------------------- */
/* Forms (when brand is selected from the page)                               */
/* -------------------------------------------------------------------------- */

.brand--studios .form-shell,
section[data-brand="studios"] .form-shell {
  border: 1px solid var(--brand-border);
  background: rgba(10,12,20,0.62);
  border-radius: var(--brand-radius);
  box-shadow: var(--brand-shadow);
}

.brand--studios input[type="text"],
.brand--studios input[type="email"],
.brand--studios input[type="url"],
.brand--studios textarea,
.brand--studios select,
section[data-brand="studios"] input[type="text"],
section[data-brand="studios"] input[type="email"],
section[data-brand="studios"] input[type="url"],
section[data-brand="studios"] textarea,
section[data-brand="studios"] select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--brand-ink);
  border-radius: 12px;
}

.brand--studios input:focus,
.brand--studios textarea:focus,
.brand--studios select:focus,
section[data-brand="studios"] input:focus,
section[data-brand="studios"] textarea:focus,
section[data-brand="studios"] select:focus {
  outline: 0;
  border-color: rgba(0,229,255,0.45);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.18);
}

/* Helper text */
.brand--studios .help-text,
section[data-brand="studios"] .help-text {
  color: var(--brand-ink-muted);
}

/* -------------------------------------------------------------------------- */
/* Brandstripe (the coloured divider bar under headings)                       */
/* -------------------------------------------------------------------------- */

.brand--studios .brandstripe,
section[data-brand="studios"] .brandstripe {
  height: 4px;
  border-radius: 999px;
  background: var(--brand-gradient);
  box-shadow: 0 0 18px rgba(255,43,214,0.18), 0 0 16px rgba(0,229,255,0.12);
}

/* -------------------------------------------------------------------------- */
/* Small responsive tweaks                                                     */
/* -------------------------------------------------------------------------- */

@media (max-width: 760px) {
  .brand-lockup--studios .brand-lockup__logo {
    height: 38px;
  }

  .brand--studios .lane-card,
  section[data-brand="studios"] .lane-card {
    border-radius: 14px;
  }

  .brand--studios .btn,
  section[data-brand="studios"] .btn {
    width: 100%;
  }
}
