/* ============================================
   LUMINARA — Hire Talents Directory
   Loaded after styles.css to win the cascade.
   ============================================ */

body.hire-page {
  background: #f3efe8;
}

/* Fixed nav clearance — do not rely on calc alone */
body.hire-page .ht-hero {
  padding-top: 140px !important;
  padding-bottom: 48px !important;
  padding-left: 0;
  padding-right: 0;
  background:
    linear-gradient(180deg, #faf7f2 0%, #f3efe8 100%);
  border-bottom: 1px solid rgba(26, 71, 49, 0.1);
  position: relative;
  z-index: 1;
}

body.hire-page .ht-hero .container {
  max-width: 1200px;
}

body.hire-page .ht-breadcrumb {
  font-size: 0.8125rem;
  color: #7a746b;
  margin: 0 0 20px;
}

body.hire-page .ht-breadcrumb a {
  color: #6b8f71;
  text-decoration: none;
}

body.hire-page .ht-breadcrumb a:hover {
  color: #1a4731;
}

body.hire-page .ht-hero h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  color: #1a4731;
  margin: 0 0 14px;
  max-width: 16ch;
}

body.hire-page .ht-hero__lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #7a746b;
  max-width: 540px;
  margin: 0 0 28px;
}

/* Search */
body.hire-page .ht-search {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 560px;
  width: 100%;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid rgba(26, 71, 49, 0.14);
  box-shadow: 0 8px 24px rgba(15, 46, 31, 0.04);
  margin-bottom: 20px;
}

body.hire-page .ht-search svg {
  width: 18px;
  height: 18px;
  color: #6b8f71;
  flex-shrink: 0;
}

body.hire-page .ht-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  color: #2c2c2c;
}

body.hire-page .ht-search input::placeholder {
  color: #b8b0a4;
}

/* Popular chips — override global button { border:none; background:none } */
body.hire-page .ht-popular {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

body.hire-page .ht-popular > span {
  font-size: 0.8125rem;
  color: #7a746b;
  margin-right: 4px;
}

body.hire-page button.ht-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(26, 71, 49, 0.16) !important;
  background: #fff !important;
  color: #1a4731 !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 8px 14px !important;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

body.hire-page button.ht-chip:hover,
body.hire-page button.ht-chip.is-active {
  background: #1a4731 !important;
  border-color: #1a4731 !important;
  color: #faf7f2 !important;
}

/* Directory layout */
body.hire-page .ht-directory {
  padding: 48px 0 96px;
  background: #f3efe8;
  scroll-margin-top: 96px;
}

body.hire-page .ht-directory__layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

/* Filters panel */
body.hire-page .ht-filters {
  position: sticky;
  top: 96px;
  background: #fff;
  border: 1px solid rgba(26, 71, 49, 0.1);
  padding: 24px;
  max-height: calc(100vh - 112px);
  overflow-y: auto;
}

body.hire-page .ht-filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

body.hire-page .ht-filters__head h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 400;
  color: #1a4731;
  margin: 0;
}

body.hire-page button.ht-filters__clear {
  border: 0 !important;
  background: transparent !important;
  color: #6b8f71 !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8125rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0 !important;
  cursor: pointer;
}

body.hire-page .ht-filter-group {
  padding: 18px 0;
  border-top: 1px solid rgba(26, 71, 49, 0.08);
}

body.hire-page .ht-filter-group h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a746b;
  margin: 0 0 14px;
}

body.hire-page .ht-filter-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.hire-page label.ht-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: #2c2c2c;
  cursor: pointer;
  line-height: 1.3;
}

body.hire-page label.ht-check input {
  width: 16px;
  height: 16px;
  accent-color: #1a4731;
  flex-shrink: 0;
}

body.hire-page .ht-filter-group select,
body.hire-page .ht-results__bar select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding: 12px 36px 12px 14px;
  border: 1px solid rgba(26, 71, 49, 0.14);
  background-color: #faf7f2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231A4731' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: #2c2c2c;
  border-radius: 0;
}

body.hire-page .ht-filter-hint {
  font-size: 0.75rem;
  color: #7a746b;
  margin: 10px 0 0;
  line-height: 1.45;
}

body.hire-page .ht-filter-group--cta p {
  font-size: 0.875rem;
  color: #7a746b;
  margin: 0 0 14px;
}

body.hire-page .ht-filter-group--cta .btn,
body.hire-page a.ht-filters__cta {
  width: 100%;
  justify-content: center;
  padding: 14px 16px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

/* Results */
body.hire-page .ht-results__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

body.hire-page .ht-results__bar h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #1a4731;
  margin: 0;
}

body.hire-page .ht-results__bar select {
  width: auto;
  min-width: 180px;
  background-color: #fff;
}

body.hire-page .ht-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Talent row cards */
body.hire-page .ht-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(200px, 0.85fr) 148px;
  gap: 24px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(26, 71, 49, 0.1);
  padding: 24px;
  box-shadow: 0 1px 0 rgba(15, 46, 31, 0.03);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

body.hire-page .ht-row:hover {
  border-color: rgba(26, 71, 49, 0.22);
  box-shadow: 0 16px 40px rgba(15, 46, 31, 0.08);
  transform: translateY(-2px);
}

body.hire-page .ht-row__identity {
  display: flex;
  gap: 16px;
  min-width: 0;
}

body.hire-page .ht-row__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(145deg, #1a4731, #0f2e1f);
  color: #faf7f2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  object-fit: cover;
}

body.hire-page img.ht-row__avatar--photo {
  padding: 0;
  max-width: none;
  height: 64px !important;
  width: 64px;
}

body.hire-page .ht-row__title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

body.hire-page .ht-row__title h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.2;
}

body.hire-page .ht-row__title h3 a {
  color: #1a4731;
  text-decoration: none;
}

body.hire-page .ht-row__title h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.hire-page .ht-badge {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 9px;
  background: #d4e7d0;
  color: #1a4731;
}

body.hire-page .ht-row__sub {
  font-size: 0.8125rem;
  color: #7a746b;
  margin: 0 0 10px;
}

body.hire-page .ht-row__bio {
  font-size: 0.875rem;
  color: #2c2c2c;
  line-height: 1.55;
  margin: 0 0 12px;
}

body.hire-page .ht-row__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body.hire-page .ht-row__skills span {
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 5px 10px;
  border: 1px solid rgba(26, 71, 49, 0.12);
  color: #1a4731;
  background: #faf7f2;
}

body.hire-page .ht-row__shots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  min-width: 0;
}

body.hire-page .ht-row__shots img {
  width: 100%;
  height: 80px !important;
  max-width: none;
  object-fit: cover;
  display: block;
  background: #f3efe8;
}

body.hire-page .ht-row__empty-shots,
body.hire-page .ht-row__view-portfolio {
  grid-column: 1 / -1;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(26, 71, 49, 0.06), rgba(107, 143, 113, 0.12)),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 6px,
      rgba(26, 71, 49, 0.04) 6px,
      rgba(26, 71, 49, 0.04) 12px
    );
  border: 1px dashed rgba(26, 71, 49, 0.18);
  color: #7a746b;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.hire-page .ht-row__view-portfolio {
  color: #1a4731;
  text-decoration: none;
  border-style: solid;
  background: #eef5eb;
}

body.hire-page .ht-row__view-portfolio:hover {
  background: #e3ede4;
  border-color: rgba(26, 71, 49, 0.35);
}

body.hire-page .ht-row__cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

body.hire-page .ht-row__cta .btn {
  width: 100%;
  justify-content: center;
  padding: 11px 14px;
  white-space: nowrap;
}

body.hire-page .ht-empty {
  text-align: center;
  padding: 64px 28px;
  background: #fff;
  border: 1px dashed rgba(26, 71, 49, 0.22);
}

body.hire-page .ht-empty h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  font-size: 1.5rem;
  color: #1a4731;
  margin: 0 0 10px;
}

body.hire-page .ht-empty p {
  color: #7a746b;
  margin: 0 0 22px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

/* How to hire */
body.hire-page .ht-howto {
  padding: 96px 0;
  background: #faf7f2;
}

body.hire-page .ht-howto__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

body.hire-page .ht-howto__grid article {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid rgba(26, 71, 49, 0.1);
  min-height: 200px;
}

body.hire-page .ht-howto__grid span {
  display: block;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.75rem;
  color: #6b8f71;
  margin-bottom: 14px;
}

body.hire-page .ht-howto__grid h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 400;
  color: #1a4731;
  margin: 0 0 10px;
}

body.hire-page .ht-howto__grid p {
  font-size: 0.9375rem;
  color: #7a746b;
  line-height: 1.65;
  margin: 0;
}

body.hire-page .ht-bottom-cta {
  padding: 80px 0 !important;
  margin: 0;
  background: #1a4731 !important;
  color: #faf7f2;
  position: relative;
  z-index: 2;
}

body.hire-page .footer {
  position: relative;
  z-index: 1;
  clear: both;
  margin-top: 0;
}

body.hire-page .ht-bottom-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

body.hire-page .ht-bottom-cta h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  color: #faf7f2;
  margin: 0 0 10px;
}

body.hire-page .ht-bottom-cta p {
  color: rgba(250, 247, 242, 0.78);
  margin: 0;
  max-width: 420px;
}

body.hire-page .ht-bottom-cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

body.hire-page .ht-bottom-cta .btn-outline {
  border-color: rgba(250, 247, 242, 0.45);
  color: #faf7f2;
}

body.hire-page .ht-bottom-cta .btn-outline:hover {
  background: #faf7f2;
  color: #1a4731;
}

@media (max-width: 1100px) {
  body.hire-page .ht-directory__layout {
    grid-template-columns: 1fr;
  }

  body.hire-page .ht-filters {
    position: static;
    max-height: none;
  }

  body.hire-page .ht-filter-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
  }
}

@media (max-width: 900px) {
  body.hire-page .ht-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body.hire-page .ht-row__cta {
    flex-direction: row;
  }

  body.hire-page .ht-row__cta .btn {
    flex: 1;
  }

  body.hire-page .ht-howto__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body.hire-page .ht-hero {
    padding-top: 120px !important;
    padding-bottom: 36px !important;
  }

  body.hire-page .ht-hero h1 {
    max-width: none;
  }

  body.hire-page .ht-filter-options {
    grid-template-columns: 1fr;
  }

  body.hire-page .ht-row__shots {
    grid-template-columns: repeat(2, 1fr);
  }

  body.hire-page .ht-row__shots img {
    height: 96px !important;
  }

  body.hire-page .ht-row__cta {
    flex-direction: column;
  }
}
