/* Argo Work with us — scoped to .argo-careers; safe to delete to revert */

.argo-careers {
  --argo-plum: #29121c;
  --argo-accent: #c0704b;
  --argo-peach: #ecaf92;
  --argo-blush: #fffaf8;
  --argo-cream: #fff6f1;
  --argo-pink: rgba(255, 105, 180, 0.12);
  --argo-border: rgba(41, 18, 28, 0.08);
  --argo-muted: rgba(41, 18, 28, 0.78);

  color: var(--argo-plum);
  background: var(--argo-blush);
  overflow-x: clip;
}

/* ---------- Shared CTA ---------- */

.argo-careers__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  min-width: 150px;
  height: 51px;
  padding: 0 2.15rem;
  border-radius: 999px;
  background: var(--argo-plum);
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 200ms ease,
    transform 200ms ease,
    box-shadow 200ms ease;
}

.argo-careers__cta:hover {
  background: #3d1c2a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(61, 28, 42, 0.16);
}

.argo-careers__cta:focus-visible {
  outline: 3px solid rgba(236, 175, 146, 0.75);
  outline-offset: 3px;
}

/* ---------- Hero ---------- */

.argo-careers-hero {
  background: linear-gradient(180deg, var(--argo-blush) 0%, var(--argo-cream) 100%);
  padding: clamp(3.25rem, 6vw, 5.5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}

.argo-careers-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

.argo-careers-hero__layout--text-only {
  grid-template-columns: minmax(0, 1fr);
}

.argo-careers-hero__layout--text-only .argo-careers-hero__copy {
  max-width: 42rem;
}

.argo-careers-hero__copy {
  max-width: 40rem;
}

.argo-careers-hero__eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--argo-peach);
}

.argo-careers-hero__title {
  margin: 0 0 1rem;
  max-width: 11.5em;
  font-size: clamp(2.25rem, 4.2vw, 3.55rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--argo-plum);
}

.argo-careers-hero__body {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--argo-muted);
}

.argo-careers-hero__body p {
  margin: 0 0 1rem;
}

.argo-careers-hero__body p:last-child {
  margin-bottom: 0;
}

.argo-careers-hero__visual {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.argo-careers-hero__visual::before {
  content: "";
  position: absolute;
  inset: 14% 6% 16% 18%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 55% 48%,
    rgba(236, 175, 146, 0.28) 0%,
    rgba(255, 105, 180, 0.08) 42%,
    rgba(255, 246, 241, 0) 72%
  );
  pointer-events: none;
  z-index: 0;
}

.argo-careers-hero__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  width: fit-content;
  max-width: min(100%, 460px);
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.argo-careers-hero__img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 480px;
  margin-inline: 0 0;
  object-fit: contain;
}

/* ---------- Open positions ---------- */

.argo-careers-positions {
  background: var(--argo-blush);
  padding: clamp(1.75rem, 3.5vw, 3rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.argo-careers-positions__header {
  max-width: 36rem;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
}

.argo-careers-positions__title {
  margin: 0;
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--argo-plum);
}

.argo-careers-positions__list {
  display: flex;
  flex-direction: column;
  max-width: 42rem;
}

.argo-careers-role {
  padding: clamp(1.75rem, 3.5vw, 2.35rem) 0;
  border-top: 1px solid var(--argo-border);
}

.argo-careers-role:last-child {
  border-bottom: 1px solid var(--argo-border);
}

.argo-careers-role__title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--argo-plum);
}

.argo-careers-role__meta {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: var(--argo-accent);
}

.argo-careers-role__description {
  font-size: clamp(0.98rem, 1.4vw, 1.0625rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--argo-muted);
}

.argo-careers-role__description p {
  margin: 0 0 0.85rem;
}

.argo-careers-role__description p:last-child {
  margin-bottom: 0;
}

.argo-careers-role__requirements {
  margin-top: 1.15rem;
  font-size: clamp(0.98rem, 1.4vw, 1.0625rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--argo-muted);
}

.argo-careers-role__requirements-label {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(41, 18, 28, 0.55);
}

.argo-careers-role__requirements p {
  margin: 0 0 0.85rem;
}

.argo-careers-role__requirements p:last-child {
  margin-bottom: 0;
}

.argo-careers-role .argo-careers__cta {
  margin-top: 1.35rem;
}

/* ---------- Open application (below vacancies) ---------- */

.argo-careers-open {
  position: relative;
  background: linear-gradient(180deg, var(--argo-cream) 0%, #f3e6df 100%);
  padding: clamp(3.25rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}

.argo-careers-open::before {
  content: "";
  position: absolute;
  inset: auto -15% -35% 45%;
  height: 65%;
  background: radial-gradient(ellipse at center, var(--argo-pink) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.argo-careers-open .container {
  position: relative;
  z-index: 1;
}

.argo-careers-open__inner {
  max-width: 32rem;
}

.argo-careers-open__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.65rem, 2.6vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--argo-plum);
}

.argo-careers-open__text {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--argo-muted);
}

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

.argo-careers-empty {
  position: relative;
  background: linear-gradient(180deg, var(--argo-cream) 0%, #f3e6df 100%);
  padding: clamp(2rem, 3.75vw, 3.5rem) 0 clamp(4rem, 8vw, 6.5rem);
  overflow: hidden;
}

.argo-careers-empty::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% 35%;
  height: 70%;
  background: radial-gradient(ellipse at center, var(--argo-pink) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.argo-careers-empty .container {
  position: relative;
  z-index: 1;
}

.argo-careers-empty__inner {
  max-width: 34rem;
}

.argo-careers-empty__title {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--argo-plum);
}

.argo-careers-empty__text {
  margin: 0;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--argo-muted);
}

/* ---------- Tablet / mobile ---------- */

@media (max-width: 899px) {
  .argo-careers-hero__layout {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 4vw, 2.25rem);
  }

  .argo-careers-hero__copy {
    max-width: 36rem;
  }

  .argo-careers-hero__visual {
    justify-content: center;
  }

  .argo-careers-hero__visual::before {
    inset: 12% 18% 14% 18%;
  }

  .argo-careers-hero__figure {
    max-width: min(100%, 300px);
    margin-inline: auto;
  }

  .argo-careers-hero__img {
    max-height: min(320px, 38vh);
  }

  .argo-careers-positions__list,
  .argo-careers-open__inner,
  .argo-careers-empty__inner {
    max-width: 36rem;
  }

  .argo-careers__cta {
    width: auto;
    min-width: 155px;
  }
}

@media (max-width: 599px) {
  .argo-careers-hero {
    padding: clamp(2.75rem, 8vw, 3.5rem) 0 clamp(2rem, 6vw, 2.75rem);
  }

  .argo-careers-role {
    padding: 1.5rem 0;
  }

  .argo-careers-hero__figure {
    max-width: min(100%, 280px);
  }

  .argo-careers-hero__img {
    max-height: min(280px, 34vh);
  }
}
