/* ─── Page shell ─────────────────────────────────────────────────────────── */
.amplify-careers-main {
  background: #f0efe9;
}

.amplify-careers-main #content,
.amplify-careers-main #primary,
.amplify-careers-main .site-main {
  margin: 0;
  padding: 0;
}

.amplify-careers-shell {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.amplify-careers-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(7rem, 10vw, 10rem) 0 clamp(4rem, 6vw, 6rem);
}

/* Decorative blobs */
.amplify-careers-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.amplify-careers-blob {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.045);
}

.amplify-careers-blob--1 {
  width: 320px;
  height: 320px;
  top: -80px;
  left: -60px;
}

.amplify-careers-blob--2 {
  width: 200px;
  height: 200px;
  top: 60px;
  left: 260px;
}

.amplify-careers-blob--3 {
  width: 160px;
  height: 160px;
  bottom: -20px;
  left: 360px;
}

.amplify-careers-blob--4 {
  width: 240px;
  height: 240px;
  top: -40px;
  right: -50px;
}

.amplify-careers-blob--5 {
  width: 150px;
  height: 150px;
  bottom: 20px;
  right: 60px;
}

.amplify-careers-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

/* Overline */
.amplify-careers-overline {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Buzz Sans", sans-serif;
  font-size: 1rem;
  font-weight: 1000;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0d1b3e;
  margin-bottom: 1rem;
}

.amplify-careers-overline-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #f5b942;
  flex-shrink: 0;
}

.amplify-careers-hero-title {
  margin: 0 0 1rem;
  color: #0d1b3e;
  font-family: "Buzz Sans", sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.amplify-careers-hero-body {
  margin: 0;
  color: #3a3a3a;
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.7;
  max-width: 44ch;
}

.amplify-careers-hero-image {
  border-radius: 1.35rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #d8d6cf;
}

.amplify-careers-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── Open Roles ─────────────────────────────────────────────────────────── */
.amplify-careers-roles {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}

.amplify-careers-roles-header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.amplify-careers-roles-title {
  margin: 0 0 0.75rem;
  color: #0d1b3e;
  font-family: "Buzz Sans", sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 750;
  line-height: 1.1;
}

.amplify-careers-roles-sub {
  margin: 0;
  color: #5a5a5a;
  font-size: clamp(1rem, 1.15vw, 1.05rem);
  max-width: 52ch;
  margin-inline: auto;
}

/* Job rows */
.amplify-careers-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.amplify-careers-row {
  background: #fff;
  border-radius: 0.9rem;
  padding: clamp(1.1rem, 2vw, 1.5rem) clamp(1.25rem, 2.5vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.18s ease;
}

.amplify-careers-row:hover {
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.09);
}

.amplify-careers-row-left {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.amplify-careers-row-title {
  margin: 0;
  color: #0d1b3e;
  font-family: "Buzz Sans", sans-serif;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 700;
  line-height: 1.2;
}

.amplify-careers-row-badge {
  display: inline-flex;
  align-items: center;
  background: #e8e5dc;
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  font-family: "Buzz Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #3a3a3a;
  width: fit-content;
}

.amplify-careers-row-meta {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: #6b6b6b;
}

/* Apply button */
.amplify-careers-row-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  border: 1.5px solid #0d1b3e;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-family: "Buzz Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #0d1b3e;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease;
}

.amplify-careers-row-cta svg {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
}

.amplify-careers-row-cta:hover {
  background: #0d1b3e;
  color: #fff;
}

.amplify-careers-empty {
  text-align: center;
  color: #6b6b6b;
  padding: 2rem 0;
}

/* ─── Can't find a job? ──────────────────────────────────────────────────── */
.amplify-careers-cta {
  background: #e5e3dc;
  padding: clamp(4rem, 7vw, 6rem) 0;
}

.amplify-careers-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.amplify-careers-cta-title {
  margin: 0 0 0.85rem;
  color: #0d1b3e;
  font-family: "Buzz Sans", sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 760;
  line-height: 1.1;
}

.amplify-careers-cta-body {
  margin: 0 0 1.5rem;
  color: #3a3a3a;
  font-size: clamp(1rem, 1.1vw, 1rem);
  line-height: 1.65;
  max-width: 46ch;
}

.amplify-careers-cta-btn {
  display: inline-flex;
  align-items: center;
  background: #f5b942;
  border-radius: 999px;
  padding: 0.7rem 1.5rem;
  font-family: "Buzz Sans", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0d1b3e;
  text-decoration: none;
  transition: background 0.16s ease, transform 0.16s ease;
}

.amplify-careers-cta-btn:hover {
  background: #e8a92e;
  transform: translateY(-1px);
}

.amplify-careers-cta-image {
  border-radius: 1.35rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #d8d6cf;
}

.amplify-careers-cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .amplify-careers-hero-inner,
  .amplify-careers-cta-inner {
    grid-template-columns: 1fr;
  }

  .amplify-careers-hero-image,
  .amplify-careers-cta-image {
    aspect-ratio: 16 / 9;
  }

  .amplify-careers-cta-image {
    order: -1;
  }
}

@media (max-width: 640px) {
  .amplify-careers-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .amplify-careers-row-cta {
    align-self: flex-start;
  }
}