/* ==========================================================================
   Careers Page
   Depends on: mam-shared.css (tokens, header, footer)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Reset parent-theme link decoration for the entire careers page
   -------------------------------------------------------------------------- */

.mam-careers-page a,
.mam-careers-page a:hover,
.mam-careers-page a:visited {
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Hero — dark
   -------------------------------------------------------------------------- */

.mam-careers-hero {
  background: #0a0a0a;
  padding: clamp(48px, 6vw, 72px) var(--mam-gutter) clamp(56px, 7vw, 80px);
}

.mam-careers-hero__inner {
  max-width: var(--mam-max-w);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mam-careers-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mam-accent);
}

.mam-careers-breadcrumb a {
  color: var(--mam-accent);
}

.mam-careers-breadcrumb span {
  color: #555;
}

.mam-careers-hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: normal;
  font-weight: 900;
  font-size: clamp(48px, 7vw, 88px);
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: #ffffff;
  margin: 0;
}

.mam-careers-hero__subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(14px, 1.4vw, 16px);
  font-style: italic;
  color: #9a9086;
  margin: 0;
  max-width: 480px;
}

/* --------------------------------------------------------------------------
   Dividers
   -------------------------------------------------------------------------- */

.mam-careers-divider {
  height: 1px;
  background: var(--mam-border);
}

/* --------------------------------------------------------------------------
   Body — no positions
   -------------------------------------------------------------------------- */

.mam-careers-body {
  background: #ffffff;
  padding: clamp(72px, 9vw, 120px) var(--mam-gutter);
}

.mam-careers-body__inner {
  max-width: var(--mam-max-w);
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Kicker + gold rule (shared pattern)
   -------------------------------------------------------------------------- */

.mam-careers-kicker {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mam-accent);
  margin: 0 0 16px;
}

.mam-careers-gold-rule {
  width: 48px;
  height: 2px;
  background: var(--mam-accent);
  margin: 20px 0 28px;
}

/* --------------------------------------------------------------------------
   Empty state
   -------------------------------------------------------------------------- */

.mam-careers-empty {
  max-width: 640px;
}

.mam-careers-empty__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: normal;
  font-weight: 900;
  font-size: clamp(36px, 4.5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--mam-text);
  margin: 0;
}

.mam-careers-empty__desc {
  font-family: 'Inter', sans-serif;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.7;
  color: var(--mam-text-body, #3a3733);
  margin: 0 0 16px;
}

.mam-careers-empty__nudge {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--mam-text-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Newsletter CTA — dark (same pattern as contact page)
   -------------------------------------------------------------------------- */

.mam-careers-newsletter {
  background: #0a0a0a;
  padding: clamp(48px, 6vw, 72px) var(--mam-gutter);
}

.mam-careers-newsletter__inner {
  max-width: 640px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.mam-careers-newsletter__kicker {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mam-accent);
  margin: 0;
}

.mam-careers-newsletter__headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: normal;
  font-weight: 900;
  font-size: clamp(24px, 3vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.07;
  color: #ffffff;
  margin: 0;
}

.mam-careers-newsletter__sub {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-style: italic;
  color: #9a9086;
  margin: 0;
}

.mam-careers-newsletter__form {
  width: 100%;
  max-width: 480px;
}

.mam-careers-newsletter .mam-newsletter__native-form {
  display: flex;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.mam-careers-newsletter .mam-newsletter__native-form input[type="email"] {
  flex: 1;
  height: 48px;
  padding: 0 16px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  outline: none;
}

.mam-careers-newsletter .mam-newsletter__native-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.35);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.mam-careers-newsletter .mam-newsletter__native-form button[type="submit"] {
  height: 48px;
  padding: 0 24px;
  background: var(--mam-accent);
  color: #0a0a0a;
  border: none;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
  flex-shrink: 0;
}

.mam-careers-newsletter .mam-newsletter__native-form button[type="submit"]:hover {
  background: #b8894f;
}

/* Hide newsletter honeypot */
.mam-careers-newsletter .mam-hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media ( max-width: 600px ) {
  .mam-careers-empty {
    max-width: 100%;
  }
}
