/* ── Jobs Page (AP) ───────────────────────────────── */
.jobs {
  position: relative;
  background-color: rgb(237, 236, 233);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(6rem, 10vw, 10rem) 1.5rem clamp(4rem, 6vw, 6rem);
  overflow: hidden;
}

/* ── Background ──────────────────────────────────── */
.jobs__background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.jobs__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.jobs__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 65% 85% at center, rgba(20, 17, 12, 0.58) 0%, rgba(20, 17, 12, 0.32) 45%, rgba(20, 17, 12, 0.12) 75%, transparent 95%),
    linear-gradient(180deg, rgb(237, 236, 233) 0%, rgba(237, 236, 233, 0) 8%, transparent 20%, transparent 80%, rgba(230, 229, 225, 0) 92%, rgb(230, 229, 225) 100%);
}

/* ── Content ─────────────────────────────────────── */
.jobs__inner {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.jobs__logo {
  width: clamp(80px, 15vw, 120px);
  height: auto;
  margin-bottom: 2.5rem;
}

.jobs__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: 0.04em;
  color: rgb(255, 252, 246);
  text-shadow:
    0 0 2px rgba(0, 0, 0, 1),
    0 1px 4px rgba(0, 0, 0, 0.95),
    0 2px 12px rgba(0, 0, 0, 0.9),
    0 0 32px rgba(0, 0, 0, 0.7),
    0 0 64px rgba(0, 0, 0, 0.4);
  margin-bottom: 0;
}

.jobs__rule {
  width: 60px;
  height: 1px;
  margin: 2.5rem auto;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgb(192, 168, 104) 50%,
    transparent 100%
  );
  opacity: 0.5;
}

.jobs__text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.85;
  color: rgb(255, 252, 246);
  text-shadow:
    0 0 2px rgba(0, 0, 0, 1),
    0 1px 4px rgba(0, 0, 0, 0.95),
    0 2px 10px rgba(0, 0, 0, 0.85),
    0 0 28px rgba(0, 0, 0, 0.65),
    0 0 52px rgba(0, 0, 0, 0.35);
  margin-bottom: 0.6rem;
}

.jobs__intro {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.85;
  color: rgb(255, 252, 246);
  text-shadow:
    0 0 2px rgba(0, 0, 0, 1),
    0 1px 4px rgba(0, 0, 0, 0.95),
    0 2px 10px rgba(0, 0, 0, 0.85),
    0 0 28px rgba(0, 0, 0, 0.65),
    0 0 52px rgba(0, 0, 0, 0.35);
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.jobs__qualities {
  margin-bottom: 0;
}

.jobs__qualities p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 2.2;
  color: rgb(192, 168, 104);
  text-shadow:
    0 0 2px rgba(0, 0, 0, 0.9),
    0 1px 4px rgba(0, 0, 0, 0.8),
    0 2px 10px rgba(0, 0, 0, 0.6);
}

.jobs__closing {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.85;
  color: rgb(255, 252, 246);
  text-shadow:
    0 0 2px rgba(0, 0, 0, 1),
    0 1px 4px rgba(0, 0, 0, 0.95),
    0 2px 10px rgba(0, 0, 0, 0.85),
    0 0 28px rgba(0, 0, 0, 0.65),
    0 0 52px rgba(0, 0, 0, 0.35);
  margin-bottom: 0.6rem;
}

.jobs__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.jobs__link {
  display: inline-block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  letter-spacing: 0.12em;
  color: rgb(192, 168, 104);
  text-decoration: none;
  position: relative;
  text-shadow:
    0 0 2px rgba(0, 0, 0, 0.9),
    0 1px 4px rgba(0, 0, 0, 0.7);
  transition: color 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.jobs__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: rgb(192, 168, 104);
  transition: width 0.6s cubic-bezier(0.25, 0.1, 0.25, 1), left 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.jobs__link:hover {
  color: rgb(212, 188, 124);
}

.jobs__link:hover::after {
  width: 100%;
  left: 0;
}

/* ── Mobile ──────────────────────────────────────── */
@media (max-width: 768px) {
  .jobs__rule {
    width: 50px;
  }
}
