/* ═══════════════════════════════════════════
   WE HIRE PAGE - Luxury Showcase
═══════════════════════════════════════════ */

/* ── HERO ── */
.hire-bg-blur {
  position: absolute;
  inset: 0;
  background: var(--bg) url('../img/gallery/ffxiv_dx11_2026-02-25_21-29-36_908.webp') center center / cover no-repeat;
  filter: blur(14px) brightness(0.3);
  transform: scale(1.08);
  z-index: 0;
}

/* ── BODY ── */
.hire-body {
  background: var(--bg);
  padding: 0 0 7rem;
}

/* ── CONDITIONS STRIP ── */
.hire-conditions {
  background: var(--surface);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}

.hire-conditions-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}

.hire-condition {
  flex: 1 1 160px;
  padding: 1.6rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.05);
  transition: background 0.25s;
}

.hire-condition:last-child { border-right: none; }

.hire-condition:hover {
  background: rgba(176,0,58,0.06);
}

.hire-condition-label {
  display: block;
  font-size: 0.57rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.hire-condition-val {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

/* ── SHOWCASE GRID ── */
.hire-showcase {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

/* ── ROLE CARD ── */
.role-card {
  position: relative;
  background: var(--surface);
  padding: 3.5rem 3rem 3rem;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  overflow: hidden;
  transition: background 0.4s;
  cursor: default;
}

/* velvet texture */
.role-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0px,
      transparent 2px,
      rgba(255,255,255,0.008) 2px,
      rgba(255,255,255,0.008) 4px
    );
  pointer-events: none;
  z-index: 0;
}

/* top glow line */
.role-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.role-card:hover {
  background: color-mix(in srgb, var(--surface) 82%, var(--red) 18%);
}

.role-card:hover::after {
  opacity: 1;
}

.role-card--closed {
  opacity: 0.45;
}

.role-card--closed:hover {
  background: var(--surface);
  opacity: 0.5;
}

.role-card--closed::after {
  display: none;
}

/* ── CARD CONTENT (above z-index of texture) ── */
.role-card > * {
  position: relative;
  z-index: 1;
}

.role-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.role-num {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
  padding-top: 0.15rem;
}

.role-status {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.25rem 0.85rem;
  border-radius: 20px;
  border: 1px solid;
  flex-shrink: 0;
}

.status-open {
  color: #6dbd86;
  border-color: rgba(109,189,134,0.4);
  background: rgba(109,189,134,0.07);
}

.status-closed {
  color: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.1);
}

.role-name {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 0;
}

.role-line {
  width: 30px;
  height: 1px;
  background: var(--red);
  margin: 1.2rem 0 1.4rem;
  transition: width 0.45s ease;
}

.role-card:hover .role-line {
  width: 55px;
}

.role-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.85;
  flex: 1;
  margin-bottom: 2.2rem;
}

.role-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.role-pay-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.role-pay-label {
  font-size: 0.57rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.role-pay {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #fff;
  letter-spacing: 0.06em;
}

.role-apply-btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  border: 1px solid var(--red);
  padding: 0.6rem 1.5rem;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
  white-space: nowrap;
}

.role-apply-btn:hover {
  background: transparent;
  color: var(--red);
}

.role-card--closed .role-apply-btn {
  display: none;
}

/* ── CTA BOTTOM ── */
.hire-cta {
  max-width: 1200px;
  margin: 4rem auto 0;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.hire-cta-text {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}

.hire-cta-text strong {
  color: #fff;
}

.hire-cta-btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  border: 1px solid var(--red);
  padding: 0.9rem 2.6rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s;
  flex-shrink: 0;
}

.hire-cta-btn:hover {
  background: transparent;
  color: var(--red);
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .hire-showcase {
    grid-template-columns: 1fr;
  }

  .role-card {
    min-height: auto;
  }
}

@media (max-width: 600px) {
  .hire-conditions-inner {
    flex-direction: column;
  }

  .hire-condition {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 1.2rem 1.4rem;
  }

  .hire-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
