/*
 * request.css — Request Line page, homepage request strip, Gravity Forms skin
 * Hitt Records (hittrexxx_v1). Load AFTER myspace2.css.
 *
 * Uses the theme's own --ms-* tokens and fonts (Orbitron / VT323 / Press Start 2P),
 * so nothing here introduces a new color or typeface.
 *
 * Gravity Forms: works with either form theme (Orbital or "2.5"). Everything is
 * scoped to .hr-request-form_wrapper (Form Settings → CSS Class Name: hr-request-form)
 * so no other Gravity Form on the site is touched.
 */


/* =============================================================================
   HOMEPAGE — "Looking for something specific?" strip (under What We've Got)
   ============================================================================= */

.hr-request-cta {
  margin-top: 28px;
  padding: 22px 26px;
  border: 2px dashed var(--ms-purple);
  background: rgba(176, 0, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.hr-request-cta__text {
  font-family: 'VT323', monospace;
  font-size: 1.4rem;
  line-height: 1.35;
  color: var(--ms-text);
  margin: 0;
}

.hr-request-cta__lead {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ms-green);
  text-shadow: 0 0 6px var(--ms-green);
  margin-bottom: 6px;
}

.hr-request-cta .btn {
  margin: 0;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .hr-request-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
  }
}


/* =============================================================================
   REQUEST LINE PAGE — layout
   Hero reuses the Events hero classes (.hr-events-hero*) so the two pages match.
   ============================================================================= */

.hr-request-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 1024px) {
  .hr-request-layout {
    grid-template-columns: 2fr 1fr;
    gap: 40px;
  }
}

/* Form panel — same family as the Now Playing box, purple instead of green */
.hr-request-panel {
  background: #0d001a;
  border: 2px solid var(--ms-purple);
  box-shadow: 0 0 12px 2px rgba(176, 0, 255, 0.35), inset 0 0 24px rgba(176, 0, 255, 0.06);
  padding: 28px 30px 32px;
}

.hr-request-panel__title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1rem, 2.6vw, 1.4rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ms-pink);
  text-shadow: 0 0 10px var(--ms-pink), 2px 2px 0 var(--ms-purple);
  margin: 0 0 8px;
}

.hr-request-panel__intro {
  font-family: 'VT323', monospace;
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--ms-text-muted);
  margin: 0 0 24px;
}

/* Side column — "How it works" + phone, styled like the Always Buying block */
.hr-request-aside__title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ms-pink);
  text-shadow: 0 0 10px var(--ms-pink), 2px 2px 0 var(--ms-purple);
  margin: 0 0 16px;
}

.hr-request-steps {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  counter-reset: hr-step;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hr-request-steps li {
  counter-increment: hr-step;
  position: relative;
  font-family: 'VT323', monospace;
  font-size: 1.3rem;
  line-height: 1.35;
  color: var(--ms-text);
  padding: 14px 16px 14px 56px;
  border-left: 3px solid var(--ms-purple);
  background: rgba(176, 0, 255, 0.06);
}

.hr-request-steps li::before {
  content: counter(hr-step);
  position: absolute;
  left: 16px;
  top: 14px;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--ms-yellow);
  text-shadow: 0 0 8px var(--ms-yellow);
}

.hr-request-aside__call {
  font-family: 'VT323', monospace;
  font-size: 1.3rem;
  color: var(--ms-text-muted);
  margin: 0 0 6px;
}

.hr-request-aside__phone {
  display: inline-block;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--ms-green);
  text-shadow: 0 0 8px var(--ms-green);
  text-decoration: none;
}

.hr-request-aside__phone:hover,
.hr-request-aside__phone:focus-visible {
  color: #fff;
  text-shadow: 0 0 16px var(--ms-green);
}

@media (max-width: 639px) {
  .hr-request-panel {
    padding: 22px 16px 26px;
  }
}


/* =============================================================================
   GRAVITY FORMS SKIN — .hr-request-form
   ============================================================================= */

/* Neutralise Orbital's framework tokens so our colors win without fighting
   its variables one rule at a time. Harmless under the 2.5 theme. */
.hr-request-form_wrapper.gform_wrapper {
  --gf-color-primary: var(--ms-pink);
  --gf-color-primary-rgb: 255, 105, 180;
  --gf-color-in-ctrl: #0a0014;
  --gf-color-in-ctrl-contrast: var(--ms-text);
  --gf-color-in-ctrl-dark: var(--ms-purple-dark);
  --gf-ctrl-border-color: var(--ms-purple-dark);
  --gf-ctrl-label-color-primary: var(--ms-pink-light);
  --gf-ctrl-label-color-secondary: var(--ms-text-muted);
  --gf-ctrl-desc-color: var(--ms-text-muted);
  --gf-color-danger: var(--ms-yellow);
  --gf-radius: 0;
  margin: 0;
}

/* Field grid — keep GF's 12-col grid, just set the gaps */
.hr-request-form_wrapper .gform_fields {
  row-gap: 24px !important;
  column-gap: 20px !important;
}

/* Phones: every field full width (GF does this too; repeated here in case
   its stylesheet is turned off) */
@media (max-width: 640px) {
  .hr-request-form_wrapper .gform_fields > .gfield {
    grid-column: 1 / -1 !important;
  }
}

/* ── Labels & legends ─────────────────────────────────────────────────────── */
.hr-request-form_wrapper .gfield_label,
.hr-request-form_wrapper legend.gfield_label {
  display: block;
  font-family: 'Press Start 2P', monospace !important;
  font-size: 0.6rem !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ms-pink-light) !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
}

/* Required marker — GF prints either "(Required)" or "*" depending on settings */
.hr-request-form_wrapper .gfield_required,
.hr-request-form_wrapper .gfield_required_text,
.hr-request-form_wrapper .gfield_required_asterisk {
  color: var(--ms-yellow) !important;
  font-family: 'Press Start 2P', monospace !important;
  font-size: 0.6rem !important;
  text-shadow: 0 0 6px rgba(255, 230, 0, 0.5);
  margin-left: 4px;
  font-style: normal;
}

/* Descriptions / helper text */
.hr-request-form_wrapper .gfield_description,
.hr-request-form_wrapper .gform_description {
  font-family: 'VT323', monospace !important;
  font-size: 1.15rem !important;
  line-height: 1.35 !important;
  color: var(--ms-text-muted) !important;
  padding: 8px 0 0 !important;
}

/* The form-level note GF adds above fields ("* indicates required fields") */
.hr-request-form_wrapper .gform_required_legend {
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  color: var(--ms-text-muted);
  margin-bottom: 16px;
}

/* ── Text inputs & textarea ──────────────────────────────────────────────────
   The theme already styles inputs globally with !important; these only add
   what GF needs (full width, consistent height, larger type for legibility). */
.hr-request-form_wrapper input[type="text"],
.hr-request-form_wrapper input[type="email"],
.hr-request-form_wrapper input[type="tel"],
.hr-request-form_wrapper textarea {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 48px;
  font-size: 1.35rem !important;
  line-height: 1.3 !important;
  border-radius: 0 !important;
  box-sizing: border-box;
}

.hr-request-form_wrapper textarea {
  height: 170px !important;
  min-height: 120px;
  resize: vertical;
}

/* ── Radio choices → pill buttons ────────────────────────────────────────── */
.hr-request-form_wrapper .gfield_radio {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
}

.hr-request-form_wrapper .gfield_radio .gchoice {
  position: relative;
  display: block;
  margin: 0 !important;
}

/* Visually hide the native radio but keep it focusable / clickable */
.hr-request-form_wrapper .gfield_radio input[type="radio"] {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  opacity: 0 !important;
  appearance: none;
  -webkit-appearance: none;
  border: 0 !important;
  box-shadow: none !important;
  background: none !important;
  z-index: 1;
}

.hr-request-form_wrapper .gfield_radio label,
.hr-request-form_wrapper .gfield_radio .gform-field-label {
  display: inline-flex !important;
  align-items: center;
  min-height: 44px;
  margin: 0 !important;
  padding: 10px 16px !important;
  font-family: 'Press Start 2P', monospace !important;
  font-size: 0.55rem !important;
  line-height: 1.4 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ms-pink-light) !important;
  background: var(--ms-surface);
  border: 2px solid var(--ms-purple-dark);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease, background 0.15s ease;
}

/* Orbital draws its own fake radio with ::before — remove it */
.hr-request-form_wrapper .gfield_radio label::before,
.hr-request-form_wrapper .gfield_radio label::after {
  display: none !important;
  content: none !important;
}

.hr-request-form_wrapper .gfield_radio .gchoice:hover label {
  border-color: var(--ms-pink);
  color: var(--ms-pink) !important;
}

.hr-request-form_wrapper .gfield_radio input:checked + label {
  border-color: var(--ms-green);
  color: var(--ms-green) !important;
  background: rgba(57, 255, 20, 0.08);
  box-shadow: 0 0 10px var(--ms-green), inset 0 0 8px rgba(57, 255, 20, 0.12);
  text-shadow: 0 0 6px var(--ms-green);
}

.hr-request-form_wrapper .gfield_radio input:focus-visible + label {
  outline: 2px solid var(--ms-yellow);
  outline-offset: 3px;
}

/* ── Submit ─────────────────────────────────────────────────────────────────
   Theme already gives buttons the pink glow; the request button gets the green
   "primary" treatment the homepage CTA uses, so the action looks the same
   from the strip to the form. */
.hr-request-form_wrapper .gform_footer,
.hr-request-form_wrapper .gform_page_footer {
  margin-top: 28px !important;
  padding: 0 !important;
}

.hr-request-form_wrapper .gform_button,
.hr-request-form_wrapper input[type="submit"] {
  font-size: 0.65rem !important;
  padding: 16px 32px !important;
  margin: 0 !important;
  width: auto !important;
  border-radius: 0 !important;
  border-color: var(--ms-green) !important;
  color: var(--ms-green) !important;
  box-shadow: 0 0 8px var(--ms-green), inset 0 0 8px rgba(57, 255, 20, 0.1) !important;
  animation: none;
}

.hr-request-form_wrapper .gform_button:hover,
.hr-request-form_wrapper .gform_button:focus-visible,
.hr-request-form_wrapper input[type="submit"]:hover {
  background: linear-gradient(135deg, #003300, #001a00) !important;
  color: #fff !important;
  box-shadow: 0 0 24px var(--ms-green), 0 0 48px rgba(57, 255, 20, 0.5) !important;
}

.hr-request-form_wrapper .gform_ajax_spinner {
  margin-left: 12px;
  filter: hue-rotate(90deg) saturate(3);
}

/* ── Validation — hazard-stripe treatment borrowed from the About page ───── */
.hr-request-form_wrapper .gform_validation_errors {
  background: #0d001a !important;
  border: 2px solid var(--ms-yellow) !important;
  border-radius: 0 !important;
  box-shadow: 0 0 14px rgba(255, 230, 0, 0.35) !important;
  padding: 0 !important;
  margin-bottom: 24px !important;
  overflow: hidden;
}

.hr-request-form_wrapper .gform_validation_errors::before {
  content: '';
  display: block;
  height: 12px;
  background: repeating-linear-gradient(-45deg, #ffe600 0 10px, #000 10px 20px);
}

.hr-request-form_wrapper .gform_validation_errors .gform_submission_error,
.hr-request-form_wrapper .gform_validation_errors h2 {
  font-family: 'Press Start 2P', monospace !important;
  font-size: 0.6rem !important;
  line-height: 1.8 !important;
  letter-spacing: 0.06em;
  color: var(--ms-yellow) !important;
  text-shadow: 0 0 6px rgba(255, 230, 0, 0.5);
  padding: 14px 18px !important;
  margin: 0 !important;
}

.hr-request-form_wrapper .gform_validation_errors .gform-icon {
  display: none !important;
}

.hr-request-form_wrapper .gfield_error input,
.hr-request-form_wrapper .gfield_error textarea {
  border-color: var(--ms-yellow) !important;
}

.hr-request-form_wrapper .gfield_error .gfield_label {
  color: var(--ms-yellow) !important;
}

.hr-request-form_wrapper .gfield_error .gfield_radio label {
  border-color: rgba(255, 230, 0, 0.6);
}

.hr-request-form_wrapper .validation_message,
.hr-request-form_wrapper .gfield_validation_message {
  background: none !important;
  border: 0 !important;
  padding: 8px 0 0 !important;
  margin: 0 !important;
  font-family: 'VT323', monospace !important;
  font-size: 1.2rem !important;
  color: var(--ms-yellow) !important;
}

/* ── Confirmation — the Now Playing green box ──────────────────────────────── */
.hr-request-panel .gform_confirmation_wrapper,
.gform_confirmation_wrapper.hr-request-form_confirmation_wrapper {
  margin: 0;
}

.hr-request-panel .gform_confirmation_message {
  background: #0d001a;
  border: 2px solid var(--ms-green);
  box-shadow: 0 0 12px var(--ms-green), 0 0 28px rgba(57, 255, 20, 0.35);
  padding: 28px 26px;
  font-family: 'VT323', monospace;
  font-size: 1.45rem;
  line-height: 1.4;
  color: var(--ms-text);
}

.hr-request-panel .gform_confirmation_message strong {
  display: block;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--ms-green);
  text-shadow: 0 0 8px var(--ms-green);
  margin-bottom: 12px;
}

/* Honeypot stays hidden in both GF themes */
.hr-request-form_wrapper .gform_validation_container {
  display: none !important;
}


/* =============================================================================
   MOTION — respect the visitor's setting
   ============================================================================= */

@media (prefers-reduced-motion: reduce) {
  .hr-request-form_wrapper *,
  .hr-request-cta .btn,
  .hr-request-page .hr-events-hero__title,
  .hr-request-page .hr-events-hero__star {
    animation: none !important;
    transition: none !important;
  }
}
