/**
 * WGT NEW Landing — mockup-precise overrides
 * Scoped to .wgt-page so WorkScout / Elementor styles cannot leak in.
 */

/* ---- Force Inter everywhere on this template ---- */
body.wgt-landing,
body.wgt-landing .wgt-page,
body.wgt-landing .wgt-page * {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

body.wgt-landing {
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wgt-page {
  min-height: 100vh;
  background: var(--white);
  color: var(--ink);
}

.wgt-page .section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.wgt-page .section-head h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--ink);
}

.wgt-page .section-head p {
  color: var(--steel);
  font-size: 17px;
}

/* ---- Hero (from 02_landing_v1_mockup.html) ---- */
.wgt-page .hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding: 80px 0 60px;
  overflow: hidden;
}

.wgt-page .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(20, 20, 20, 0.92) 0%, rgba(20, 20, 20, 0.55) 50%, rgba(20, 20, 20, 0.25) 100%),
    url("https://d8j0ntlcm91z4.cloudfront.net/user_3Dh6ARR1O3sLjJHrMaTygSRUE1z/hf_20260518_044424_3d30981b-03ed-4430-abbd-3047b66baa11.png");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.wgt-page .hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.wgt-page .hero .eyebrow {
  display: inline-block;
  background: var(--amber);
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 18px;
}

.wgt-page .hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--white) !important;
}

.wgt-page .hero h1 .accent {
  color: var(--amber) !important;
}

.wgt-page .hero p.lede {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85) !important;
  max-width: 640px;
  margin-bottom: 36px;
}

.wgt-page .search-card {
  background: var(--white);
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 8px;
  align-items: stretch;
  max-width: 980px;
}

.wgt-page .search-field {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  background: var(--concrete);
  border-radius: 8px;
  min-width: 0;
  position: relative;
}

.wgt-page .search-field label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--steel);
  margin-bottom: 2px;
}

.wgt-page .search-field input,
.wgt-page .search-field select:not(.select2-hidden-accessible) {
  border: 0;
  background: transparent;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  padding: 4px 0;
  font-family: inherit !important;
}

.wgt-page .search-field select.select2-hidden-accessible {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  white-space: nowrap !important;
  margin: -1px !important;
}

.wgt-page .search-field .select2-container {
  width: 100% !important;
  flex: 1;
}

.wgt-page .search-field .select2-container--default .select2-selection--single {
  border: 0;
  background: transparent;
  height: 32px;
  min-height: 0;
  display: flex;
  align-items: center;
}

.wgt-page .search-field .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0 24px 0 0;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.4;
}

.wgt-page .search-field .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 32px;
  top: 0;
  right: 0;
  width: 20px;
}

.wgt-page .search-field .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border: 0;
  height: 8px;
  width: 8px;
  margin: 0;
  left: 50%;
  top: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
}

.wgt-page .search-field .select2-container--default .select2-selection--single .select2-selection__arrow b::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--steel);
  border-bottom: 2px solid var(--steel);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  font-family: inherit;
  position: static;
  color: transparent;
  line-height: 1;
}

.wgt-page .search-field .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b::after {
  transform: rotate(-135deg);
}

.wgt-page .select2-container--default .select2-search--dropdown,
body.wgt-landing .select2-container--default .select2-search--dropdown {
  display: block !important;
  padding: 8px;
}

.wgt-page .select2-container--default .select2-search--dropdown .select2-search__field,
body.wgt-landing .select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  height: 40px;
  font-family: inherit;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
  background: var(--white);
  color: var(--ink);
}

.wgt-page .select2-dropdown,
body.wgt-landing .select2-dropdown {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 10050;
}

.wgt-page .select2-container--default .select2-results__option--highlighted[aria-selected],
body.wgt-landing .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: var(--amber);
  color: var(--ink);
}

.wgt-page .search-card .btn-primary {
  border-radius: 8px;
}

.wgt-page .advanced-link {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.wgt-page .advanced-link a {
  color: var(--amber);
  font-weight: 600;
}

/* ---- Categories ---- */
.wgt-page .cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.wgt-page .cat-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.15s ease;
  cursor: pointer;
  border-left: 3px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.wgt-page a.cat-tile:hover,
.wgt-page a.cat-tile:focus-visible,
.wgt-page .cat-tile:hover {
  border-left-color: var(--amber);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: inherit;
}

.wgt-page .cat-tile .count {
  font-size: 12px;
  font-weight: 700;
  color: var(--amber-dark);
  background: var(--amber-tint);
  padding: 3px 8px;
  border-radius: 4px;
  width: fit-content;
}

.wgt-page .cat-tile .name {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}

.wgt-page .cat-cta {
  text-align: center;
  margin-top: 36px;
}

.wgt-page .cat-empty {
  text-align: center;
  color: var(--steel);
  font-size: 16px;
}

/* ---- Talent grid ---- */
.wgt-page .talent-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}

.wgt-page .resume-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  margin-bottom: 14px;
  transition: all 0.15s ease;
}

.wgt-page .resume-card:hover {
  border-color: var(--amber);
  box-shadow: var(--shadow);
}

.wgt-page .resume-card .img-slot {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

/* Hide mockup placeholder labels on production landing */
.wgt-page .img-slot::after {
  display: none !important;
  content: none !important;
}

.wgt-page .resume-card .role {
  font-weight: 700;
  font-size: 16px;
}

.wgt-page .wgt-talent-section .resume-card a,
.wgt-page .wgt-talent-section .resume-card a:visited {
  color: #141414;
  text-decoration: none;
}

.wgt-page .wgt-talent-section .resume-card a:hover,
.wgt-page .wgt-talent-section .resume-card a:focus,
.wgt-page .wgt-talent-section .resume-card a:active {
  color: #141414;
}

.wgt-page .resume-card .meta {
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: var(--steel);
  margin: 4px 0 8px;
}

.wgt-page .resume-card .meta strong {
  color: var(--amber-dark);
}

.wgt-page .resume-card .bio {
  font-size: 14px;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.wgt-page .load-more {
  text-align: center;
  margin-top: 20px;
}

.wgt-page .wgt-load-more-resumes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.wgt-page .wgt-load-more-spinner {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid var(--steel);
  border-top-color: var(--amber);
  border-radius: 50%;
  animation: wgt-spin 0.8s linear infinite;
  flex-shrink: 0;
}

.wgt-page .wgt-load-more-resumes.is-loading .wgt-load-more-spinner {
  display: inline-block;
}

.wgt-page .wgt-talent-empty {
  text-align: center;
  color: var(--steel);
  font-size: 16px;
  padding: 24px 0;
}

@keyframes wgt-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Find Talent — blur candidate photos for guests (matches site-wide resume privacy) */
body:not(.logged-in) .wgt-page .wgt-talent-section .talent-grid .img-slot {
  -webkit-filter: blur(10px);
  filter: blur(10px);
}

body.logged-in .wgt-page .wgt-talent-section .talent-grid .img-slot {
  -webkit-filter: none;
  filter: none;
}

.wgt-page .featured-card {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 100px;
}

.wgt-page .featured-card .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}

.wgt-page .featured-card .img-slot {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 18px;
}

.wgt-page .featured-card h4,
.wgt-page .featured-card h4 a {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 6px;
  color: #ffffff !important;
  text-decoration: none;
}

.wgt-page .featured-card h4 a:hover,
.wgt-page .featured-card h4 a:focus,
.wgt-page .featured-card h4 a:active,
.wgt-page .featured-card h4 a:visited {
  color: #ffffff !important;
}

.wgt-page .featured-card .meta {
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 12px;
}

.wgt-page .featured-card .meta strong {
  color: var(--amber);
}

.wgt-page .featured-card .bio {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}

.wgt-page .featured-card .tag {
  background: var(--ink-2);
  color: rgba(255, 255, 255, 0.75);
}

.wgt-page .featured-card .btn {
  width: 100%;
  margin-top: 18px;
}

/* ---- Value band ---- */
.wgt-page .value-band {
  background: var(--ink);
  color: var(--white);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}

.wgt-page .value-band::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  background: var(--amber);
  border-radius: 50%;
  opacity: 0.06;
}

.wgt-page .value-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.wgt-page .value-grid h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
  color: var(--white);
}

.wgt-page .value-grid h2 .accent {
  color: var(--amber);
}

.wgt-page .checklist {
  list-style: none;
  margin-bottom: 32px;
}

.wgt-page .checklist li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
}

.wgt-page .checklist .tick {
  flex: 0 0 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 13px;
}

.wgt-page .value-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  aspect-ratio: 1;
}

.wgt-page .value-collage .img-slot:nth-child(1) {
  grid-row: span 2;
}

/* ---- Testimonials ---- */
.wgt-page .testimonial-band {
  background: var(--concrete);
}

.wgt-page .testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.wgt-page .testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border-top: 4px solid var(--amber);
  position: relative;
}

.wgt-page .testimonial.featured {
  background: var(--ink);
  color: var(--white);
  border-top-color: var(--amber);
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}

.wgt-page .testimonial.featured .quote {
  color: rgba(255, 255, 255, 0.92);
}

.wgt-page .testimonial.featured .author-name {
  color: var(--white);
}

.wgt-page .testimonial.featured .author-role {
  color: var(--amber);
}

.wgt-page .quote-mark {
  font-size: 48px;
  line-height: 0.5;
  color: var(--amber);
  font-family: Georgia, serif !important;
  margin-bottom: 10px;
  height: 24px;
}

.wgt-page .quote {
  font-size: 15px;
  color: var(--charcoal);
  margin-bottom: 22px;
  min-height: 96px;
}

.wgt-page .author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wgt-page .author .img-slot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.wgt-page .author .img-slot.real {
  background-size: cover;
  background-position: center;
}

.wgt-page .author .img-slot::after {
  display: none;
}

.wgt-page .author-name {
  font-weight: 700;
  font-size: 14px;
}

.wgt-page .author-role {
  font-size: 12px;
  color: var(--steel);
}

.wgt-page .wgt-testimonials-empty {
  text-align: center;
  color: var(--steel);
  font-size: 16px;
}

@media (max-width: 900px) {
  .wgt-page .search-card {
    grid-template-columns: 1fr;
  }

  .wgt-page .talent-grid,
  .wgt-page .value-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .wgt-page .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .wgt-page .testimonial.featured {
    transform: none;
  }

  .wgt-page .featured-card {
    position: static;
  }
}
