/* Native hiring flow (hire.html) — two-column rail + step layout.
   Palette follows the site tokens: #f0f1fa background, #080807 ink,
   Aeonik body, Featuredisplay serif for display headings. */

@font-face {
  font-family: Featuredisplay;
  src: url('../fonts/FeatureDisplay-Light-Web.woff2') format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Aeonik;
  src: url('../fonts/Aeonik-Regular.ttf') format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Aeonik;
  src: url('../fonts/Aeonik-Medium.otf') format("opentype");
  font-weight: 500;
  font-display: swap;
}

.hf-body {
  margin: 0;
  background: #f0f1fa;
  color: #080807;
  font-family: Aeonik, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.hf-shell {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 44px 48px 96px;
  min-height: 100vh;
  box-sizing: border-box;
}

/* ---------- left rail ---------- */

.hf-logo {
  display: block;
  width: 40px;
  color: #080807;
  margin-bottom: 72px;
}
.hf-logo svg { width: 100%; height: auto; display: block; }

.hf-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(8, 8, 7, 0.45);
}

.hf-rail-heading {
  font-family: Featuredisplay, Georgia, serif;
  font-weight: 300;
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 16px 0 14px;
}

.hf-rail-copy {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(8, 8, 7, 0.55);
  max-width: 300px;
  margin: 0;
}

.hf-dots {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 30px;
}
.hf-dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(8, 8, 7, 0.18);
  transition: width 0.25s, background 0.25s;
}
.hf-dots span.done { background: rgba(8, 8, 7, 0.55); }
.hf-dots span.active { width: 26px; background: #080807; }

.hf-receipt {
  margin-top: 44px;
  padding: 16px 18px 14px;
  border: 1px solid rgba(8, 8, 7, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  max-width: 300px;
}
.hf-receipt .hf-eyebrow { display: block; margin-bottom: 10px; }
.hf-receipt-empty { font-size: 13px; color: rgba(8, 8, 7, 0.45); }
.hf-receipt-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  padding: 4px 0;
  overflow-wrap: anywhere;
  animation: hf-fade-up 0.3s ease;
}
.hf-receipt-row svg { flex: none; color: #080807; }
.hf-receipt-note {
  font-size: 12px;
  color: rgba(8, 8, 7, 0.4);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(8, 8, 7, 0.08);
}

/* ---------- main column ---------- */

.hf-main { padding-top: 2px; min-width: 0; }

.hf-stepcount {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(8, 8, 7, 0.45);
  text-align: right;
  margin-bottom: 56px;
}

.hf-question {
  font-family: Featuredisplay, Georgia, serif;
  font-weight: 300;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 16px 0 36px;
  max-width: 640px;
}

.hf-copy {
  font-size: 15px;
  color: rgba(8, 8, 7, 0.55);
  max-width: 480px;
  margin: -18px 0 28px;
}

/* ---------- inputs (step 1) ---------- */

.hf-fields { max-width: 560px; }
.hf-field { margin-bottom: 8px; }

.hf-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 24px;
  color: #080807;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(8, 8, 7, 0.18);
  border-radius: 0;
  padding: 12px 2px 14px;
  margin-bottom: 26px;
  outline: none;
  transition: border-color 0.15s;
}
.hf-input:focus { border-bottom-color: #080807; }
.hf-input::placeholder { color: rgba(8, 8, 7, 0.28); }
.hf-invalid { border-bottom-color: #a94436 !important; }

/* ---------- chips (step 3) ---------- */

.hf-label {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(8, 8, 7, 0.5);
  margin: 0 0 10px;
}

.hf-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 32px;
  max-width: 640px;
}

.hf-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hf-chip {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 9px 15px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  color: #080807;
  background: #fff;
  border: 1px solid rgba(8, 8, 7, 0.14);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.12s, background 0.15s, color 0.15s;
}
.hf-chip:hover { border-color: rgba(8, 8, 7, 0.4); }

.hf-chip-check {
  width: 0;
  margin-right: 0;
  opacity: 0;
  flex: none;
  transition: width 0.15s, margin 0.15s, opacity 0.15s;
}
.hf-chip.selected {
  background: #080807;
  border-color: #080807;
  color: #f0f1fa;
}
.hf-chip.selected .hf-chip-check {
  width: 12px;
  margin-right: 8px;
  opacity: 1;
}

/* ---------- the brief (step 3) ---------- */

.hf-brief-sec { max-width: 640px; margin-top: 36px; display: none; }
.hf-brief-sec.is-visible {
  display: block;
  animation: hf-fade-up 0.35s ease;
}

.hf-brief-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.hf-brief-hint { font-size: 13px; color: rgba(8, 8, 7, 0.45); }

.hf-canvas {
  background: #fff;
  border: 1px solid rgba(8, 8, 7, 0.14);
  border-radius: 14px;
  cursor: text;
  transition: border-color 0.15s, background 0.15s;
}
.hf-canvas:focus-within { border-color: #080807; }
.hf-canvas.hf-drag { border: 1.5px dashed #080807; background: #fbfbf4; }

.hf-canvas-ta {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 132px;
  resize: vertical;
  border: 0;
  outline: none;
  background: transparent;
  padding: 16px 18px 8px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.55;
  color: #080807;
}
.hf-canvas-ta::placeholder { color: rgba(8, 8, 7, 0.32); }

.hf-canvas-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 14px 14px;
}
.hf-attach-btn {
  padding: 7px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #080807;
  background: transparent;
  border: 1px solid rgba(8, 8, 7, 0.25);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.12s;
}
.hf-attach-btn:hover { border-color: #080807; }
.hf-attach-hint { font-size: 12px; color: rgba(8, 8, 7, 0.38); }
.hf-attach-filename { font-size: 13px; font-weight: 500; color: rgba(8, 8, 7, 0.65); }
.hf-attach-remove {
  border: 0;
  background: none;
  padding: 0 2px;
  font-size: 17px;
  line-height: 1;
  color: rgba(8, 8, 7, 0.45);
  cursor: pointer;
}
.hf-attach-remove:hover { color: #a94436; }
.hf-file-input { display: none; }

.hf-skip {
  margin-left: auto;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(8, 8, 7, 0.55);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color 0.15s;
}
.hf-skip:hover, .hf-skip.selected { color: #080807; }

.hf-reassure {
  font-size: 13.5px;
  color: rgba(8, 8, 7, 0.5);
  margin: 12px 2px 0;
}

@keyframes hf-fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hf-brief-sec.is-visible, .hf-receipt-row { animation: none; }
}

/* ---------- cal embed (step 2) ---------- */

.hf-cal {
  margin-top: 4px;
  min-height: 540px;
}

/* ---------- actions ---------- */

.hf-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 640px;
  margin-top: 44px;
}

.hf-btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  color: #f0f1fa;
  background: #080807;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.05s;
}
.hf-btn:hover { opacity: 0.85; }
.hf-btn:active { transform: translateY(1px); }
.hf-btn[disabled] { opacity: 0.5; cursor: default; }

.hf-back,
.hf-skip {
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: rgba(8, 8, 7, 0.55);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color 0.15s;
}
.hf-back:hover,
.hf-skip:hover { color: #080807; }

.hf-hint {
  font-size: 13px;
  color: rgba(8, 8, 7, 0.4);
  margin-top: 24px;
  text-align: right;
  max-width: 640px;
}

/* ---------- errors ---------- */

.hf-error {
  color: #a94436;
  font-size: 13px;
  margin: -18px 0 18px;
}
.hf-chips + .hf-error,
.hf-field .hf-chips ~ .hf-error,
.hf-brief-sec .hf-error { margin: 10px 0 0; }

.hf-submit-error {
  color: #a94436;
  font-size: 14px;
  margin-top: 16px;
}

.hf-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- confirmation ---------- */

.hf-done { padding-top: 40px; }
.hf-done .hf-copy { margin: -18px 0 36px; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  /* The form leads on mobile: dissolve the rail so its pieces can be
     reordered — compact heading on top, form next, receipt underneath. */
  .hf-shell {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 28px 22px 72px;
  }
  .hf-rail, .hf-rail-body { display: contents; }
  .hf-logo { order: 0; width: 34px; margin-bottom: 24px; }
  .hf-rail-body > .hf-eyebrow { order: 1; }
  .hf-rail-heading { order: 2; font-size: 30px; margin: 10px 0 0; }
  .hf-rail-copy { display: none; }
  .hf-dots { order: 3; margin-top: 14px; }
  .hf-main { order: 4; margin-top: 32px; }
  .hf-receipt { order: 5; margin-top: 34px; max-width: none; }
  .hf-facts { grid-template-columns: 1fr; }
  .hf-stepcount { text-align: left; margin-bottom: 28px; }
  .hf-question { margin: 12px 0 28px; }
  .hf-input { font-size: 20px; }
  .hf-actions { margin-top: 36px; }
  .hf-hint { display: none; }
}
