/**
 * Careers / job application — hero background + branded font + text colors.
 */

@font-face {
  font-family: "Mariam Ohanian";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/mariam-ohanian/MariamOhanian-Regular.woff2") format("woff2"),
    url("../fonts/mariam-ohanian/MariamOhanian-Regular.woff") format("woff");
}

@font-face {
  font-family: "Mariam Ohanian";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/mariam-ohanian/MariamOhanian-Bold.woff2") format("woff2"),
    url("../fonts/mariam-ohanian/MariamOhanian-Bold.woff") format("woff");
}

:root {
  --hoh-hero-image: url("../69d8b0583fd6b722e1ffd13a_img_MHHCG-hero_foreground.png");
  --hoh-gold: #c5a059;
  --hoh-gold-hover: #a88948;
  --hoh-gold-soft: rgba(197, 160, 89, 0.35);
  --hoh-charcoal: #2a2825;
  --hoh-charcoal-soft: #3d3730;
  --hoh-page-bg: #ebe8e2;
  --hoh-card-bg: #ffffff;
  --hoh-input-bg: #ffffff;
  --hoh-text-body: #3d3530;
  --hoh-text-muted: #5c5650;
  --hoh-font-body: "Mariam Ohanian", Georgia, "Times New Roman", serif;
  --hoh-font-heading: "Mariam Ohanian", Georgia, "Times New Roman", serif;
}

html {
  height: 100%;
  background-color: var(--hoh-charcoal);
}

body,
html {
  font-family: var(--hoh-font-body);
  color: var(--hoh-text-body);
}

body {
  margin: 0;
  background-color: transparent;
  position: relative;
  z-index: 0;
  min-height: 100%;
}

/*
 * Background stack (fixed to viewport — fills entire screen, does not scroll away):
 * 1 = hero (cover = edge-to-edge; may crop slight edges on some aspect ratios)
 * 2 = tint overlay for contrast
 */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
  z-index: 1;
  pointer-events: none;
  background-color: var(--hoh-charcoal);
  background-image: var(--hoh-hero-image);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(42, 38, 36, 0.5) 0%,
    rgba(42, 38, 36, 0.35) 45%,
    rgba(28, 26, 24, 0.55) 100%
  );
}

body p,
.wrap-contact100 p,
.wrap-contact100 .eval_class,
.wrap-contact100 .eval_class div,
.contact100-form {
  font-family: var(--hoh-font-body);
  color: var(--hoh-text-body);
}

.wrap-contact100 a,
.contact100-form a {
  color: var(--hoh-charcoal-soft);
  font-family: var(--hoh-font-body);
}

.wrap-contact100 a:hover,
.contact100-form a:hover {
  color: var(--hoh-gold-hover);
}

.container-contact100 {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  min-height: 100dvh;
  align-items: flex-start;
  padding-top: 32px;
  padding-bottom: 48px;
  background: transparent;
}

.contact100-map {
  display: none !important;
}

.wrap-contact100 {
  width: min(940px, 100%);
  position: relative;
  z-index: 1;
  background: var(--hoh-card-bg);
  border: 1px solid var(--hoh-gold-soft);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.contact100-form-title::before {
  display: none;
}

.contact100-form-title-2 {
  font-family: var(--hoh-font-heading);
  font-size: clamp(16px, 1.55vw, 20px);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff !important;
  background: var(--hoh-charcoal) !important;
  margin: 0 !important;
  padding: 14px 22px !important;
  border-bottom: 3px solid var(--hoh-gold);
}

.wrap-contact100 > hr {
  margin: 0;
  border: none;
  height: 1px;
  background: var(--hoh-gold-soft);
}

.label-input100 {
  font-family: var(--hoh-font-body);
  font-size: 13px;
  color: var(--hoh-charcoal-soft) !important;
  font-weight: 500;
}

.input100 {
  font-family: var(--hoh-font-body) !important;
  font-size: 14px !important;
  color: var(--hoh-text-body) !important;
}

.focus-input100::before {
  background: var(--hoh-gold) !important;
}

.contact100-form {
  padding: 28px 36px 48px 36px;
  font-size: 14px;
  line-height: 1.45;
}

.contact100-form fieldset {
  background: transparent;
}

.contact100-form input,
.contact100-form textarea,
.contact100-form select {
  font-family: var(--hoh-font-body) !important;
  color: var(--hoh-text-body) !important;
  letter-spacing: 0.01em !important;
  background-color: var(--hoh-input-bg) !important;
  border: 1px solid var(--hoh-gold-soft) !important;
  border-radius: 4px !important;
}

.contact100-form select {
  width: 100% !important;
  max-width: 100%;
  min-height: 45px;
  padding: 10px 32px 10px 12px !important;
  line-height: 1.35;
  box-sizing: border-box;
  display: block;
  margin-bottom: 0 !important;
  margin-top: 4px !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  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 fill='%233d3730' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 8px;
  cursor: pointer;
}

.contact100-form select:focus {
  border-color: var(--hoh-gold) !important;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2) !important;
  outline: none;
}

.contact100-form input:focus,
.contact100-form textarea:focus {
  border-color: var(--hoh-gold) !important;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2) !important;
}

/* Primary buttons */
.contact100-form .action-button,
.contact100-form .btn-primary:not(.dropdown-toggle):not(.select2-choice) {
  width: auto !important;
  min-width: 120px;
  background: var(--hoh-gold) !important;
  color: #fff !important;
  border: 2px solid var(--hoh-gold) !important;
  border-radius: 4px !important;
  font-family: var(--hoh-font-body) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em !important;
  padding: 10px 20px !important;
  margin: 10px 0 10px 8px !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.contact100-form .action-button:hover,
.contact100-form .action-button:focus,
.contact100-form .btn-primary:not(.dropdown-toggle):not(.select2-choice):hover,
.contact100-form .btn-primary:not(.dropdown-toggle):not(.select2-choice):focus {
  background: var(--hoh-gold-hover) !important;
  border-color: var(--hoh-gold-hover) !important;
  color: #fff !important;
}

.contact100-form-submit,
.contact100-form .action-submit,
.contact100-form button[type="submit"] {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

/* Secondary — match primary control height/width (main.css used fixed 100px) */
.contact100-form .action-button-previous {
  width: auto !important;
  min-width: 128px;
  background: transparent !important;
  color: var(--hoh-gold) !important;
  border: 2px solid var(--hoh-gold) !important;
  border-radius: 4px !important;
  font-family: var(--hoh-font-body) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em !important;
  padding: 10px 18px !important;
  line-height: 1.2;
  box-sizing: border-box;
}

.contact100-form .action-button-previous:hover,
.contact100-form .action-button-previous:focus {
  background: var(--hoh-gold) !important;
  color: #fff !important;
  border-color: var(--hoh-gold) !important;
}

.contact100-form-btn {
  background-color: var(--hoh-gold) !important;
  border-radius: 4px !important;
  font-family: var(--hoh-font-body) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact100-form-btn:hover:not(:disabled) {
  background-color: var(--hoh-gold-hover) !important;
}

.contact100-form .contact100-form-btn.btn-primary[disabled],
.contact100-form .contact100-form-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

#progressbar {
  color: var(--hoh-text-muted) !important;
  font-family: var(--hoh-font-body);
}

#progressbar:not(.jo-form-progressbar) li {
  font-size: 15px !important;
}

/*
 * Job order form uses .jo-form-progressbar — do not nowrap/inline-block there (titles collide).
 */
#progressbar:not(.jo-form-progressbar) li strong {
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-block;
  line-height: 1.2;
}

#progressbar .active {
  color: var(--hoh-charcoal-soft) !important;
  font-weight: 700;
}

#progressbar li:before {
  background: #bdb8b0 !important;
  color: #fff !important;
}

#progressbar li:after {
  background: #bdb8b0 !important;
}

#progressbar li.active:before,
#progressbar li.active:after {
  background: var(--hoh-gold) !important;
}

.progress-bar {
  background-color: var(--hoh-gold) !important;
}

.fs-title,
.purple-text {
  color: var(--hoh-charcoal-soft) !important;
  font-family: var(--hoh-font-heading) !important;
  font-weight: 700 !important;
}

.fieldlabels {
  color: var(--hoh-text-body) !important;
  font-family: var(--hoh-font-body);
}

.steps {
  color: var(--hoh-text-muted) !important;
  font-family: var(--hoh-font-body);
}

.form-card h5 {
  background: var(--hoh-charcoal-soft) !important;
  color: #fff !important;
  font-family: var(--hoh-font-heading) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-left: 4px solid var(--hoh-gold);
}

.form-card {
  font-family: var(--hoh-font-body);
  color: var(--hoh-text-body);
}

.a_blue {
  color: var(--hoh-charcoal-soft) !important;
  font-weight: 600;
}

.a_blue:hover {
  color: var(--hoh-gold-hover) !important;
}

canvas {
  border: 1px solid var(--hoh-gold-soft) !important;
  border-radius: 4px;
  background: #ffffff !important;
}

.wrap-contact100 .badge-success {
  margin: 16px 24px 0 !important;
  background: #f0ebe3 !important;
  color: var(--hoh-charcoal-soft) !important;
  border: 1px solid var(--hoh-gold-soft);
  font-weight: 600;
  font-family: var(--hoh-font-body);
}

.wrap-contact100 .badge-danger {
  margin: 16px 24px 0 !important;
  font-family: var(--hoh-font-body);
}

.select2-container--default .select2-selection--single {
  background-color: var(--hoh-input-bg) !important;
  border: 1px solid var(--hoh-gold-soft) !important;
  border-radius: 4px !important;
  font-family: var(--hoh-font-body) !important;
  color: var(--hoh-text-body) !important;
}

.eval_class table tr td input[type="text"] {
  background-color: var(--hoh-input-bg) !important;
  border: 1px solid var(--hoh-gold-soft) !important;
  border-radius: 4px !important;
  color: var(--hoh-text-body) !important;
}

.eval_class table tr td {
  color: var(--hoh-text-body) !important;
  font-family: var(--hoh-font-body);
}

/* Smaller "Add another ..." action buttons */
.contact100-form .btn_add_prof.btn-primary,
.contact100-form .btn_add_educ.btn-primary,
.contact100-form .btn_add_ref.btn-primary {
  font-size: 14px !important;
  padding: 6px 11px !important;
  min-width: auto !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase;
}

@media (max-width: 576px) {
  .contact100-form {
    padding: 20px 16px 40px 16px !important;
    margin-left: 0 !important;
  }

  #progressbar:not(.jo-form-progressbar) li strong {
    font-size: 10px !important;
    white-space: nowrap;
  }
}

/*
 * jo_form.php only — five long step titles: grid + wrapping (global #progressbar li strong uses nowrap elsewhere).
 */
.wrap-contact100 #progressbar.jo-form-progressbar {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 10px !important;
  row-gap: 12px !important;
  margin-bottom: 36px !important;
  overflow: visible !important;
  list-style: none !important;
  padding-left: 0 !important;
}

.wrap-contact100 #progressbar.jo-form-progressbar li {
  float: none !important;
  width: auto !important;
  max-width: 100%;
  min-width: 0 !important;
  text-align: center;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
}

.wrap-contact100 #progressbar.jo-form-progressbar li:after {
  display: none !important;
}

.wrap-contact100 #progressbar.jo-form-progressbar li:before {
  margin-bottom: 8px !important;
}

.wrap-contact100 #progressbar.jo-form-progressbar li strong {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  white-space: normal !important;
  display: block !important;
  font-size: clamp(8px, 1.75vw, 11px) !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  hyphens: auto;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-transform: uppercase;
  padding: 0 2px !important;
  margin: 0 auto !important;
}

@media (min-width: 1200px) {
  .wrap-contact100 #progressbar.jo-form-progressbar li strong {
    font-size: 11px !important;
    letter-spacing: 0.02em !important;
  }
}

@media (max-width: 480px) {
  .wrap-contact100 #progressbar.jo-form-progressbar {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: 4px !important;
  }

  .wrap-contact100 #progressbar.jo-form-progressbar li strong {
    font-size: 8px !important;
  }
}
