/**
 * Careers funnel — content and forms only.
 * Shared header/footer chrome comes from sparklean-site-header.css + sparklean-footer.css.
 */

.careers-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #0e0e0e;
  color: #f9f7f3;
  overflow-x: hidden;
}

.careers-landing.careers-stage {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: calc(var(--header-total, 220px) + 20px) 0 64px;
}

.careers-landing .careers-hero {
  max-width: 38rem;
  margin: 0 auto 36px;
  text-align: center;
}

.careers-landing .careers-lede {
  max-width: 34rem;
  margin: 0 auto;
}

.careers-jobs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  margin: 0 0 56px;
}

.careers-job {
  display: flex;
  flex-direction: column;
  background: #141414;
  border: 1px solid rgba(184, 164, 122, 0.2);
  padding: 32px 32px 28px;
}

.careers-job h2 {
  font-family: var(--serif, "Playfair Display", Georgia, serif);
  font-size: 1.55rem;
  font-weight: 400;
  margin-bottom: 18px;
  color: #f9f7f3;
  line-height: 1.2;
}

.careers-job .careers-dl {
  margin-bottom: 18px;
}

.careers-req-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b8a47a;
  font-weight: 600;
  margin: 0 0 10px;
}

.careers-job .careers-duties {
  flex: 1;
  margin: 0;
}

.careers-soon {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(184, 164, 122, 0.18);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b8a47a;
}

.careers-means {
  margin: 0 0 48px;
}

.careers-landing .careers-means h2,
.careers-landing .careers-faq h2 {
  font-family: var(--serif, "Playfair Display", Georgia, serif);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 400;
  color: #f9f7f3;
  margin: 0 0 22px;
  text-align: center;
}

.careers-landing .careers-means h2 em,
.careers-landing .careers-faq h2 em {
  font-style: italic;
  color: #b8a47a;
}

.careers-landing .careers-means .careers-kicker,
.careers-landing .careers-faq .careers-kicker {
  text-align: center;
}

.careers-means-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.careers-mean {
  background: #141414;
  border: 1px solid rgba(184, 164, 122, 0.18);
  padding: 28px 24px 30px;
}

.careers-mean h3 {
  font-family: var(--serif, "Playfair Display", Georgia, serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: #f9f7f3;
  margin: 0 0 12px;
}

.careers-mean p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(249, 247, 243, 0.72);
  margin: 0;
}

.careers-landing .careers-faq {
  max-width: none;
  margin: 0 auto;
}

.careers-landing .careers-faq .faq-item,
.careers-landing details.faq-item {
  background: #141414;
  border: 1px solid rgba(184, 164, 122, 0.2);
  border-bottom: 1px solid rgba(184, 164, 122, 0.2);
  margin: 0 0 12px;
  padding: 0 22px;
}

.careers-landing .careers-faq .faq-q {
  padding: 20px 0;
}

.careers-landing .careers-faq .faq-ans {
  padding: 0 0 20px;
}

.careers-landing .careers-eeo {
  max-width: 40rem;
  margin: 8px auto 0;
  text-align: center;
}

.careers-empty[hidden] {
  display: none !important;
}

.careers-empty,
.careers-openings-list {
  max-width: 720px;
  margin: 0 auto 28px;
  font-family: var(--serif, Georgia, serif);
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(249, 247, 243, 0.82);
}

.careers-openings-list {
  list-style: none;
  padding: 0;
}

.careers-openings-list a {
  color: #d4bf96;
}

.careers-page footer {
  margin-top: auto;
  background: #0a0a0a;
  border-top: 1px solid rgba(184, 164, 122, 0.12);
  padding: 0;
}

.careers-page .footer-top {
  padding: 72px 80px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid rgba(184, 164, 122, 0.08);
}

.careers-page .footer-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 52px;
}

.careers-page .footer-divider {
  width: 48px;
  height: 1px;
  background: var(--gold, #b8a47a);
  margin: 20px auto 18px;
  opacity: 0.5;
}

.careers-page .footer-cities {
  font-size: 0.55rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(184, 164, 122, 0.45);
  text-align: center;
  line-height: 2.4;
}

.careers-page .footer-bottom {
  padding: 18px 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.careers-page .fcol-links {
  list-style: none;
}

.careers-page .fcol-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.careers-page .fcol-t {
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold, #b8a47a);
  margin-bottom: 20px;
  text-align: center;
}

.careers-stage {
  width: 100%;
  box-sizing: border-box;
  padding: calc(var(--header-total, 220px) + 52px) 64px 128px;
}

.careers-hero {
  max-width: 40rem;
  margin-bottom: 36px;
}

.careers-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #b8a47a;
  margin-bottom: 18px;
  font-weight: 500;
}

.careers-stage h1 {
  font-family: var(--serif, "Playfair Display", Georgia, serif);
  font-size: clamp(2.35rem, 4.4vw, 3.55rem);
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 18px;
  color: #f9f7f3;
}

.careers-stage h1 em {
  font-style: italic;
  color: #b8a47a;
}

.careers-lede {
  font-family: var(--serif, "Playfair Display", Georgia, serif);
  font-size: 1.18rem;
  line-height: 1.65;
  color: rgba(249, 247, 243, 0.82);
  margin-bottom: 0;
}

.careers-eeo {
  max-width: 42rem;
  font-size: 0.92rem;
  color: rgba(249, 247, 243, 0.62);
  line-height: 1.65;
  margin-top: 28px;
}

.careers-page details,
.careers-page summary {
  background: transparent;
  color: inherit;
  border: 0;
  list-style: none;
}

.careers-page summary::-webkit-details-marker,
.careers-page summary::marker {
  display: none;
}

.careers-faq {
  max-width: 42rem;
  margin: 12px 0 0;
}

.careers-faq h2 {
  font-family: var(--serif, "Playfair Display", Georgia, serif);
  font-size: 1.55rem;
  font-weight: 400;
  color: #f9f7f3;
  margin: 0 0 8px;
}

.careers-faq .faq-item,
.careers-page details.faq-item {
  border-bottom: 1px solid rgba(184, 164, 122, 0.14);
  background: transparent;
}

.careers-faq .faq-q,
.careers-faq summary,
.careers-page .faq-q {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #f9f7f3;
  font-family: var(--serif, "Playfair Display", Georgia, serif);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.4;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  text-align: left;
  cursor: pointer;
}

.careers-faq .faq-q:hover,
.careers-faq .faq-q:focus-visible,
.careers-faq summary:hover {
  color: #d4bf96;
  outline: none;
}

.careers-faq .faq-plus,
.careers-faq .faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(184, 164, 122, 0.45);
  background: transparent;
  color: #b8a47a;
  font-family: var(--sans, Montserrat, sans-serif);
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.careers-faq .faq-item.open .faq-plus,
.careers-faq .faq-item.open .faq-icon,
.careers-faq details[open] .faq-plus {
  background: #b8a47a;
  color: #0e0e0e;
  transform: rotate(45deg);
}

.careers-faq .faq-ans,
.careers-faq .faq-a {
  display: none;
  padding: 0 0 22px;
  color: rgba(249, 247, 243, 0.72);
  font-size: 0.95rem;
  line-height: 1.65;
  background: transparent;
}

.careers-faq .faq-item.open .faq-ans,
.careers-faq .faq-item.open .faq-a,
.careers-faq details[open] .faq-ans {
  display: block;
}

.careers-duties {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.careers-duties li {
  position: relative;
  padding-left: 16px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(249, 247, 243, 0.72);
}

.careers-duties li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 1px;
  background: #b8a47a;
}

.careers-details,
.careers-progress,
.careers-form-card,
.careers-result,
.offer-accept,
#form-i9,
.docs-mvr {
  max-width: 1400px;
}

.careers-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  max-width: 42rem;
  margin: 0 0 36px;
}

.careers-card {
  background: #141414;
  border: 1px solid rgba(184, 164, 122, 0.2);
  padding: 36px 40px 40px;
}

.careers-card h2,
.offer-letter h2 {
  font-family: var(--serif, "Playfair Display", Georgia, serif);
  font-size: 1.55rem;
  font-weight: 400;
  margin-bottom: 8px;
  color: #f9f7f3;
}

.careers-card-note {
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(249, 247, 243, 0.7);
  margin-bottom: 22px;
}

.careers-dl {
  display: grid;
  gap: 14px 28px;
  margin: 0;
}

.careers-dl div {
  display: grid;
  gap: 4px;
}

.careers-dl dt {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b8a47a;
  font-weight: 600;
}

.careers-dl dd {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.45;
  color: #f9f7f3;
}

.careers-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.careers-progress li {
  position: relative;
  padding: 12px 10px 14px;
  border-bottom: 2px solid rgba(249, 247, 243, 0.12);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(249, 247, 243, 0.55);
}

.careers-progress li.is-complete {
  color: rgba(249, 247, 243, 0.72);
  border-bottom-color: rgba(184, 164, 122, 0.45);
}

.careers-progress li.is-current {
  color: #d4bf96;
  border-bottom-color: #b8a47a;
}

.careers-form-card {
  width: 100%;
}

.careers-gate-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px 36px;
  align-items: start;
  margin-bottom: 8px;
}

.careers-package {
  background: #101010;
  border: 1px solid rgba(184, 164, 122, 0.22);
  padding: 24px 26px 18px;
}

.careers-step {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b8a47a;
  font-weight: 600;
  margin-bottom: 10px;
}

.careers-card label,
.careers-fieldset legend {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
  color: rgba(249, 247, 243, 0.92);
}

.careers-card input,
.careers-card select,
.careers-card textarea {
  width: 100%;
  font-family: var(--sans, Montserrat, system-ui, sans-serif);
  font-size: 1rem;
  font-weight: 400;
  color: #f9f7f3;
  background: #101010;
  border: 1px solid rgba(249, 247, 243, 0.18);
  padding: 13px 14px;
  border-radius: 0;
  appearance: none;
}

.careers-card select {
  background-image: linear-gradient(45deg, transparent 50%, #b8a47a 50%),
    linear-gradient(135deg, #b8a47a 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.careers-card textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.5;
}

.careers-card label.careers-check,
.careers-card label.careers-radio {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 1rem;
  line-height: 1.45;
  color: #f9f7f3;
  margin-bottom: 12px;
  padding: 14px 16px;
  cursor: pointer;
  border: 1px solid rgba(249, 247, 243, 0.14);
  background: #101010;
}

.careers-card label.careers-check:has(input:checked),
.careers-card label.careers-radio:has(input:checked) {
  border-color: #b8a47a;
  background: rgba(184, 164, 122, 0.12);
}

.careers-card input[type="checkbox"],
.careers-card input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  margin-top: 2px;
  padding: 0;
  border: 1.5px solid rgba(249, 247, 243, 0.45);
  background: #0a0a0a;
  flex-shrink: 0;
  display: grid;
  place-content: center;
}

.careers-card input[type="checkbox"]:checked,
.careers-card input[type="radio"]:checked {
  border-color: #b8a47a;
  background: #b8a47a;
}

.careers-card input[type="checkbox"]:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230e0e0e' stroke-width='2.2' d='M3.2 8.4l3.1 3.1 6.5-6.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

.careers-card input[type="radio"] {
  border-radius: 50%;
}

.careers-card input[type="radio"]:checked::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #0e0e0e;
}

.careers-fieldset {
  border: 0;
  margin: 0 0 8px;
  padding: 0;
}

.careers-fieldset legend {
  margin-bottom: 10px;
}

.careers-choice-row {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.careers-choice-row label.careers-radio {
  flex: 1;
  margin: 0;
  border: 1px solid rgba(184, 164, 122, 0.22);
  padding: 14px 16px;
  background: #101010;
}

.careers-choice-row label.careers-radio:has(input:checked) {
  border-color: #b8a47a;
  background: rgba(184, 164, 122, 0.08);
}

.careers-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.careers-page .btn-gold,
.careers-stage .btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0e0e0e;
  background: #b8a47a;
  padding: 16px 34px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.careers-page .btn-gold:hover,
.careers-stage .btn-gold:hover {
  background: #d4bf96;
}

.careers-page .btn-quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(249, 247, 243, 0.78);
  background: transparent;
  border: 1px solid rgba(249, 247, 243, 0.22);
  padding: 15px 28px;
  text-decoration: none;
  cursor: pointer;
}

.careers-result {
  max-width: 640px;
}

.careers-result p {
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(249, 247, 243, 0.82);
  margin: 12px 0 24px;
}

.careers-hidden {
  display: none !important;
}

.careers-error {
  color: #f0c7c2;
  background: rgba(179, 58, 58, 0.14);
  border: 1px solid rgba(179, 58, 58, 0.28);
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.offer-letter {
  background: #f6f1e8;
  color: #1a1814;
  max-width: 880px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  padding: 0;
}
.offer-letter-head {
  background: #0e0e0e;
  padding: 8px 28px;
  display: flex;
  align-items: center;
  min-height: 0;
}
.offer-letter-mark {
  height: 44px;
  width: auto;
  display: block;
}
.offer-letter-body {
  padding: 40px 48px 48px;
}
.offer-letter-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a7348;
  font-weight: 600;
  margin-bottom: 10px;
}
.offer-letter h2 {
  font-family: var(--serif, "Playfair Display", Georgia, serif);
  font-size: 2.1rem;
  font-weight: 400;
  color: #1a1814;
  margin-bottom: 8px;
}

.offer-letter-date {
  font-size: 0.92rem;
  color: rgba(26, 24, 20, 0.62);
  margin-bottom: 28px;
}

.offer-letter p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #2a2722;
  margin-bottom: 16px;
}

.offer-letter .offer-terms {
  display: grid;
  gap: 14px;
  margin: 28px 0;
  padding: 22px 0;
  border-top: 1px solid rgba(26, 24, 20, 0.12);
  border-bottom: 1px solid rgba(26, 24, 20, 0.12);
}

.offer-letter .offer-terms div {
  display: grid;
  grid-template-columns: 11.5rem minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.offer-letter .offer-terms dt {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a7348;
  font-weight: 600;
  padding-top: 4px;
}

.offer-letter .offer-terms dd {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.5;
  color: #1a1814;
}

.offer-sign {
  margin-top: 32px;
  padding-top: 8px;
}

.offer-sign p {
  margin-bottom: 4px;
}

.offer-sign-name {
  font-family: var(--serif, "Playfair Display", Georgia, serif);
  font-size: 1.2rem;
  color: #1a1814;
  margin-top: 18px !important;
}

.offer-accept {
  margin-top: 24px;
}

.offer-accept label {
  color: #f9f7f3;
}

.docs-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}

.docs-mode {
  display: block;
  border: 1px solid rgba(184, 164, 122, 0.22);
  background: #101010;
  padding: 22px 22px 20px;
  cursor: pointer;
  color: inherit;
  text-align: left;
  width: 100%;
  font: inherit;
}

.docs-mode.is-selected {
  border-color: #b8a47a;
  background: rgba(184, 164, 122, 0.08);
}

.docs-mode strong {
  display: block;
  font-family: var(--serif, "Playfair Display", Georgia, serif);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 8px;
  color: #f9f7f3;
  white-space: nowrap;
}

.docs-mode p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(249, 247, 243, 0.72);
}

.docs-bc-label {
  white-space: nowrap;
}

.docs-mvr {
  margin-top: 22px;
}

.docs-mvr h2 {
  margin-bottom: 10px;
}

.careers-ok {
  color: #d4bf96;
  font-size: 1rem;
  line-height: 1.55;
  margin-top: 16px;
}

@media (max-width: 1024px) {
  .careers-details,
  .docs-split,
  .offer-letter .offer-terms div {
    grid-template-columns: 1fr;
  }

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

  .careers-stage {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: calc(var(--header-total, 180px) + 36px);
  }

  .careers-landing.careers-stage {
    width: min(1120px, calc(100% - 40px));
    padding: calc(var(--header-total, 180px) + 16px) 0 56px;
  }

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

  .careers-page .footer-top {
    padding: 56px 32px 48px;
  }

  .careers-page .footer-bottom {
    padding: 18px 32px;
  }

  .offer-letter-body {
    padding: 32px 22px 36px;
  }
  .offer-letter-head {
    padding: 8px 18px;
  }
}

@media (max-width: 860px) {
  .careers-jobs,
  .careers-means-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .careers-page .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 16px 20px;
  }

  .careers-card {
    padding: 24px 18px 28px;
  }

  .careers-job {
    padding: 24px 20px 22px;
  }

  .careers-choice-row {
    flex-direction: column;
  }

  .careers-progress li {
    font-size: 0.62rem;
  }
}
