
:root {
  --nthp-red: #d71920;
  --nthp-red-dark: #9e1015;
  --nthp-black: #090a0c;
  --nthp-panel: #14161a;
  --nthp-gray: #a8abb1;
  --nthp-border: #2a2d33;
  --nthp-white: #ffffff;
}

body.page-apply {
  background: var(--nthp-black);
}

.nthp-apply-shell {
  margin: 0 auto;
  max-width: 1320px;
  padding: 42px 22px 80px;
  color: var(--nthp-white);
}

.nthp-apply-hero {
  position: relative;
  overflow: hidden;
  padding: 52px 44px;
  margin-bottom: 28px;
  background:
    linear-gradient(110deg, rgba(4,5,7,.98), rgba(12,13,16,.88)),
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(215,25,32,.08) 14px 16px);
  border: 1px solid var(--nthp-border);
  border-left: 7px solid var(--nthp-red);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}

.nthp-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--nthp-red);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .16em;
}

.nthp-apply-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 7vw, 88px);
  line-height: .95;
  letter-spacing: -.035em;
  font-weight: 900;
}

.nthp-apply-hero p {
  max-width: 820px;
  margin: 22px 0 24px;
  color: #dadce1;
  font-size: clamp(18px, 2vw, 24px);
}

.nthp-role-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nthp-role-meta span {
  padding: 9px 14px;
  border: 1px solid #3a3d44;
  background: rgba(255,255,255,.04);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.nthp-apply-grid {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.45fr);
  gap: 28px;
  align-items: start;
}

.nthp-role-card,
.nthp-form-card {
  background: var(--nthp-panel);
  border: 1px solid var(--nthp-border);
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
}

.nthp-role-card {
  position: sticky;
  top: 30px;
  padding: 32px;
  border-top: 4px solid var(--nthp-red);
}

.nthp-role-card h2,
.nthp-form-card h2 {
  margin-top: 0;
  color: #fff;
  font-size: 30px;
}

.nthp-role-card h3 {
  margin: 28px 0 10px;
  color: var(--nthp-red);
  font-size: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nthp-role-card p,
.nthp-role-card li,
.nthp-required-note,
.nthp-privacy {
  color: #c7c9ce;
}

.nthp-role-card ul {
  margin: 0;
  padding-left: 20px;
}

.nthp-role-card li {
  margin: 9px 0;
}

.nthp-form-card {
  padding: 36px;
}

.nthp-required-note {
  margin-top: -12px;
  margin-bottom: 28px;
}

.nthp-application-form {
  display: grid;
  gap: 22px;
}

.nthp-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.nthp-application-form label > span,
.nthp-application-form legend {
  display: block;
  margin-bottom: 8px;
  color: #f5f6f8;
  font-weight: 750;
}

.nthp-application-form input[type="text"],
.nthp-application-form input[type="email"],
.nthp-application-form input[type="tel"],
.nthp-application-form input[type="date"],
.nthp-application-form input[type="file"],
.nthp-application-form select,
.nthp-application-form textarea {
  width: 100%;
  min-height: 50px;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #3a3d44;
  border-radius: 3px;
  background: #0c0e11;
  color: #fff;
  font: inherit;
}

.nthp-application-form textarea {
  resize: vertical;
  min-height: 125px;
}

.nthp-application-form input:focus,
.nthp-application-form select:focus,
.nthp-application-form textarea:focus {
  outline: 2px solid rgba(215,25,32,.55);
  border-color: var(--nthp-red);
}

.nthp-application-form fieldset {
  padding: 18px;
  border: 1px solid #34373d;
}

.nthp-choice {
  display: inline-flex;
  gap: 8px;
  margin-right: 22px;
  align-items: center;
}

.nthp-upload {
  padding: 18px;
  border: 1px dashed #4a4e56;
  background: rgba(255,255,255,.025);
}

.nthp-upload small {
  display: block;
  margin-top: 8px;
  color: var(--nthp-gray);
}

.nthp-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.nthp-consent input {
  margin-top: 5px;
}

.nthp-submit {
  min-height: 58px;
  border: 0;
  background: linear-gradient(180deg, var(--nthp-red), var(--nthp-red-dark));
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .08em;
  cursor: pointer;
}

.nthp-submit:hover {
  filter: brightness(1.1);
}

.nthp-alert {
  margin: 0 0 28px;
  padding: 18px 20px;
  border-left: 5px solid;
  background: #15171b;
}

.nthp-alert-success {
  border-color: #2fac66;
}

.nthp-alert-error {
  border-color: var(--nthp-red);
}

.nthp-honeypot {
  position: absolute !important;
  left: -99999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .nthp-apply-grid {
    grid-template-columns: 1fr;
  }

  .nthp-role-card {
    position: static;
  }
}

@media (max-width: 620px) {
  .nthp-apply-shell {
    padding: 20px 14px 50px;
  }

  .nthp-apply-hero,
  .nthp-form-card,
  .nthp-role-card {
    padding: 24px 20px;
  }

  .nthp-field-grid {
    grid-template-columns: 1fr;
  }

  .nthp-apply-hero h1 {
    font-size: 48px;
  }
}


/* NTHP Careers page */
.nthp-careers-shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 42px 22px 80px;
  color: var(--nthp-white);
}

.nthp-careers-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 7vw, 88px) clamp(26px, 6vw, 72px);
  background:
    linear-gradient(110deg, rgba(4,5,7,.98), rgba(12,13,16,.90)),
    repeating-linear-gradient(135deg, transparent 0 15px, rgba(215,25,32,.07) 15px 17px);
  border: 1px solid var(--nthp-border);
  border-left: 7px solid var(--nthp-red);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}

.nthp-careers-hero::after {
  content: "NTHP";
  position: absolute;
  right: -20px;
  bottom: -40px;
  color: rgba(255,255,255,.035);
  font-size: clamp(120px, 22vw, 320px);
  line-height: .8;
  font-weight: 900;
  letter-spacing: -.08em;
  pointer-events: none;
}

.nthp-careers-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 7vw, 86px);
  line-height: .94;
  letter-spacing: -.04em;
  font-weight: 900;
}

.nthp-careers-hero p {
  position: relative;
  z-index: 1;
  max-width: 790px;
  margin: 24px 0 0;
  color: #d2d4d9;
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.55;
}

.nthp-careers-intro {
  padding: clamp(36px, 6vw, 72px);
  background: #f5f6f8;
  color: #121317;
  border-bottom: 1px solid #d9dce1;
}

.nthp-section-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--nthp-red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
}

.nthp-careers-intro h2,
.nthp-careers-experience h2,
.nthp-careers-cta h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: .98;
  letter-spacing: -.035em;
  font-weight: 900;
}

.nthp-careers-lead {
  max-width: 920px;
  margin: 24px 0 0;
  color: #4f535b;
  font-size: 19px;
  line-height: 1.7;
}

.nthp-careers-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  background: #d8dbe0;
  border: 1px solid #d8dbe0;
}

.nthp-careers-meta div {
  padding: 24px 20px;
  background: #fff;
}

.nthp-careers-meta strong,
.nthp-careers-meta span {
  display: block;
}

.nthp-careers-meta strong {
  color: #15171b;
  font-size: 18px;
}

.nthp-careers-meta span {
  margin-top: 6px;
  color: #6b7078;
  font-size: 14px;
}

.nthp-careers-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--nthp-border);
  border: 1px solid var(--nthp-border);
}

.nthp-careers-panel {
  position: relative;
  padding: clamp(32px, 5vw, 58px);
  background: var(--nthp-panel);
}

.nthp-panel-number {
  display: block;
  color: var(--nthp-red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
}

.nthp-careers-panel h3 {
  margin: 10px 0 24px;
  color: #fff;
  font-size: 30px;
}

.nthp-careers-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nthp-careers-panel li {
  position: relative;
  margin: 0;
  padding: 13px 0 13px 24px;
  color: #c9ccd2;
  border-bottom: 1px solid #2b2e34;
  line-height: 1.5;
}

.nthp-careers-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 23px;
  width: 8px;
  height: 2px;
  background: var(--nthp-red);
}

.nthp-careers-experience {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  padding: clamp(40px, 6vw, 72px);
  background: #fff;
  color: #17181c;
  align-items: center;
}

.nthp-careers-experience p {
  margin: 0;
  color: #545861;
  font-size: 18px;
  line-height: 1.75;
}

.nthp-careers-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 42px;
  align-items: center;
  padding: clamp(38px, 6vw, 68px);
  background:
    linear-gradient(115deg, rgba(126,8,12,.98), rgba(215,25,32,.98)),
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.08) 14px 16px);
}

.nthp-careers-cta h2 {
  color: #fff;
}

.nthp-careers-cta .nthp-section-kicker {
  color: rgba(255,255,255,.72);
}

.nthp-careers-cta p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.86);
  font-size: 17px;
  line-height: 1.6;
}

.nthp-careers-button {
  display: inline-flex;
  min-height: 58px;
  padding: 0 28px;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  color: #fff !important;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none !important;
  white-space: nowrap;
  transition: .2s ease;
}

.nthp-careers-button:hover {
  background: #fff;
  color: #b31016 !important;
}

@media (max-width: 900px) {
  .nthp-careers-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nthp-careers-content,
  .nthp-careers-experience,
  .nthp-careers-cta {
    grid-template-columns: 1fr;
  }

  .nthp-careers-cta {
    align-items: start;
  }

  .nthp-careers-button {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .nthp-careers-shell {
    padding: 20px 14px 50px;
  }

  .nthp-careers-hero,
  .nthp-careers-intro,
  .nthp-careers-panel,
  .nthp-careers-experience,
  .nthp-careers-cta {
    padding: 26px 20px;
  }

  .nthp-careers-meta {
    grid-template-columns: 1fr;
  }

  .nthp-careers-button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}


/* Homepage Careers navigation link */
.nthp-careers-nav-link {
  display: inline-flex;
  align-items: center;
  color: #ffffff !important;
  font: inherit;
  font-size: inherit;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none !important;
  margin-left: 22px;
  white-space: nowrap;
}

.nthp-careers-nav-link:hover {
  color: var(--nthp-red) !important;
}

@media (max-width: 980px) {
  .nthp-careers-nav-link {
    margin-left: 0;
  }
}


/* Multi-role Careers listings */
.nthp-job-listings {
  display: grid;
  gap: 28px;
  padding: 28px 0;
}

.nthp-job-opening {
  position: relative;
  padding: clamp(30px, 5vw, 58px);
  background: #14161a;
  border: 1px solid #2a2d33;
  border-top: 5px solid #555a63;
  box-shadow: 0 18px 48px rgba(0,0,0,.25);
}

.nthp-job-opening.nthp-job-active {
  border-top-color: var(--nthp-red);
}

.nthp-job-status {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 11px;
  background: var(--nthp-red);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.nthp-job-status-evergreen {
  background: #343841;
  color: #e5e7eb;
}

.nthp-job-level {
  display: block;
  color: var(--nthp-red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
}

.nthp-job-opening h2 {
  margin: 10px 0 18px;
  color: #fff;
  font-size: clamp(34px, 5vw, 60px);
  line-height: .98;
  letter-spacing: -.035em;
}

.nthp-job-opening-head > p {
  max-width: 940px;
  color: #c6c9d0;
  font-size: 18px;
  line-height: 1.7;
}

.nthp-job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.nthp-job-tags span {
  padding: 8px 11px;
  border: 1px solid #3a3e46;
  background: #0c0e11;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.nthp-job-opening-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 28px;
  margin: 34px 0;
}

.nthp-job-opening-columns h3 {
  color: #fff;
  font-size: 22px;
}

.nthp-job-opening-columns ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nthp-job-opening-columns li {
  position: relative;
  padding: 11px 0 11px 22px;
  color: #c9ccd2;
  border-bottom: 1px solid #2b2e34;
}

.nthp-job-opening-columns li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 8px;
  height: 2px;
  background: var(--nthp-red);
}

.nthp-role-apply {
  background: var(--nthp-red);
  border-color: var(--nthp-red);
}

.nthp-shop-benefits {
  padding: clamp(38px, 6vw, 68px);
  background: #f5f6f8;
  color: #17181c;
}

.nthp-shop-benefits h2 {
  margin: 0 0 30px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.nthp-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1px;
  background: #d8dbe0;
  border: 1px solid #d8dbe0;
}

.nthp-benefit-grid div {
  padding: 24px;
  background: #fff;
}

.nthp-benefit-grid strong,
.nthp-benefit-grid span {
  display: block;
}

.nthp-benefit-grid strong {
  color: #17181c;
  font-size: 17px;
}

.nthp-benefit-grid span {
  margin-top: 8px;
  color: #666b74;
  line-height: 1.55;
}

.nthp-role-fields {
  display: none;
  gap: 22px;
  padding: 24px;
  border: 1px solid #34373d;
  background: rgba(255,255,255,.02);
}

.nthp-role-fields.is-visible {
  display: grid;
}

.nthp-role-fields h3 {
  margin: 0;
  color: #fff;
  font-size: 24px;
}

.nthp-role-fields > p {
  margin: -10px 0 0;
  color: #afb3bb;
}

.nthp-position-field select {
  border-color: var(--nthp-red);
}

@media (max-width: 900px) {
  .nthp-job-opening-columns,
  .nthp-benefit-grid {
    grid-template-columns: 1fr;
  }
}
