/* Salon Professional opportunities page.
   The reset, brand tokens, focus ring, motion defaults, .ps-wrap,
   .ps-page-header, .ps-btn and .ps-btn--secondary all come from
   ps-base.css; only field-specific rules live here. */

:root {
  --ps-dark: #071012;
  --ps-soft: #eef9f9;
  --ps-border: #cfdede;
  --ps-card-border: #d9e3e3;
  --ps-hero-rule: #405154;
}

body.page-field {
  margin: 0;
  background: #fff;
  color: #101415;
  font-family: Arial, Helvetica, sans-serif;
}

/* The header is fixed, so the hero has to clear it. */
.page-field main {
  padding-top: var(--ps-header-height);
}

/* ---------- hero ---------- */

.hero {
  background: radial-gradient(circle at 78% 25%, #103234, var(--ps-dark) 45%, #050708);
  color: #fff;
  padding-block: var(--ps-section-space);
}

.eyebrow {
  color: var(--ps-teal);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.hero h1 {
  margin: .875rem 0;
  font-size: clamp(3rem, 13vw, 4.875rem);
  line-height: .91;
  letter-spacing: -.05em;
}

.hero h1 .accent {
  color: var(--ps-teal);
}

.hero .lead {
  max-width: 37.5rem;
  font-size: 1.0625rem;
  line-height: 1.45;
}

.footprint-map {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- hero proof tiles ---------- */

.proof {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 1.5625rem;
  border: 1px solid var(--ps-hero-rule);
  border-radius: 1.125rem;
  overflow: hidden;
  background: #070b0c;
}

.proof > div {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: .75rem;
  align-items: center;
  padding: 1.125rem;
  border-right: 1px solid var(--ps-hero-rule);
  border-bottom: 1px solid var(--ps-hero-rule);
}

.proof > div:nth-child(2n) {
  border-right: 0;
}

.proof > div:nth-child(n + 3) {
  border-bottom: 0;
}

.proof .ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.875rem;
  height: 2.875rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #25bbb7, var(--ps-teal-dark));
  font-size: 1.375rem;
  font-weight: 900;
}

.proof .proof-svg svg {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
}

.proof strong {
  display: block;
  color: var(--ps-teal);
  font-size: 1.3125rem;
}

.proof b {
  font-size: .625rem;
  line-height: 1.25;
}

.proof-asterisk {
  color: #fff;
}

.proof-footnotes {
  margin-top: .875rem;
  color: #fff;
  text-align: left;
}

.proof-footnotes p {
  margin: 0;
  line-height: 1.4;
}

.proof-footnotes p:first-child {
  font-size: .875rem;
}

.proof-footnotes p:last-child {
  margin-top: .375rem;
  font-size: .6875rem;
}

/* ---------- state filter ---------- */

.find {
  padding-block: var(--ps-section-space);
}

.find h2,
.jobs h2 {
  font-size: clamp(1.375rem, 6vw, 2.125rem);
  line-height: 1;
}

.find h2 {
  margin: 0 0 .5rem;
}

.states {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.4375rem, 1fr));
  gap: .5rem;
  margin-top: 1.25rem;
}

.state {
  padding: .8125rem .5rem;
  border: 1px solid #8ccac8;
  border-radius: .5625rem;
  background: #fff;
  color: var(--ps-teal-dark);
  font-family: inherit;
  font-size: .625rem;
  font-weight: 900;
  cursor: pointer;
}

.state.active,
.state:hover {
  background: var(--ps-teal);
  color: var(--ps-ink);
}

/* Every button ships both labels; the 47.4375rem breakpoint swaps which one shows. */
.state-abbr {
  display: none;
}

/* ---------- jobs ---------- */

.jobs {
  padding-block: var(--ps-section-space);
  background: var(--ps-soft);
  scroll-margin-top: var(--ps-header-height);
}

.jobs h2 {
  margin: 0 0 1.0625rem;
}

.shell {
  min-height: 21.25rem;
  padding: 1.25rem;
  border: 1px solid var(--ps-border);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .04);
}

/* ---------- job cards (built by arcoro-adapter.js) ---------- */

.ps-card-view:empty {
  display: none;
}

.ps-no-results {
  margin: 0;
  padding: 1.5rem .25rem;
  color: #3d4a4c;
  font-size: 1rem;
  line-height: 1.5;
}

.ps-no-results[hidden] {
  display: none;
}

.ps-state-group {
  margin: 0 0 1.875rem;
}

.ps-state-title {
  margin: 0 0 .75rem;
  padding: 0 0 .5625rem;
  border-bottom: 2px solid var(--ps-teal-dark);
  color: var(--ps-teal-dark);
  font-size: 1.125rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ps-job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.875rem, 1fr));
  gap: .875rem;
  align-items: stretch;
}

.ps-job-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 12.8125rem;
  padding: 1.25rem;
  border: 1px solid var(--ps-card-border);
  border-radius: 1rem;
  background: #fff;
  color: var(--ps-ink);
  box-shadow: 0 .3125rem 1.125rem rgba(0, 0, 0, .07);
}

.ps-job-title {
  margin: 0 0 .4375rem;
  font-size: 1.125rem;
  font-weight: 900;
  line-height: 1.15;
}

.ps-job-pay {
  margin-bottom: .9375rem;
  color: var(--ps-teal-dark);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
}

.ps-job-location {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid #edf0f0;
  color: #333;
  font-size: .875rem;
  line-height: 1.4;
}

.ps-job-location strong {
  display: block;
  color: var(--ps-ink);
  font-size: .875rem;
  line-height: 1.3;
}

.ps-pin {
  flex: 0 0 auto;
  color: var(--ps-teal-dark);
  font-size: .6875rem;
  line-height: 1.6;
}

.ps-job-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1rem;
  color: var(--ps-ink);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-decoration: none;
}

.ps-job-cta:hover {
  color: var(--ps-teal-dark);
}

.ps-job-cta::after {
  content: "\2192";
  font-size: 1.125rem;
  line-height: 1;
}

/* ---------- native Arcoro fallback ----------
   Stays usable when the adapter cannot safely parse the widget output. */

.ps-native-arcoro {
  width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}

.ps-native-arcoro.ps-cards-ready {
  display: none;
}

.ps-native-arcoro * {
  max-width: 100%;
}

.ps-native-arcoro a {
  color: var(--ps-teal-dark);
  font-weight: 800;
  text-decoration: none;
}

.ps-native-arcoro a:hover {
  text-decoration: underline;
}

/* ---------- focus ---------- */

.state:focus-visible,
.ps-job-cta:focus-visible {
  outline: var(--ps-focus-ring);
  outline-offset: var(--ps-focus-offset);
}

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

@media (min-width: 50rem) {
  .hero-grid {
    display: grid;
    grid-template-columns: 48% 52%;
    gap: 1.875rem;
    align-items: center;
  }

  .hero h1 {
    font-size: 4.5rem;
  }

  .proof {
    grid-template-columns: repeat(4, 1fr);
  }

  .proof > div {
    border-bottom: 0;
  }

  .proof > div:nth-child(2) {
    border-right: 1px solid var(--ps-hero-rule);
  }
}

@media (min-width: 47.5rem) and (max-width: 73.6875rem) {
  .ps-job-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 73.75rem) {
  .ps-job-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 47.4375rem) {
  /* 33 full state names wrap into a wall that pushes the listing well below the
     fold; abbreviations tile into a compact block that stays out of the way. */
  .states {
    grid-template-columns: repeat(auto-fit, minmax(3rem, 1fr));
    gap: .375rem;
  }

  .state {
    padding: .625rem .25rem;
    font-size: .6875rem;
  }

  .state-name {
    display: none;
  }

  .state-abbr {
    display: inline;
  }

  .ps-job-grid {
    grid-template-columns: 1fr;
  }

  .ps-job-card {
    min-height: 0;
    padding: 1.125rem;
  }

  .ps-job-title {
    font-size: 1.0625rem;
  }
}
