/* ============================================================
   hire.css — "Work with us" client contact section (#hire)
   Reuses base.css tokens, cursor, magnetic buttons, .reveal
   ============================================================ */

.hire { position: relative; }
.hire__glow {
  position: absolute; bottom: -22vh; right: -14vw; z-index: 0; pointer-events: none;
  width: 64vw; height: 64vw; max-width: 820px; max-height: 820px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,255,61,0.12), transparent 62%); filter: blur(50px);
}
.hire__wrap {
  position: relative; z-index: 1; max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: start;
}

/* ---- left: pitch ---- */
.hire__pitch .eyebrow { margin-bottom: 22px; }
.hire__pitch h2 { font-size: clamp(36px, 5vw, 76px); max-width: 12ch; }
.hire__sub { margin-top: clamp(20px, 2.6vw, 30px); max-width: 42ch; color: var(--muted); font-size: clamp(15px, 1.4vw, 18px); line-height: 1.6; }
.hire__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: clamp(26px, 3vw, 34px); }
.hire__trust span { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: #d4d4d0; }
.hire__trust span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex: none; box-shadow: 0 0 9px rgba(196,255,61,0.6); }
.hire__chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(30px, 3.6vw, 42px); }
.hire__chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 100px;
  border: 1px solid var(--hairline); color: var(--text); font-size: 14px; font-weight: 500;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}
.hire__chip svg { color: var(--lime); flex: none; transition: transform 0.3s var(--ease); }
.hire__chip:hover { border-color: var(--lime); color: var(--lime); background: rgba(196,255,61,0.05); }
.hire__chip:hover svg { transform: scale(1.1); }
.hire__chip b { font-weight: 600; }

/* ---- right: form card ---- */
.hire__card {
  background: var(--panel); border: 1px solid var(--hairline); border-radius: 22px;
  padding: clamp(26px, 3vw, 44px); box-shadow: 0 40px 90px rgba(0,0,0,0.45);
}
.hire-form { display: flex; flex-direction: column; gap: 16px; }
.hf { display: flex; flex-direction: column; gap: 8px; }
.hf--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hf label { font-size: 13px; font-weight: 500; letter-spacing: 0.02em; color: #cfcfcd; display: inline-flex; align-items: center; gap: 5px; }
.hf label .req { color: var(--lime); font-weight: 700; }
.hf input, .hf select, .hf textarea {
  width: 100%; font-family: "Inter", sans-serif; font-size: 15px; color: var(--text);
  background: #0E0E10; border: 1px solid var(--hairline); border-radius: 12px; padding: 13px 14px; outline: none;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.hf input::placeholder, .hf textarea::placeholder { color: #6f6f6d; }
.hf textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.hf input:focus, .hf select:focus, .hf textarea:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(196,255,61,0.30); background: #101210; }
.hf input:hover, .hf select:hover, .hf textarea:hover { border-color: var(--hairline-strong); }
.hf--select { position: relative; }
.hf--select::after { content: ""; position: absolute; right: 16px; top: 43px; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); pointer-events: none; transition: border-color 0.3s var(--ease); }
.hf--select:focus-within::after { border-color: var(--lime); }
.hf select option { background: #111113; color: var(--text); }
.hf__err { font-size: 12px; color: var(--error, #FF6B6B); line-height: 1.4; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.3s var(--ease), opacity 0.3s var(--ease); }
.hf.invalid input, .hf.invalid select, .hf.invalid textarea { border-color: var(--error, #FF6B6B); }
.hf.invalid input:focus, .hf.invalid select:focus, .hf.invalid textarea:focus { box-shadow: 0 0 0 3px rgba(255,107,107,0.25); }
.hf.invalid .hf__err { max-height: 40px; opacity: 1; }

.hire__submit { width: 100%; justify-content: center; font-size: 16px; min-height: 58px; margin-top: 6px; cursor: pointer; }
.hire__submit[disabled] { cursor: wait; opacity: 0.9; }
.hire__submit .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(10,10,10,0.35); border-top-color: #0A0A0A; animation: hspin 0.7s linear infinite; display: none; }
.hire__submit.loading .spinner { display: inline-block; }
.hire__submit.loading .hire__submit-label { opacity: 0.7; }
@keyframes hspin { to { transform: rotate(360deg); } }
.hire__note { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 14px; }

.hire__banner { display: none; align-items: flex-start; gap: 12px; margin-top: 16px; background: rgba(255,107,107,0.08); border: 1px solid rgba(255,107,107,0.4); border-radius: 12px; padding: 14px 16px; color: #ffd2d2; font-size: 13.5px; line-height: 1.5; }
.hire__banner.show { display: flex; }
.hire__banner svg { flex: none; color: var(--error, #FF6B6B); margin-top: 1px; }
.hire__banner a { color: var(--lime); text-decoration: underline; text-underline-offset: 2px; }

/* ---- success ---- */
.hire__success { display: none; text-align: center; padding: clamp(20px, 3vw, 36px) 0; }
.hire__success.show { display: block; }
.hire__check { width: 92px; height: 92px; border-radius: 50%; background: var(--lime); display: flex; align-items: center; justify-content: center; margin: 0 auto 26px; transform: scale(0); box-shadow: 0 0 50px rgba(196,255,61,0.45); }
.hire__success.show .hire__check { animation: hcheckPop 0.6s var(--ease) forwards; }
@keyframes hcheckPop { 0% { transform: scale(0); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
.hire__check svg { width: 44px; height: 44px; color: #0A0A0A; }
.hire__check svg path { stroke-dasharray: 40; stroke-dashoffset: 40; }
.hire__success.show .hire__check svg path { animation: hcheckDraw 0.5s var(--ease) 0.35s forwards; }
@keyframes hcheckDraw { to { stroke-dashoffset: 0; } }
.hire__success h3 { font-family: "Archivo", sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: -0.03em; font-size: clamp(28px, 3.4vw, 46px); margin-bottom: 14px; }
.hire__success p { max-width: 40ch; margin: 0 auto; color: #d4d4d0; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.6; }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .hire__wrap { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 560px) {
  .hf--row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hire__success.show .hire__check { transform: scale(1) !important; animation: none !important; }
  .hire__success.show .hire__check svg path { stroke-dashoffset: 0 !important; animation: none !important; }
}
